From c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:37:08 -0600 Subject: Remove additional unneeded tq method conversions --- kmymoney2/widgets/kmymoneybriefschedule.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kmymoney2/widgets/kmymoneybriefschedule.cpp') 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 += "
"; text += i18n("%1 days overdue (%2 occurences).") - .tqarg(TQString::number(days)) - .tqarg(TQString::number(transactions)); + .arg(TQString::number(days)) + .arg(TQString::number(transactions)); text += ""; } } -- cgit v1.2.1