summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:37:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:37:08 -0600
commitc70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6 (patch)
tree9a07481bb1245dac332e7db600c556e1db79ecf3 /kmymoney2/dialogs/kmymoneyfileinfodlg.cpp
parent28723595822268551d3e050c3a83bf6ca5e17dd5 (diff)
downloadkmymoney-c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6.tar.gz
kmymoney-c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kmymoney2/dialogs/kmymoneyfileinfodlg.cpp')
-rw-r--r--kmymoney2/dialogs/kmymoneyfileinfodlg.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp b/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp
index b692bf7..49852a7 100644
--- a/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp
+++ b/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp
@@ -48,12 +48,12 @@ KMyMoneyFileInfoDlg::KMyMoneyFileInfoDlg(TQWidget *parent, const char *name )
m_lastModificationDate->setText(storage->lastModificationDate().toString(Qt::ISODate));
m_baseCurrency->setText(storage->value("kmm-baseCurrency"));
- m_payeeCount->setText(TQString("%1").tqarg(storage->payeeList().count()));
- m_institutionCount->setText(TQString("%1").tqarg(storage->institutionList().count()));
+ m_payeeCount->setText(TQString("%1").arg(storage->payeeList().count()));
+ m_institutionCount->setText(TQString("%1").arg(storage->institutionList().count()));
TQValueList<MyMoneyAccount> a_list;
storage->accountList(a_list);
- m_accountCount->setText(TQString("%1").tqarg(a_list.count()));
+ m_accountCount->setText(TQString("%1").arg(a_list.count()));
TQMap<MyMoneyAccount::accountTypeE, int> accountMap;
TQMap<MyMoneyAccount::accountTypeE, int> accountMapClosed;
@@ -67,22 +67,22 @@ KMyMoneyFileInfoDlg::KMyMoneyFileInfoDlg(TQWidget *parent, const char *name )
TQMap<MyMoneyAccount::accountTypeE, int>::const_iterator it_m;
for(it_m = accountMap.begin(); it_m != accountMap.end(); ++it_m) {
- new KListViewItem(m_accountView, KMyMoneyUtils::accountTypeToString(it_m.key()), TQString("%1").tqarg(*it_m), TQString("%1").tqarg(accountMapClosed[it_m.key()]));
+ new KListViewItem(m_accountView, KMyMoneyUtils::accountTypeToString(it_m.key()), TQString("%1").arg(*it_m), TQString("%1").arg(accountMapClosed[it_m.key()]));
}
MyMoneyTransactionFilter filter;
filter.setReportAllSplits(false);
- m_transactionCount->setText(TQString("%1").tqarg(storage->transactionList(filter).count()));
+ m_transactionCount->setText(TQString("%1").arg(storage->transactionList(filter).count()));
filter.setReportAllSplits(true);
- m_splitCount->setText(TQString("%1").tqarg(storage->transactionList(filter).count()));
- m_scheduleCount->setText(TQString("%1").tqarg(storage->scheduleList().count()));
+ m_splitCount->setText(TQString("%1").arg(storage->transactionList(filter).count()));
+ m_scheduleCount->setText(TQString("%1").arg(storage->scheduleList().count()));
MyMoneyPriceList list = storage->priceList();
MyMoneyPriceList::const_iterator it_p;
int pCount = 0;
for(it_p = list.begin(); it_p != list.end(); ++it_p)
pCount += (*it_p).count();
- m_priceCount->setText(TQString("%1").tqarg(pCount));
+ m_priceCount->setText(TQString("%1").arg(pCount));
}
KMyMoneyFileInfoDlg::~KMyMoneyFileInfoDlg()