diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2 (patch) | |
tree | 6a288b084438ed144c0fbd4a34a9a22caf4d6b04 /kmymoney2/mymoney/storage/mymoneymap.h | |
parent | 154e6e6105157c321cbd578d238c525da419f868 (diff) | |
download | kmymoney-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/storage/mymoneymap.h')
-rw-r--r-- | kmymoney2/mymoney/storage/mymoneymap.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/mymoney/storage/mymoneymap.h b/kmymoney2/mymoney/storage/mymoneymap.h index 7582112..c914416 100644 --- a/kmymoney2/mymoney/storage/mymoneymap.h +++ b/kmymoney2/mymoney/storage/mymoneymap.h @@ -123,9 +123,9 @@ public: const T& operator[] ( const Key& k ) const { TQT_CHECK_INVALID_MAP_ELEMENT; return TQMap<Key,T>::operator[](k); } - inline TQ_TYPENAME TQMap<Key, T>::const_iterator tqfind(const Key& k) const + inline TQ_TYPENAME TQMap<Key, T>::const_iterator find(const Key& k) const { - return TQMap<Key,T>::tqfind(k); + return TQMap<Key,T>::find(k); } inline TQ_TYPENAME TQMap<Key, T>::const_iterator begin(void) const @@ -138,9 +138,9 @@ public: return TQMap<Key,T>::end(); } - inline bool tqcontains(const Key& k) const + inline bool contains(const Key& k) const { - return tqfind(k) != end(); + return find(k) != end(); } inline void map(TQMap<Key, T>& that) const @@ -307,7 +307,7 @@ main() printf("b.name() = %s\n", b.name().data()); TQMap<TQString, MyMoneyAccount>::ConstIterator it; - it = container.tqfind("001"); + it = container.find("001"); it = container.begin(); } catch(MyMoneyException *e) { |