From 7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- kmymoney2/mymoney/mymoneyobjectcontainer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kmymoney2/mymoney/mymoneyobjectcontainer.cpp') 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::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::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::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::const_iterator it; - it = m_map.tqfind(id); + it = m_map.find(id); if(it != m_map.end()) { const MyMoneyAccount* account = dynamic_cast(*it); const MyMoneyPayee* payee = dynamic_cast(*it); -- cgit v1.2.1