diff options
Diffstat (limited to 'lib/pilotTodoEntry.cc')
-rw-r--r-- | lib/pilotTodoEntry.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/pilotTodoEntry.cc b/lib/pilotTodoEntry.cc index 1ed9dfa..8aa17ec 100644 --- a/lib/pilotTodoEntry.cc +++ b/lib/pilotTodoEntry.cc @@ -115,17 +115,17 @@ PilotTodoEntry & PilotTodoEntry::operator = (const PilotTodoEntry & e) return *this; } -TQString PilotTodoEntry::getTextRepresentation(Qt::TextFormat richText) +TQString PilotTodoEntry::getTextRepresentation(TQt::TextFormat richText) { 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"); + TQString par = (richText==TQt::RichText) ?CSL1("<p>"): TQString(); + TQString ps = (richText==TQt::RichText) ?CSL1("</p>"):CSL1("\n"); + TQString br = (richText==TQt::RichText) ?CSL1("<br/>"):CSL1("\n"); // title + name text += par; - tmp= (richText==Qt::RichText) ?CSL1("<b><big>%1</big></b>"):CSL1("%1"); - text += tmp.arg(rtExpand(getDescription(), richText)); + tmp= (richText==TQt::RichText) ?CSL1("<b><big>%1</big></b>"):CSL1("%1"); + text += tmp.tqarg(rtExpand(getDescription(), richText)); text += ps; text += par; @@ -140,7 +140,7 @@ TQString PilotTodoEntry::getTextRepresentation(Qt::TextFormat richText) TQDate dt(readTm(getDueDate()).date()); TQString dueDate(dt.toString(Qt::LocalDate)); text+=par; - text+=i18n("Due date: %1").arg(dueDate); + text+=i18n("Due date: %1").tqarg(dueDate); text+=ps; } @@ -148,14 +148,14 @@ TQString PilotTodoEntry::getTextRepresentation(Qt::TextFormat richText) text+=ps; text+=par; - text+=i18n("Priority: %1").arg(getPriority()); + text+=i18n("Priority: %1").tqarg(getPriority()); text+=ps; if (!getNote().isEmpty()) { - text += (richText==Qt::RichText) ?CSL1("<hr/>"):CSL1("-------------------------\n"); + text += (richText==TQt::RichText) ?CSL1("<hr/>"):CSL1("-------------------------\n"); text+=par; - text+= (richText==Qt::RichText) ?i18n("<b><em>Note:</em></b><br>"):i18n("Note:\n"); + text+= (richText==TQt::RichText) ?i18n("<b><em>Note:</em></b><br>"):i18n("Note:\n"); text+=rtExpand(getNote(), richText); text+=ps; } |