diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:37:08 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:37:08 -0600 |
commit | c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6 (patch) | |
tree | 9a07481bb1245dac332e7db600c556e1db79ecf3 /kmymoney2/widgets/kmymoneybriefschedule.cpp | |
parent | 28723595822268551d3e050c3a83bf6ca5e17dd5 (diff) | |
download | kmymoney-c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6.tar.gz kmymoney-c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kmymoney2/widgets/kmymoneybriefschedule.cpp')
-rw-r--r-- | kmymoney2/widgets/kmymoneybriefschedule.cpp | 22 |
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>"; } } |