diff options
Diffstat (limited to 'lib/pilotDateEntry.cc')
-rw-r--r-- | lib/pilotDateEntry.cc | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/lib/pilotDateEntry.cc b/lib/pilotDateEntry.cc index b11c057..4a5fd3d 100644 --- a/lib/pilotDateEntry.cc +++ b/lib/pilotDateEntry.cc @@ -170,13 +170,13 @@ TQString PilotDateEntry::getTextRepresentation(TQt::TextFormat richText) // title + name text += par; tmp=richText?CSL1("<b><big>%1</big></b>"):CSL1("%1"); - text += tmp.arg(rtExpand(getDescription(), richText)); + text += tmp.tqarg(rtExpand(getDescription(), richText)); text += ps; TQDateTime dt(readTm(getEventStart())); TQString startDate(dt.toString(Qt::LocalDate)); text+=par; - text+=i18n("Start date: %1").arg(startDate); + text+=i18n("Start date: %1").tqarg(startDate); text+=ps; if (isEvent()) @@ -190,7 +190,7 @@ TQString PilotDateEntry::getTextRepresentation(TQt::TextFormat richText) dt=readTm(getEventEnd()); TQString endDate(dt.toString(Qt::LocalDate)); text+=par; - text+=i18n("End date: %1").arg(endDate); + text+=i18n("End date: %1").tqarg(endDate); text+=ps; } @@ -201,10 +201,10 @@ TQString PilotDateEntry::getTextRepresentation(TQt::TextFormat richText) arg(getAdvance()); switch (getAdvanceUnits()) { - case advMinutes: tmp=tmp.arg(i18n("minutes")); break; - case advHours: tmp=tmp.arg(i18n("hours")); break; - case advDays: tmp=tmp.arg(i18n("days")); break; - default: tmp=tmp.arg(TQString()); break;; + case advMinutes: tmp=tmp.tqarg(i18n("minutes")); break; + case advHours: tmp=tmp.tqarg(i18n("hours")); break; + case advDays: tmp=tmp.tqarg(i18n("days")); break; + default: tmp=tmp.tqarg(TQString()); break;; } text+=tmp; text+=ps; @@ -215,16 +215,16 @@ TQString PilotDateEntry::getTextRepresentation(TQt::TextFormat richText) text+=par; tmp=i18n("Recurrence: every %1 %2"); int freq = getRepeatFrequency(); - tmp=tmp.arg(freq); + tmp=tmp.tqarg(freq); switch(getRepeatType()) { - case repeatDaily: tmp=tmp.arg(i18n("day(s)")); break; - case repeatWeekly: tmp=tmp.arg(i18n("week(s)")); break; + case repeatDaily: tmp=tmp.tqarg(i18n("day(s)")); break; + case repeatWeekly: tmp=tmp.tqarg(i18n("week(s)")); break; case repeatMonthlyByDay: - case repeatMonthlyByDate: tmp=tmp.arg(i18n("month(s)")); break; - case repeatYearly: tmp=tmp.arg(i18n("year(s)")); break; - default: tmp=tmp.arg(TQString()); break; + case repeatMonthlyByDate: tmp=tmp.tqarg(i18n("month(s)")); break; + case repeatYearly: tmp=tmp.tqarg(i18n("year(s)")); break; + default: tmp=tmp.tqarg(TQString()); break; } text+=tmp; text+=br; @@ -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").tqarg(dt.toString(Qt::LocalDate)); } text+=br; @@ -245,7 +245,7 @@ TQString PilotDateEntry::getTextRepresentation(TQt::TextFormat richText) if (getRepeatType()==repeatMonthlyByDate) text+=i18n("Repeating on the n-th day of the month")+br; // TODO: show the dayArray when repeating weekly /*TQBitArray dayArray(7); - if (getRepeatType()==repeatWeekly) text+=i18n("Repeat day flags: %1").arg(getRepeatDays + if (getRepeatType()==repeatWeekly) text+=i18n("Repeat day flags: %1").tqarg(getRepeatDays const int *days = dateEntry->getRepeatDays(); // Rotate the days of the week, since day numbers on the Pilot and // in vCal / Events are different. |