summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kconfirmmanualenterdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/kconfirmmanualenterdlg.cpp')
-rw-r--r--kmymoney2/dialogs/kconfirmmanualenterdlg.cpp24
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>&nbsp;&nbsp;&nbsp;Old: <b>%1</b>, New: <b>%2</b><p>").tqarg(po).tqarg(pn);
+ messageDetail += i18n("Payee changed.<br>&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;Old: <b>%1</b>, New: <b>%2</b><p>").tqarg(co).tqarg(cn);
+ messageDetail += i18n("Category changed.<br>&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;Old: <b>%1</b>, New: <b>%2</b><p>").tqarg(mo).tqarg(mn);
+ messageDetail += i18n("Memo changed.<br>&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;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)