summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/storage/mymoneymap.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/mymoney/storage/mymoneymap.h')
-rw-r--r--kmymoney2/mymoney/storage/mymoneymap.h10
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) {