diff options
Diffstat (limited to 'src/gvcore/timeutils.cpp')
-rw-r--r-- | src/gvcore/timeutils.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gvcore/timeutils.cpp b/src/gvcore/timeutils.cpp index 3893aa5..bed1157 100644 --- a/src/gvcore/timeutils.cpp +++ b/src/gvcore/timeutils.cpp @@ -33,8 +33,8 @@ namespace TimeUtils { time_t getTime(const KFileItem* item) { const KFileMetaInfo& info = item->metaInfo(); if (info.isValid()) { - QVariant value = info.value("Date/time"); - QDateTime dt = value.toDateTime(); + TQVariant value = info.value("Date/time"); + TQDateTime dt = value.toDateTime(); if (dt.isValid()) { return dt.toTime_t(); } @@ -42,8 +42,8 @@ time_t getTime(const KFileItem* item) { return item->time(KIO::UDS_MODIFICATION_TIME); } -QString formatTime(time_t time) { - QDateTime dt; +TQString formatTime(time_t time) { + TQDateTime dt; dt.setTime_t(time); return KGlobal::locale()->formatDateTime(dt); } |