summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneyinstitution.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/mymoney/mymoneyinstitution.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneyinstitution.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/mymoney/mymoneyinstitution.cpp b/kmymoney2/mymoney/mymoneyinstitution.cpp
index 5b3b19e..d66d9df 100644
--- a/kmymoney2/mymoney/mymoneyinstitution.cpp
+++ b/kmymoney2/mymoney/mymoneyinstitution.cpp
@@ -100,7 +100,7 @@ MyMoneyInstitution::~MyMoneyInstitution()
void MyMoneyInstitution::addAccountId(const TQString& account)
{
// only add this account if it is not yet presently in the list
- if(m_accountList.tqcontains(account) == 0)
+ if(m_accountList.contains(account) == 0)
m_accountList.append(account);
}
@@ -109,7 +109,7 @@ TQString MyMoneyInstitution::removeAccountId(const TQString& account)
TQStringList::Iterator pos;
TQString rc;
- pos = m_accountList.tqfind(account);
+ pos = m_accountList.find(account);
if(pos != m_accountList.end()) {
m_accountList.remove(pos);
rc = account;