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/dialogs/kconfirmmanualenterdlg.cpp | |
parent | 28723595822268551d3e050c3a83bf6ca5e17dd5 (diff) | |
download | kmymoney-c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6.tar.gz kmymoney-c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kmymoney2/dialogs/kconfirmmanualenterdlg.cpp')
-rw-r--r-- | kmymoney2/dialogs/kconfirmmanualenterdlg.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kmymoney2/dialogs/kconfirmmanualenterdlg.cpp b/kmymoney2/dialogs/kconfirmmanualenterdlg.cpp index 0179721..966ed55 100644 --- a/kmymoney2/dialogs/kconfirmmanualenterdlg.cpp +++ b/kmymoney2/dialogs/kconfirmmanualenterdlg.cpp @@ -83,7 +83,7 @@ void KConfirmManualEnterDlg::loadTransactions(const MyMoneyTransaction& to, cons if (po != pn) { noItemsChanged++; - messageDetail += i18n("Payee changed.<br> Old: <b>%1</b>, New: <b>%2</b><p>").tqarg(po).tqarg(pn); + messageDetail += i18n("Payee changed.<br> Old: <b>%1</b>, New: <b>%2</b><p>").arg(po).arg(pn); } #if 0 if ( (m_schedule.type() == MyMoneySchedule::TYPE_TRANSFER || @@ -92,7 +92,7 @@ void KConfirmManualEnterDlg::loadTransactions(const MyMoneyTransaction& to, cons { noItemsChanged++; messageDetail += i18n("Account changed. Old: \"%1\", New: \"%2\"") - .tqarg(m_schedule.account().name()).tqarg(m_from->currentText()) + TQString("\n"); + .arg(m_schedule.account().name()).arg(m_from->currentText()) + TQString("\n"); } if ( m_schedule.type() == MyMoneySchedule::TYPE_DEPOSIT && @@ -100,23 +100,23 @@ void KConfirmManualEnterDlg::loadTransactions(const MyMoneyTransaction& to, cons { noItemsChanged++; messageDetail += i18n("Account changed. Old: \"%1\", New: \"%2\"") - .tqarg(m_schedule.account().name()).tqarg(m_to->currentText()) + TQString("\n"); + .arg(m_schedule.account().name()).arg(m_to->currentText()) + TQString("\n"); } #endif if(to.splits()[0].accountId() != tn.splits()[0].accountId()) { noItemsChanged++; messageDetail += i18n("Account changed.<br> Old: <b>%1</b>, New: <b>%2</b><p>") - .tqarg(file->account(to.splits()[0].accountId()).name()) - .tqarg(file->account(tn.splits()[0].accountId()).name()); + .arg(file->account(to.splits()[0].accountId()).name()) + .arg(file->account(tn.splits()[0].accountId()).name()); } if(file->isTransfer(to) && file->isTransfer(tn)) { if(to.splits()[1].accountId() != tn.splits()[1].accountId()) { noItemsChanged++; messageDetail += i18n("Transfer account changed.<br> Old: <b>%1</b>, New: <b>%2</b><p>") - .tqarg(file->account(to.splits()[1].accountId()).name()) - .tqarg(file->account(tn.splits()[1].accountId()).name()); + .arg(file->account(to.splits()[1].accountId()).name()) + .arg(file->account(tn.splits()[1].accountId()).name()); } } else { TQString co, cn; @@ -142,7 +142,7 @@ void KConfirmManualEnterDlg::loadTransactions(const MyMoneyTransaction& to, cons if (co != cn) { noItemsChanged++; - messageDetail += i18n("Category changed.<br> Old: <b>%1</b>, New: <b>%2</b><p>").tqarg(co).tqarg(cn); + messageDetail += i18n("Category changed.<br> Old: <b>%1</b>, New: <b>%2</b><p>").arg(co).arg(cn); } } @@ -156,7 +156,7 @@ void KConfirmManualEnterDlg::loadTransactions(const MyMoneyTransaction& to, cons if (mo != mn) { noItemsChanged++; - messageDetail += i18n("Memo changed.<br> Old: <b>%1</b>, New: <b>%2</b><p>").tqarg(mo).tqarg(mn); + messageDetail += i18n("Memo changed.<br> Old: <b>%1</b>, New: <b>%2</b><p>").arg(mo).arg(mn); } const MyMoneySecurity& sec = MyMoneyFile::instance()->security(to.commodity()); @@ -166,7 +166,7 @@ void KConfirmManualEnterDlg::loadTransactions(const MyMoneyTransaction& to, cons if (ao != an) { noItemsChanged++; messageDetail += i18n("Amount changed.<br> Old: <b>%1</b>, New: <b>%2</b><p>") - .tqarg(ao.formatMoney(sec.smallestAccountFraction())).tqarg(an.formatMoney(sec.smallestAccountFraction())); + .arg(ao.formatMoney(sec.smallestAccountFraction())).arg(an.formatMoney(sec.smallestAccountFraction())); } MyMoneySplit::reconcileFlagE fo, fn; @@ -175,8 +175,8 @@ void KConfirmManualEnterDlg::loadTransactions(const MyMoneyTransaction& to, cons if(fo != fn) { noItemsChanged++; messageDetail += i18n("Reconciliation flag changed.<br> Old: <b>%1</b>, New: <b>%2</b><p>") - .tqarg(KMyMoneyUtils::reconcileStateToString(fo, true)) - .tqarg(KMyMoneyUtils::reconcileStateToString(fn, true)); + .arg(KMyMoneyUtils::reconcileStateToString(fo, true)) + .arg(KMyMoneyUtils::reconcileStateToString(fn, true)); } } catch (MyMoneyException *e) |