summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneyaccountselector.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit902ba103f2215bcefa22d62b1c9138aa4b88891c (patch)
tree63ef88424b9be33a31e5a8de61343fb8d7633937 /kmymoney2/widgets/kmymoneyaccountselector.cpp
parent7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2 (diff)
downloadkmymoney-902ba103f2215bcefa22d62b1c9138aa4b88891c.tar.gz
kmymoney-902ba103f2215bcefa22d62b1c9138aa4b88891c.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/widgets/kmymoneyaccountselector.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneyaccountselector.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kmymoney2/widgets/kmymoneyaccountselector.cpp b/kmymoney2/widgets/kmymoneyaccountselector.cpp
index 234fa16..e33a2e5 100644
--- a/kmymoney2/widgets/kmymoneyaccountselector.cpp
+++ b/kmymoney2/widgets/kmymoneyaccountselector.cpp
@@ -49,8 +49,8 @@
#include "../kmymoneyutils.h"
#include "../kmymoneyglobalsettings.h"
-kMyMoneyAccountSelector::kMyMoneyAccountSelector(TQWidget *tqparent, const char *name, TQWidget::WFlags flags, const bool createButtons) :
- KMyMoneySelector(tqparent, name, flags),
+kMyMoneyAccountSelector::kMyMoneyAccountSelector(TQWidget *parent, const char *name, TQWidget::WFlags flags, const bool createButtons) :
+ KMyMoneySelector(parent, name, flags),
m_allAccountsButton(0),
m_noAccountButton(0),
m_incomeCategoriesButton(0),
@@ -349,23 +349,23 @@ int AccountSet::load(kMyMoneyAccountSelector* selector)
key = TQString("A%1").tqarg(i18n("Favorites"));
m_favorites = selector->newItem(i18n("Favorites"), key);
- for(int tqmask = 0x01; tqmask != KMyMoneyUtils::last; tqmask <<= 1) {
+ for(int mask = 0x01; mask != KMyMoneyUtils::last; mask <<= 1) {
TQListViewItem* item = 0;
- if((typeMask & tqmask & KMyMoneyUtils::asset) != 0) {
+ if((typeMask & mask & KMyMoneyUtils::asset) != 0) {
++m_count;
key = TQString("B%1").tqarg(i18n("Asset"));
item = selector->newItem(i18n("Asset accounts"), key);
list = m_file->asset().accountList();
}
- if((typeMask & tqmask & KMyMoneyUtils::liability) != 0) {
+ if((typeMask & mask & KMyMoneyUtils::liability) != 0) {
++m_count;
key = TQString("C%1").tqarg(i18n("Liability"));
item = selector->newItem(i18n("Liability accounts"), key);
list = m_file->liability().accountList();
}
- if((typeMask & tqmask & KMyMoneyUtils::income) != 0) {
+ if((typeMask & mask & KMyMoneyUtils::income) != 0) {
++m_count;
key = TQString("D%1").tqarg(i18n("Income"));
item = selector->newItem(i18n("Income categories"), key);
@@ -375,7 +375,7 @@ int AccountSet::load(kMyMoneyAccountSelector* selector)
}
}
- if((typeMask & tqmask & KMyMoneyUtils::expense) != 0) {
+ if((typeMask & mask & KMyMoneyUtils::expense) != 0) {
++m_count;
key = TQString("E%1").tqarg(i18n("Expense"));
item = selector->newItem(i18n("Expense categories"), key);
@@ -385,7 +385,7 @@ int AccountSet::load(kMyMoneyAccountSelector* selector)
}
}
- if((typeMask & tqmask & KMyMoneyUtils::equity) != 0) {
+ if((typeMask & mask & KMyMoneyUtils::equity) != 0) {
++m_count;
key = TQString("F%1").tqarg(i18n("Equity"));
item = selector->newItem(i18n("Equity accounts"), key);
@@ -486,7 +486,7 @@ int AccountSet::load(kMyMoneyAccountSelector* selector, const TQString& baseName
return count;
}
-int AccountSet::loadSubAccounts(kMyMoneyAccountSelector* selector, TQListViewItem* tqparent, const TQString& key, const TQStringList& list)
+int AccountSet::loadSubAccounts(kMyMoneyAccountSelector* selector, TQListViewItem* parent, const TQString& key, const TQStringList& list)
{
TQStringList::ConstIterator it_l;
int count = 0;
@@ -503,7 +503,7 @@ int AccountSet::loadSubAccounts(kMyMoneyAccountSelector* selector, TQListViewIte
tmpKey = key + MyMoneyFile::AccountSeperator + acc.name();
++count;
++m_count;
- TQListViewItem* item = selector->newItem(tqparent, acc.name(), tmpKey, acc.id());
+ TQListViewItem* item = selector->newItem(parent, acc.name(), tmpKey, acc.id());
if(acc.value("PreferredAccount") == "Yes"
&& m_typeList.contains(acc.accountType())) {
selector->newItem(m_favorites, acc.name(), tmpKey, acc.id());