summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneyaccount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/mymoney/mymoneyaccount.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneyaccount.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/mymoney/mymoneyaccount.cpp b/kmymoney2/mymoney/mymoneyaccount.cpp
index 001d17c..b41e04a 100644
--- a/kmymoney2/mymoney/mymoneyaccount.cpp
+++ b/kmymoney2/mymoney/mymoneyaccount.cpp
@@ -180,7 +180,7 @@ void MyMoneyAccount::setAccountType(const accountTypeE type)
void MyMoneyAccount::addAccountId(const TQString& account)
{
- if(!m_accountList.tqcontains(account))
+ if(!m_accountList.contains(account))
m_accountList += account;
}
@@ -193,7 +193,7 @@ void MyMoneyAccount::removeAccountId(const TQString& account)
{
TQStringList::Iterator it;
- it = m_accountList.tqfind(account);
+ it = m_accountList.find(account);
if(it != m_accountList.end())
m_accountList.remove(it);
}