diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 11:55:07 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 11:55:07 +0900 |
commit | 26c96fa9fb6cc8983ae6e94f5b2d606c70f09297 (patch) | |
tree | a1981877cf68ea98102efbbe3785d7ca3c5935e2 /conduits | |
parent | 8ea0f2c1820ec71f4adbaed6cea2c9fd9b110bc3 (diff) | |
download | kpilot-26c96fa9fb6cc8983ae6e94f5b2d606c70f09297.tar.gz kpilot-26c96fa9fb6cc8983ae6e94f5b2d606c70f09297.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'conduits')
-rw-r--r-- | conduits/sysinfoconduit/sysinfo-conduit.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/conduits/sysinfoconduit/sysinfo-conduit.cpp b/conduits/sysinfoconduit/sysinfo-conduit.cpp index 08c0f14..68511b7 100644 --- a/conduits/sysinfoconduit/sysinfo-conduit.cpp +++ b/conduits/sysinfoconduit/sysinfo-conduit.cpp @@ -379,10 +379,10 @@ void SysInfoConduit::syncInfo() time_t lastsync = user.getLastSyncDate(); TQDateTime qlastsync; qlastsync.setTime_t(lastsync); - fValues[CSL1("lastsync")] = qlastsync.toString(Qt::LocalDate); + fValues[CSL1("lastsync")] = qlastsync.toString(TQt::LocalDate); lastsync = user.getLastSuccessfulSyncDate(); qlastsync.setTime_t(lastsync); - fValues[CSL1("lastsuccsync")] = qlastsync.toString(Qt::LocalDate); + fValues[CSL1("lastsuccsync")] = qlastsync.toString(TQt::LocalDate); fValues[CSL1("lastsyncpc")] = TQString::number(user.getLastSyncPC()); keepParts.append(CSL1("sync")); } else removeParts.append(CSL1("sync")); @@ -470,7 +470,7 @@ void SysInfoConduit::writeFile() { FUNCTIONSETUP; - fValues[CSL1("date")] = TQDateTime::currentDateTime().toString(Qt::LocalDate); + fValues[CSL1("date")] = TQDateTime::currentDateTime().toString(TQt::LocalDate); TQString output; // Open the template file @@ -563,11 +563,11 @@ void SysInfoConduit::writeFile() newpatt.replace(CSL1("%6"), TQString::number(dbi.version)); TQDateTime tm; tm.setTime_t(dbi.createDate); - newpatt.replace(CSL1("%7"), tm.toString(Qt::LocalDate)); + newpatt.replace(CSL1("%7"), tm.toString(TQt::LocalDate)); tm.setTime_t(dbi.modifyDate); - newpatt.replace(CSL1("%8"), tm.toString(Qt::LocalDate)); + newpatt.replace(CSL1("%8"), tm.toString(TQt::LocalDate)); tm.setTime_t(dbi.backupDate); - newpatt.replace(CSL1("%9"), tm.toString(Qt::LocalDate)); + newpatt.replace(CSL1("%9"), tm.toString(TQt::LocalDate)); dbstring.append(newpatt); } |