summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/ksplittransactiondlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:17 -0600
commit1f9d00360b9018301630ce062d7dda0c6583edfb (patch)
tree1013b917f9a8ad41ed928d62250e9bfe1ed91414 /kmymoney2/dialogs/ksplittransactiondlg.cpp
parent252fce5a2a5384702fbcc1c9987284d7bd2e6943 (diff)
downloadkmymoney-1f9d00360b9018301630ce062d7dda0c6583edfb.tar.gz
kmymoney-1f9d00360b9018301630ce062d7dda0c6583edfb.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 252fce5a2a5384702fbcc1c9987284d7bd2e6943.
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);