diff options
author | Michele Calgaro <[email protected]> | 2023-11-05 11:55:07 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-05 20:59:03 +0900 |
commit | 255ec90652e66d27443b5506c4c08e93d3cf0b5a (patch) | |
tree | 4692841a43093287f1eb691d63282afcab546e21 /conduits | |
parent | 1a31fdd3d3ee375e5e104f2e6577939216bed7c6 (diff) | |
download | kpilot-255ec90652e66d27443b5506c4c08e93d3cf0b5a.tar.gz kpilot-255ec90652e66d27443b5506c4c08e93d3cf0b5a.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 26c96fa9fb6cc8983ae6e94f5b2d606c70f09297)
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); } |