diff options
Diffstat (limited to 'kmymoney2/mymoney/mymoneyobjectcontainer.cpp')
-rw-r--r-- | kmymoney2/mymoney/mymoneyobjectcontainer.cpp | 8 |
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); |