summaryrefslogtreecommitdiffstats
path: root/src/common/gui/key_gui.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitd98fea1f859d23e1b1220a65d7a8eda3b757fd08 (patch)
treea7e6a450baf5017f93f73636f9e8f9b5e9a56f05 /src/common/gui/key_gui.h
parent704123e8152edcd80447659317f1c8b31a1576e6 (diff)
downloadpiklab-d98fea1f859d23e1b1220a65d7a8eda3b757fd08.tar.gz
piklab-d98fea1f859d23e1b1220a65d7a8eda3b757fd08.zip
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
Diffstat (limited to 'src/common/gui/key_gui.h')
-rw-r--r--src/common/gui/key_gui.h8
1 files changed, 4 insertions, 4 deletions
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 {