summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneyobjectcontainer.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/mymoney/mymoneyobjectcontainer.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/mymoney/mymoneyobjectcontainer.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneyobjectcontainer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/mymoney/mymoneyobjectcontainer.cpp b/kmymoney2/mymoney/mymoneyobjectcontainer.cpp
index c842f0d..9b54b1f 100644
--- a/kmymoney2/mymoney/mymoneyobjectcontainer.cpp
+++ b/kmymoney2/mymoney/mymoneyobjectcontainer.cpp
@@ -49,7 +49,7 @@ void MyMoneyObjectContainer::clear(IMyMoneyStorage* storage)
void MyMoneyObjectContainer::clear(const TQString& id)
{
TQMap<TQString, MyMoneyObject const *>::iterator it;
- it = m_map.tqfind(id);
+ it = m_map.find(id);
if(it != m_map.end()) {
delete (*it);
m_map.erase(it);
@@ -92,7 +92,7 @@ const T& MyMoneyObjectContainer::a(const TQString& id) \
if(id.isEmpty()) \
return nullElement; \
TQMap<TQString, MyMoneyObject const *>::const_iterator it; \
- it = m_map.tqfind(id); \
+ it = m_map.find(id); \
if(it == m_map.end()) { \
/* not found, need to load from engine */ \
T x = m_storage->a(id); \
@@ -120,7 +120,7 @@ const MyMoneyAccount& MyMoneyObjectContainer::account(const TQString& id)
if(id.isEmpty())
return nullElement;
TQMap<TQString, MyMoneyObject const *>::iterator it;
- it = m_map.tqfind(id);
+ it = m_map.find(id);
if(it == m_map.end()) {
/* not found, need to load from engine */
MyMoneyAccount x = m_storage->account(id);
@@ -161,7 +161,7 @@ void MyMoneyObjectContainer::refresh(const TQString& id)
return;
TQMap<TQString, MyMoneyObject const *>::const_iterator it;
- it = m_map.tqfind(id);
+ it = m_map.find(id);
if(it != m_map.end()) {
const MyMoneyAccount* account = dynamic_cast<const MyMoneyAccount *>(*it);
const MyMoneyPayee* payee = dynamic_cast<const MyMoneyPayee *>(*it);