Rename KDE_VERSION to TDE_VERSION

pull/2/head
Timothy Pearson 13 years ago
parent 0c0abaf94f
commit e50a1bb5d5

@ -1451,7 +1451,7 @@ KPilot Developer's notes for March 12th, 2003
2003-3-4 Adriaan de Groot 2003-3-4 Adriaan de Groot
* Welcome back to David Mott, author of several patches already and * Welcome back to David Mott, author of several patches already and
ready to dive into the code again for GJJs. Happy distraction, dude. ready to dive into the code again for GJJs. Happy distraction, dude.
* [vcal-conduitbase.cc] Checked against wrong KDE_VERSION. [BRANCH] * [vcal-conduitbase.cc] Checked against wrong TDE_VERSION. [BRANCH]
* Various merging from BRANCH to HEAD. Layout fixups here and there. * Various merging from BRANCH to HEAD. Layout fixups here and there.
* Test mode in the vcal conduit by default uses local databases from * Test mode in the vcal conduit by default uses local databases from
/tmp. /tmp.
@ -1775,7 +1775,7 @@ KPilot Developer's notes for January 17th, 2003
2003-1-10 Adriaan de Groot 2003-1-10 Adriaan de Groot
* [kpilot/interactivesync.cc] Some strlcpy problems when compiling HEAD * [kpilot/interactivesync.cc] Some strlcpy problems when compiling HEAD
(or BRANCH) KPilot on a KDE 3.0 system. Since we don't maintain branches, (or BRANCH) KPilot on a KDE 3.0 system. Since we don't maintain branches,
backwards compatibility in HEAD is essential. Added #if KDE_VERSION < 310. backwards compatibility in HEAD is essential. Added #if TDE_VERSION < 310.
* [lib/kpilotlink.cc] Might have found the source of the KPilot-hangs-with-USB * [lib/kpilotlink.cc] Might have found the source of the KPilot-hangs-with-USB
problems. There's a note in the QSocketNotifier docs saying not to disable problems. There's a note in the QSocketNotifier docs saying not to disable
read-notifiers. I did anyway, and it never caused problems before. read-notifiers. I did anyway, and it never caused problems before.

@ -413,8 +413,8 @@ void SysInfoConduit::pcVersionInfo()
.tqarg(TQString::tqfromLatin1(name.machine)); .tqarg(TQString::tqfromLatin1(name.machine));
fValues[CSL1("hostname")] = CSL1("%2").tqarg(TQString::tqfromLatin1(name.nodename)); fValues[CSL1("hostname")] = CSL1("%2").tqarg(TQString::tqfromLatin1(name.nodename));
} }
#ifdef KDE_VERSION_STRING #ifdef TDE_VERSION_STRING
fValues[CSL1("kde")] = TQString::tqfromLatin1(KDE_VERSION_STRING); fValues[CSL1("kde")] = TQString::tqfromLatin1(TDE_VERSION_STRING);
#endif #endif
#ifdef TQT_VERSION_STR #ifdef TQT_VERSION_STR
fValues[CSL1("qt")] = TQString::tqfromLatin1(TQT_VERSION_STR); fValues[CSL1("qt")] = TQString::tqfromLatin1(TQT_VERSION_STR);

@ -183,7 +183,7 @@ void AddressWidget::hideComponent()
<< endl; << endl;
#endif #endif
#if KDE_VERSION<220 #if TDE_VERSION<220
s = i18n("There are still %1 address editing windows open.") s = i18n("There are still %1 address editing windows open.")
.tqarg(TQString::number(fPendingAddresses)); .tqarg(TQString::number(fPendingAddresses));
#else #else

@ -6,7 +6,7 @@
** init() function in place of a constructor, and a destroy() function in ** init() function in place of a constructor, and a destroy() function in
** place of a destructor. ** place of a destructor.
*****************************************************************************/ *****************************************************************************/
#ifndef KDE_VERSION #ifndef TDE_VERSION
#include <kdeversion.h> #include <kdeversion.h>
#endif #endif

@ -80,8 +80,8 @@ LogFile::LogFile() : DCOPObject("LogIface"), TQObject(), fOutfile(0L), fSyncing(
.tqarg(TQString()) .tqarg(TQString())
#endif #endif
)<<endl; )<<endl;
#ifdef KDE_VERSION_STRING #ifdef TDE_VERSION_STRING
fLogStream<<(CSL1("Version: KDE %1" ).tqarg(TQString::tqfromLatin1(KDE_VERSION_STRING)) )<<endl; fLogStream<<(CSL1("Version: KDE %1" ).tqarg(TQString::tqfromLatin1(TDE_VERSION_STRING)) )<<endl;
#endif #endif
#ifdef TQT_VERSION_STR #ifdef TQT_VERSION_STR
fLogStream<<(CSL1("Version: TQt %1" ).tqarg(TQString::tqfromLatin1(TQT_VERSION_STR)) )<<endl; fLogStream<<(CSL1("Version: TQt %1" ).tqarg(TQString::tqfromLatin1(TQT_VERSION_STR)) )<<endl;

@ -106,9 +106,9 @@ LogWidget::LogWidget(TQWidget * parent) :
.tqarg(TQString()) .tqarg(TQString())
#endif #endif
); );
#ifdef KDE_VERSION_STRING #ifdef TDE_VERSION_STRING
initialText.append(CSL1("<b>Version:</b> KDE %1" TE_EOL) initialText.append(CSL1("<b>Version:</b> KDE %1" TE_EOL)
.tqarg(TQString::tqfromLatin1(KDE_VERSION_STRING))); .tqarg(TQString::tqfromLatin1(TDE_VERSION_STRING)));
#endif #endif
#ifdef TQT_VERSION_STR #ifdef TQT_VERSION_STR
initialText.append(CSL1("<b>Version:</b> TQt %1" TE_EOL) initialText.append(CSL1("<b>Version:</b> TQt %1" TE_EOL)

@ -1210,7 +1210,7 @@ void PilotDaemon::slotRunKPilot()
if (KApplication::startServiceByDesktopName(CSL1("kpilot"), if (KApplication::startServiceByDesktopName(CSL1("kpilot"),
TQString(), &kpilotError, &kpilotDCOP, &kpilotPID TQString(), &kpilotError, &kpilotDCOP, &kpilotPID
#if (KDE_VERSION >= 220) #if (TDE_VERSION >= 220)
// Startup notification added in 2.2 // Startup notification added in 2.2
, "" , ""
#endif #endif

@ -170,7 +170,7 @@ void TodoWidget::showComponent()
<< endl; << endl;
#endif #endif
#if KDE_VERSION<220 #if TDE_VERSION<220
s = i18n("There are still %1 to-do editing windows open.") s = i18n("There are still %1 to-do editing windows open.")
.tqarg(TQString::number(fPendingTodos)); .tqarg(TQString::number(fPendingTodos));
#else #else

Loading…
Cancel
Save