From d98fea1f859d23e1b1220a65d7a8eda3b757fd08 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/piklab@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/common/gui/key_gui.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/common/gui/key_gui.h') diff --git a/src/common/gui/key_gui.h b/src/common/gui/key_gui.h index 5ae0a84..054a513 100644 --- a/src/common/gui/key_gui.h +++ b/src/common/gui/key_gui.h @@ -32,16 +32,16 @@ public: ConstIterator end() const { return _ids.end(); } uint count() const { return _ids.count(); } void appendItem(const KeyType &key, Type type) { - CRASH_ASSERT( !_ids.tqcontains(key) ); + CRASH_ASSERT( !_ids.contains(key) ); _ids[key] = append(type); } KeyType currentItem() const { return key(currentId()); } void setCurrentItem(const KeyType &key) { - if ( _ids.tqcontains(key) ) setCurrentId(_ids[key]); + if ( _ids.contains(key) ) setCurrentId(_ids[key]); } - bool tqcontains(const KeyType &key) const { return _ids.tqcontains(key); } + bool contains(const KeyType &key) const { return _ids.contains(key); } Type item(const KeyType &key) const { - CRASH_ASSERT( _ids.tqcontains(key) ); + CRASH_ASSERT( _ids.contains(key) ); return get(_ids[key]); } Type item(ConstIterator it) const { -- cgit v1.2.1