summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/kmymoneyfileinfodlg.cpp')
-rw-r--r--kmymoney2/dialogs/kmymoneyfileinfodlg.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp b/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp
index 108c776..c7ae4b1 100644
--- a/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp
+++ b/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp
@@ -18,7 +18,7 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qlabel.h>
+#include <tqlabel.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -34,8 +34,8 @@
#include <kmymoney/mymoneyfile.h>
#include <kmymoney/kmymoneyutils.h>
-KMyMoneyFileInfoDlg::KMyMoneyFileInfoDlg(QWidget *parent, const char *name )
- : KMyMoneyFileInfoDlgDecl(parent, name)
+KMyMoneyFileInfoDlg::KMyMoneyFileInfoDlg(TQWidget *tqparent, const char *name )
+ : KMyMoneyFileInfoDlgDecl(tqparent, name)
{
// Hide the unused buttons.
buttonCancel->hide();
@@ -48,16 +48,16 @@ KMyMoneyFileInfoDlg::KMyMoneyFileInfoDlg(QWidget *parent, const char *name )
m_lastModificationDate->setText(storage->lastModificationDate().toString(Qt::ISODate));
m_baseCurrency->setText(storage->value("kmm-baseCurrency"));
- m_payeeCount->setText(QString("%1").arg(storage->payeeList().count()));
- m_institutionCount->setText(QString("%1").arg(storage->institutionList().count()));
+ m_payeeCount->setText(TQString("%1").tqarg(storage->payeeList().count()));
+ m_institutionCount->setText(TQString("%1").tqarg(storage->institutionList().count()));
- QValueList<MyMoneyAccount> a_list;
+ TQValueList<MyMoneyAccount> a_list;
storage->accountList(a_list);
- m_accountCount->setText(QString("%1").arg(a_list.count()));
+ m_accountCount->setText(TQString("%1").tqarg(a_list.count()));
- QMap<MyMoneyAccount::accountTypeE, int> accountMap;
- QMap<MyMoneyAccount::accountTypeE, int> accountMapClosed;
- QValueList<MyMoneyAccount>::const_iterator it_a;
+ TQMap<MyMoneyAccount::accountTypeE, int> accountMap;
+ TQMap<MyMoneyAccount::accountTypeE, int> accountMapClosed;
+ TQValueList<MyMoneyAccount>::const_iterator it_a;
for(it_a = a_list.begin(); it_a != a_list.end(); ++it_a) {
accountMap[(*it_a).accountType()] = accountMap[(*it_a).accountType()] + 1;
accountMapClosed[(*it_a).accountType()] = accountMapClosed[(*it_a).accountType()] + 0;
@@ -65,24 +65,24 @@ KMyMoneyFileInfoDlg::KMyMoneyFileInfoDlg(QWidget *parent, const char *name )
accountMapClosed[(*it_a).accountType()] = accountMapClosed[(*it_a).accountType()] + 1;
}
- QMap<MyMoneyAccount::accountTypeE, int>::const_iterator it_m;
+ 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()), QString("%1").arg(*it_m), QString("%1").arg(accountMapClosed[it_m.key()]));
+ new KListViewItem(m_accountView, KMyMoneyUtils::accountTypeToString(it_m.key()), TQString("%1").tqarg(*it_m), TQString("%1").tqarg(accountMapClosed[it_m.key()]));
}
MyMoneyTransactionFilter filter;
filter.setReportAllSplits(false);
- m_transactionCount->setText(QString("%1").arg(storage->transactionList(filter).count()));
+ m_transactionCount->setText(TQString("%1").tqarg(storage->transactionList(filter).count()));
filter.setReportAllSplits(true);
- m_splitCount->setText(QString("%1").arg(storage->transactionList(filter).count()));
- m_scheduleCount->setText(QString("%1").arg(storage->scheduleList().count()));
+ m_splitCount->setText(TQString("%1").tqarg(storage->transactionList(filter).count()));
+ m_scheduleCount->setText(TQString("%1").tqarg(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(QString("%1").arg(pCount));
+ m_priceCount->setText(TQString("%1").tqarg(pCount));
}
KMyMoneyFileInfoDlg::~KMyMoneyFileInfoDlg()