summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneybriefschedule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/kmymoneybriefschedule.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneybriefschedule.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kmymoney2/widgets/kmymoneybriefschedule.cpp b/kmymoney2/widgets/kmymoneybriefschedule.cpp
index 5cb6348..5fa5917 100644
--- a/kmymoney2/widgets/kmymoneybriefschedule.cpp
+++ b/kmymoney2/widgets/kmymoneybriefschedule.cpp
@@ -94,8 +94,8 @@ void KMyMoneyBriefSchedule::loadSchedule()
MyMoneySchedule sched = m_scheduleList[m_index];
m_indexLabel->setText(i18n("%1 of %2")
- .tqarg(TQString::number(m_index+1))
- .tqarg(TQString::number(m_scheduleList.count())));
+ .arg(TQString::number(m_index+1))
+ .arg(TQString::number(m_scheduleList.count())));
m_name->setText(sched.name());
m_type->setText(KMyMoneyUtils::scheduleTypeToString(sched.type()));
m_account->setText(sched.account().name());
@@ -107,15 +107,15 @@ void KMyMoneyBriefSchedule::loadSchedule()
{
int transactions = sched.paymentDates(m_date, sched.endDate()).count()-1;
text = i18n("Payment on %1 for %2 with %3 transactions remaining occuring %4.")
- .tqarg(KGlobal::locale()->formatDate(m_date, true))
- .tqarg(amount.formatMoney(sched.account().fraction()))
- .tqarg(TQString::number(transactions))
- .tqarg(i18n(sched.occurenceToString()));
+ .arg(KGlobal::locale()->formatDate(m_date, true))
+ .arg(amount.formatMoney(sched.account().fraction()))
+ .arg(TQString::number(transactions))
+ .arg(i18n(sched.occurenceToString()));
} else {
text = i18n("Payment on %1 for %2 occuring %4.")
- .tqarg(KGlobal::locale()->formatDate(m_date, true))
- .tqarg(amount.formatMoney(sched.account().fraction()))
- .tqarg(i18n(sched.occurenceToString()));
+ .arg(KGlobal::locale()->formatDate(m_date, true))
+ .arg(amount.formatMoney(sched.account().fraction()))
+ .arg(i18n(sched.occurenceToString()));
}
if (m_date < TQDate::currentDate())
@@ -134,8 +134,8 @@ void KMyMoneyBriefSchedule::loadSchedule()
text += "<br><font color=red>";
text += i18n("%1 days overdue (%2 occurences).")
- .tqarg(TQString::number(days))
- .tqarg(TQString::number(transactions));
+ .arg(TQString::number(days))
+ .arg(TQString::number(transactions));
text += "</color>";
}
}