diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:24 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:24 -0600 |
commit | 631a19d8c5c5f69dc0d941c1997806fb422c79a6 (patch) | |
tree | 48a1a5d40ca2aa276b04f95398d9fba3fd9d7d8a /kpilot/logFile.cc | |
parent | 87cd441352f3f2f1b2279bb47ebbb54ced81194f (diff) | |
download | kpilot-631a19d8c5c5f69dc0d941c1997806fb422c79a6.tar.gz kpilot-631a19d8c5c5f69dc0d941c1997806fb422c79a6.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kpilot/logFile.cc')
-rw-r--r-- | kpilot/logFile.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kpilot/logFile.cc b/kpilot/logFile.cc index b6fab0c..ad2f0f0 100644 --- a/kpilot/logFile.cc +++ b/kpilot/logFile.cc @@ -31,7 +31,7 @@ #include "options.h" #include <tqfile.h> -#include <tqtextstream.h> +#include <textstream.h> #include <tqdatetime.h> #include <pi-version.h> @@ -70,21 +70,21 @@ LogFile::LogFile() : DCOPObject("LogIface"), TQObject(), fOutfile(0L), fSyncing( fSyncing = true; fLogStream.setDevice(TQT_TQIODEVICE(fOutfile)); - fLogStream<<(CSL1("KPilot HotSync log, %1").tqarg(TQDateTime::tqcurrentDateTime().toString()))<<endl<<endl<<endl; - fLogStream<<(CSL1("Version: KPilot %1").tqarg(TQString::tqfromLatin1(KPILOT_VERSION)))<<endl; + fLogStream<<(CSL1("KPilot HotSync log, %1").arg(TQDateTime::currentDateTime().toString()))<<endl<<endl<<endl; + fLogStream<<(CSL1("Version: KPilot %1").arg(TQString::fromLatin1(KPILOT_VERSION)))<<endl; fLogStream<<(CSL1("Version: pilot-link %1.%2.%3%4" ) - .tqarg(PILOT_LINK_VERSION).tqarg(PILOT_LINK_MAJOR).tqarg(PILOT_LINK_MINOR) + .arg(PILOT_LINK_VERSION).arg(PILOT_LINK_MAJOR).arg(PILOT_LINK_MINOR) #ifdef PILOT_LINK_PATCH - .tqarg(TQString::tqfromLatin1(PILOT_LINK_PATCH)) + .arg(TQString::fromLatin1(PILOT_LINK_PATCH)) #else - .tqarg(TQString()) + .arg(TQString()) #endif )<<endl; #ifdef TDE_VERSION_STRING - fLogStream<<(CSL1("Version: KDE %1" ).tqarg(TQString::tqfromLatin1(TDE_VERSION_STRING)) )<<endl; + fLogStream<<(CSL1("Version: KDE %1" ).arg(TQString::fromLatin1(TDE_VERSION_STRING)) )<<endl; #endif #ifdef TQT_VERSION_STR - fLogStream<<(CSL1("Version: TQt %1" ).tqarg(TQString::tqfromLatin1(TQT_VERSION_STR)) )<<endl; + fLogStream<<(CSL1("Version: TQt %1" ).arg(TQString::fromLatin1(TQT_VERSION_STR)) )<<endl; #endif fLogStream<<endl<<endl; |