diff options
Diffstat (limited to 'kpilot/lib/pilotTodoEntry.cc')
-rw-r--r-- | kpilot/lib/pilotTodoEntry.cc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kpilot/lib/pilotTodoEntry.cc b/kpilot/lib/pilotTodoEntry.cc index f4c5596fb..1ed9dfa76 100644 --- a/kpilot/lib/pilotTodoEntry.cc +++ b/kpilot/lib/pilotTodoEntry.cc @@ -31,8 +31,8 @@ #include <stdlib.h> -#include <qdatetime.h> -#include <qnamespace.h> +#include <tqdatetime.h> +#include <tqnamespace.h> #include <kglobal.h> #include <kdebug.h> @@ -115,12 +115,12 @@ PilotTodoEntry & PilotTodoEntry::operator = (const PilotTodoEntry & e) return *this; } -QString PilotTodoEntry::getTextRepresentation(Qt::TextFormat richText) +TQString PilotTodoEntry::getTextRepresentation(Qt::TextFormat richText) { - QString text, tmp; - QString par = (richText==Qt::RichText) ?CSL1("<p>"): QString(); - QString ps = (richText==Qt::RichText) ?CSL1("</p>"):CSL1("\n"); - QString br = (richText==Qt::RichText) ?CSL1("<br/>"):CSL1("\n"); + TQString text, tmp; + TQString par = (richText==Qt::RichText) ?CSL1("<p>"): TQString(); + TQString ps = (richText==Qt::RichText) ?CSL1("</p>"):CSL1("\n"); + TQString br = (richText==Qt::RichText) ?CSL1("<br/>"):CSL1("\n"); // title + name text += par; @@ -137,8 +137,8 @@ QString PilotTodoEntry::getTextRepresentation(Qt::TextFormat richText) if (!getIndefinite()) { - QDate dt(readTm(getDueDate()).date()); - QString dueDate(dt.toString(Qt::LocalDate)); + TQDate dt(readTm(getDueDate()).date()); + TQString dueDate(dt.toString(Qt::LocalDate)); text+=par; text+=i18n("Due date: %1").arg(dueDate); text+=ps; @@ -177,7 +177,7 @@ PilotRecord *PilotTodoEntry::pack() const return new PilotRecord( b, this ); } -void PilotTodoEntry::setDescription(const QString &desc) +void PilotTodoEntry::setDescription(const TQString &desc) { if (desc.length() < fDescriptionSize) { @@ -218,12 +218,12 @@ void PilotTodoEntry::setDescriptionP(const char *desc, int len) } } -QString PilotTodoEntry::getDescription() const +TQString PilotTodoEntry::getDescription() const { return Pilot::fromPilot(getDescriptionP()); } -void PilotTodoEntry::setNote(const QString ¬e) +void PilotTodoEntry::setNote(const TQString ¬e) { if (note.length() < fNoteSize) { @@ -263,7 +263,7 @@ void PilotTodoEntry::setNoteP(const char *note, int len) } } -QString PilotTodoEntry::getNote() const +TQString PilotTodoEntry::getNote() const { return Pilot::fromPilot(getNoteP()); } |