diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 00:37:32 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 00:37:32 +0000 |
commit | f6f9c296c3f9d39a8c3d0ee64a542a47f450be28 (patch) | |
tree | d38fce8091ce66977004a5cb115768c7810aee30 /kpilot/logFile.cc | |
parent | e340db64991a06761aa6395ffe760b53e4c1dfbc (diff) | |
download | kpilot-f6f9c296c3f9d39a8c3d0ee64a542a47f450be28.tar.gz kpilot-f6f9c296c3f9d39a8c3d0ee64a542a47f450be28.zip |
TQt4 port kpilot
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpilot@1238903 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpilot/logFile.cc')
-rw-r--r-- | kpilot/logFile.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kpilot/logFile.cc b/kpilot/logFile.cc index e4c7ed8..e047657 100644 --- a/kpilot/logFile.cc +++ b/kpilot/logFile.cc @@ -68,23 +68,23 @@ LogFile::LogFile() : DCOPObject("LogIface"), TQObject(), fOutfile(0L), fSyncing( } fSyncing = true; - fLogStream.setDevice(fOutfile); + fLogStream.setDevice(TQT_TQIODEVICE(fOutfile)); - fLogStream<<(CSL1("KPilot HotSync log, %1").arg(TQDateTime::tqcurrentDateTime().toString()))<<endl<<endl<<endl; - fLogStream<<(CSL1("Version: KPilot %1").arg(TQString::tqfromLatin1(KPILOT_VERSION)))<<endl; + 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("Version: pilot-link %1.%2.%3%4" ) - .arg(PILOT_LINK_VERSION).arg(PILOT_LINK_MAJOR).arg(PILOT_LINK_MINOR) + .tqarg(PILOT_LINK_VERSION).tqarg(PILOT_LINK_MAJOR).tqarg(PILOT_LINK_MINOR) #ifdef PILOT_LINK_PATCH - .arg(TQString::tqfromLatin1(PILOT_LINK_PATCH)) + .tqarg(TQString::tqfromLatin1(PILOT_LINK_PATCH)) #else - .arg(TQString()) + .tqarg(TQString()) #endif )<<endl; #ifdef KDE_VERSION_STRING - fLogStream<<(CSL1("Version: KDE %1" ).arg(TQString::tqfromLatin1(KDE_VERSION_STRING)) )<<endl; + fLogStream<<(CSL1("Version: KDE %1" ).tqarg(TQString::tqfromLatin1(KDE_VERSION_STRING)) )<<endl; #endif -#ifdef QT_VERSION_STR - fLogStream<<(CSL1("Version: Qt %1" ).arg(TQString::tqfromLatin1(QT_VERSION_STR)) )<<endl; +#ifdef TQT_VERSION_STR + fLogStream<<(CSL1("Version: TQt %1" ).tqarg(TQString::tqfromLatin1(TQT_VERSION_STR)) )<<endl; #endif fLogStream<<endl<<endl; |