diff options
author | Michele Calgaro <[email protected]> | 2023-11-05 11:55:07 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-05 11:55:07 +0900 |
commit | 26c96fa9fb6cc8983ae6e94f5b2d606c70f09297 (patch) | |
tree | a1981877cf68ea98102efbbe3785d7ca3c5935e2 /lib | |
parent | 8ea0f2c1820ec71f4adbaed6cea2c9fd9b110bc3 (diff) | |
download | kpilot-26c96fa9fb6cc8983ae6e94f5b2d606c70f09297.tar.gz kpilot-26c96fa9fb6cc8983ae6e94f5b2d606c70f09297.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pilotDateEntry.cpp | 8 | ||||
-rw-r--r-- | lib/pilotTodoEntry.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/pilotDateEntry.cpp b/lib/pilotDateEntry.cpp index 58da804..18897d3 100644 --- a/lib/pilotDateEntry.cpp +++ b/lib/pilotDateEntry.cpp @@ -174,7 +174,7 @@ TQString PilotDateEntry::getTextRepresentation(TQt::TextFormat richText) text += ps; TQDateTime dt(readTm(getEventStart())); - TQString startDate(dt.toString(Qt::LocalDate)); + TQString startDate(dt.toString(TQt::LocalDate)); text+=par; text+=i18n("Start date: %1").arg(startDate); text+=ps; @@ -188,7 +188,7 @@ TQString PilotDateEntry::getTextRepresentation(TQt::TextFormat richText) else { dt=readTm(getEventEnd()); - TQString endDate(dt.toString(Qt::LocalDate)); + TQString endDate(dt.toString(TQt::LocalDate)); text+=par; text+=i18n("End date: %1").arg(endDate); text+=ps; @@ -237,7 +237,7 @@ TQString PilotDateEntry::getTextRepresentation(TQt::TextFormat richText) else { dt = readTm(getRepeatEnd()).date(); - text+=i18n("Until %1").arg(dt.toString(Qt::LocalDate)); + text+=i18n("Until %1").arg(dt.toString(TQt::LocalDate)); } text+=br; @@ -264,7 +264,7 @@ TQString PilotDateEntry::getTextRepresentation(TQt::TextFormat richText) for (int i = 0; i < getExceptionCount(); i++) { TQDate exdt=readTm(getExceptions()[i]).date(); - text+=exdt.toString(Qt::LocalDate); + text+=exdt.toString(TQt::LocalDate); text+=br; } text+=ps; diff --git a/lib/pilotTodoEntry.cpp b/lib/pilotTodoEntry.cpp index 9d52ed8..9e396af 100644 --- a/lib/pilotTodoEntry.cpp +++ b/lib/pilotTodoEntry.cpp @@ -138,7 +138,7 @@ TQString PilotTodoEntry::getTextRepresentation(TQt::TextFormat richText) if (!getIndefinite()) { TQDate dt(readTm(getDueDate()).date()); - TQString dueDate(dt.toString(Qt::LocalDate)); + TQString dueDate(dt.toString(TQt::LocalDate)); text+=par; text+=i18n("Due date: %1").arg(dueDate); text+=ps; |