summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/ksplittransactiondlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/ksplittransactiondlg.cpp')
-rw-r--r--kmymoney2/dialogs/ksplittransactiondlg.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmymoney2/dialogs/ksplittransactiondlg.cpp b/kmymoney2/dialogs/ksplittransactiondlg.cpp
index 907f927..cb80e62 100644
--- a/kmymoney2/dialogs/ksplittransactiondlg.cpp
+++ b/kmymoney2/dialogs/ksplittransactiondlg.cpp
@@ -126,7 +126,7 @@ KSplitTransactionDlg::KSplitTransactionDlg(const MyMoneyTransaction& t,
kapp->config()->setGroup("SplitTransactionEditor");
size = kapp->config()->readSizeEntry("Geometry", &size);
size.setHeight(size.height()-1);
- TQDialog::resize( size.expandedTo(minimumSizeHint()) );
+ TQDialog::resize( size.expandedTo(tqminimumSizeHint()) );
// Trick: it seems, that the initial sizing of the dialog does
// not work correctly. At least, the columns do not get displayed
@@ -183,15 +183,15 @@ int KSplitTransactionDlg::exec(void)
TQString q = i18n("The total amount of this transaction is %1 while "
"the sum of the splits is %2. The remaining %3 are "
"unassigned.")
- .arg(total)
- .arg(sums)
- .arg(diff);
+ .tqarg(total)
+ .tqarg(sums)
+ .tqarg(diff);
corrDlg->explanation->setText(q);
- q = i18n("Change &total amount of transaction to %1.").arg(sums);
+ q = i18n("Change &total amount of transaction to %1.").tqarg(sums);
corrDlg->changeBtn->setText(q);
- q = i18n("&Distribute difference of %1 among all splits.").arg(diff);
+ q = i18n("&Distribute difference of %1 among all splits.").tqarg(diff);
corrDlg->distributeBtn->setText(q);
// FIXME remove the following line once distribution among
// all splits is implemented
@@ -200,9 +200,9 @@ int KSplitTransactionDlg::exec(void)
// if we have only two splits left, we don't allow leaving sth. unassigned.
if(m_transaction.splitCount() < 3) {
- q = i18n("&Leave total amount of transaction at %1.").arg(total);
+ q = i18n("&Leave total amount of transaction at %1.").tqarg(total);
} else {
- q = i18n("&Leave %1 unassigned.").arg(diff);
+ q = i18n("&Leave %1 unassigned.").tqarg(diff);
}
corrDlg->leaveBtn->setText(q);