summaryrefslogtreecommitdiffstats
path: root/conduits/sysinfoconduit/sysinfo-conduit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'conduits/sysinfoconduit/sysinfo-conduit.cpp')
-rw-r--r--conduits/sysinfoconduit/sysinfo-conduit.cpp12
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);
}