summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneyscheduled.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/mymoney/mymoneyscheduled.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneyscheduled.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmymoney2/mymoney/mymoneyscheduled.cpp b/kmymoney2/mymoney/mymoneyscheduled.cpp
index a2eb6dd..594bc69 100644
--- a/kmymoney2/mymoney/mymoneyscheduled.cpp
+++ b/kmymoney2/mymoney/mymoneyscheduled.cpp
@@ -680,7 +680,7 @@ bool MyMoneySchedule::isOverdue() const
if (isFinished())
return false;
- if(adjustedNextDueDate() >= TQDate::currentDate())
+ if(adjustedNextDueDate() >= TQDate::tqcurrentDate())
return false;
return true;
@@ -843,14 +843,14 @@ TQString MyMoneySchedule::occurenceToString(int mult, occurenceE type)
switch (mult)
{
case 1: occurenceString = I18N_NOOP("Once"); break;
- default: occurenceString = I18N_NOOP(static_cast<TQString>("%1 times").arg(mult));
+ default: occurenceString = I18N_NOOP(static_cast<TQString>("%1 times").tqarg(mult));
}
else if(type == MyMoneySchedule::OCCUR_DAILY)
switch (mult)
{
case 1: occurenceString = I18N_NOOP("Daily"); break;
case 30: occurenceString = I18N_NOOP("Every thirty days"); break;
- default: occurenceString = I18N_NOOP(static_cast<TQString>("Every %1 days").arg(mult));
+ default: occurenceString = I18N_NOOP(static_cast<TQString>("Every %1 days").tqarg(mult));
}
else if(type == MyMoneySchedule::OCCUR_WEEKLY)
switch (mult)
@@ -860,13 +860,13 @@ TQString MyMoneySchedule::occurenceToString(int mult, occurenceE type)
case 3: occurenceString = I18N_NOOP("Every three weeks"); break;
case 4: occurenceString = I18N_NOOP("Every four weeks"); break;
case 8: occurenceString = I18N_NOOP("Every eight weeks"); break;
- default: occurenceString = I18N_NOOP(static_cast<TQString>("Every %1 weeks").arg(mult));
+ default: occurenceString = I18N_NOOP(static_cast<TQString>("Every %1 weeks").tqarg(mult));
}
else if(type == MyMoneySchedule::OCCUR_EVERYHALFMONTH)
switch (mult)
{
case 1: occurenceString = I18N_NOOP("Every half month"); break;
- default: occurenceString = I18N_NOOP(static_cast<TQString>("Every %1 half months").arg(mult));
+ default: occurenceString = I18N_NOOP(static_cast<TQString>("Every %1 half months").tqarg(mult));
}
else if(type == MyMoneySchedule::OCCUR_MONTHLY)
switch (mult)
@@ -876,14 +876,14 @@ TQString MyMoneySchedule::occurenceToString(int mult, occurenceE type)
case 3: occurenceString = I18N_NOOP("Every three months"); break;
case 4: occurenceString = I18N_NOOP("Every four months"); break;
case 6: occurenceString = I18N_NOOP("Twice yearly"); break;
- default: occurenceString = I18N_NOOP(static_cast<TQString>("Every %1 months").arg(mult));
+ default: occurenceString = I18N_NOOP(static_cast<TQString>("Every %1 months").tqarg(mult));
}
else if(type == MyMoneySchedule::OCCUR_YEARLY)
switch (mult)
{
case 1: occurenceString = I18N_NOOP("Yearly"); break;
case 2: occurenceString = I18N_NOOP("Every other year"); break;
- default: occurenceString = I18N_NOOP(static_cast<TQString>("Every %1 years").arg(mult));
+ default: occurenceString = I18N_NOOP(static_cast<TQString>("Every %1 years").tqarg(mult));
}
return occurenceString;
}
@@ -1008,7 +1008,7 @@ void MyMoneySchedule::setVariation(int var)
#if 0
deletePair("kmm-variation");
if(var != 0)
- setValue("kmm-variation", TQString("%1").arg(var));
+ setValue("kmm-variation", TQString("%1").tqarg(var));
#endif
}