summaryrefslogtreecommitdiffstats
path: root/cervisia/updateview_items.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-08 11:05:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-08 18:04:37 +0900
commit5d52b8ff2df2d127a119ffd217a0db49c4d78567 (patch)
treecc21f36537bfb38f376cf97cb77688ea19882047 /cervisia/updateview_items.cpp
parent779722e260dd4d10bec7328ddc0a4e3e42a08e7d (diff)
downloadtdesdk-5d52b8ff2df2d127a119ffd217a0db49c4d78567.tar.gz
tdesdk-5d52b8ff2df2d127a119ffd217a0db49c4d78567.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 1a7a57976491e8df569198d8e903bf9e57e233f0)
Diffstat (limited to 'cervisia/updateview_items.cpp')
-rw-r--r--cervisia/updateview_items.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cervisia/updateview_items.cpp b/cervisia/updateview_items.cpp
index 1b0e788e..37fc36f5 100644
--- a/cervisia/updateview_items.cpp
+++ b/cervisia/updateview_items.cpp
@@ -359,7 +359,7 @@ void UpdateDirItem::syncWithEntries()
// const TQDateTime date(TQDateTime::fromString(timestamp)); // UTC Time
const TQDateTime date(parseDateTime(timestamp)); // UTC Time
TQDateTime fileDateUTC;
- fileDateUTC.setTime_t(entry.m_dateTime.toTime_t(), Qt::UTC);
+ fileDateUTC.setTime_t(entry.m_dateTime.toTime_t(), TQt::UTC);
if (date != fileDateUTC)
entry.m_status = Cervisia::LocallyModified;
}
@@ -566,7 +566,7 @@ void UpdateFileItem::setRevTag(const TQString& rev, const TQString& tag)
// tag date.
const unsigned int dateTimeInSeconds(tagDateTimeUtc.toTime_t());
TQDateTime dateTime;
- dateTime.setTime_t(dateTimeInSeconds, Qt::UTC);
+ dateTime.setTime_t(dateTimeInSeconds, TQt::UTC);
const int localUtcOffset(dateTime.secsTo(tagDateTimeUtc));
const TQDateTime tagDateTimeLocal(tagDateTimeUtc.addSecs(localUtcOffset));