summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kbudgetview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2 (patch)
tree6a288b084438ed144c0fbd4a34a9a22caf4d6b04 /kmymoney2/views/kbudgetview.cpp
parent154e6e6105157c321cbd578d238c525da419f868 (diff)
downloadkmymoney-7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2.tar.gz
kmymoney-7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/views/kbudgetview.cpp')
-rw-r--r--kmymoney2/views/kbudgetview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/views/kbudgetview.cpp b/kmymoney2/views/kbudgetview.cpp
index 9907c09..aa4b619 100644
--- a/kmymoney2/views/kbudgetview.cpp
+++ b/kmymoney2/views/kbudgetview.cpp
@@ -246,7 +246,7 @@ void KBudgetView::loadBudgets(void)
KBudgetListItem* item = new KBudgetListItem(m_budgetList, *it);
// create a list of unique years
- if (m_yearList.tqfindIndex(TQString::number((*it).budgetStart().year())) == -1)
+ if (m_yearList.findIndex(TQString::number((*it).budgetStart().year())) == -1)
m_yearList += TQString::number((*it).budgetStart().year());
if(item->budget().id() == id) {
@@ -392,7 +392,7 @@ void KBudgetView::loadAccounts(void)
if(item) {
if(item->id() == selectedItemId)
m_accountTree->setSelected(item, true);
- if(isOpen.tqfind(item->id()) != isOpen.end())
+ if(isOpen.find(item->id()) != isOpen.end())
item->setOpen(true);
}
++it_lvi;
@@ -465,7 +465,7 @@ bool KBudgetView::loadSubAccounts(KMyMoneyAccountTreeBudgetItem* tqparent, TQStr
unused |= loadSubAccounts(item, subAcctList, budget);
// no child accounts and no value assigned to this account
- bool thisUnused = (!item->firstChild()) && (!budget.tqcontains(acc.id()));
+ bool thisUnused = (!item->firstChild()) && (!budget.contains(acc.id()));
// In case of a budget which is unused and we are requested to suppress
// the display of those,