diff options
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; |