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 | 2a99db3ebc4c211e436f95fde24b5ac6826d0267 (patch) | |
tree | ce2e122a017c12f803ea428a299c7e3cec52c8fe /libktorrent/pluginmanager.cpp | |
parent | 100dcb6968ca22bfa52836ad55eb4f01225791db (diff) | |
download | ktorrent-2a99db3ebc4c211e436f95fde24b5ac6826d0267.tar.gz ktorrent-2a99db3ebc4c211e436f95fde24b5ac6826d0267.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libktorrent/pluginmanager.cpp')
-rw-r--r-- | libktorrent/pluginmanager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libktorrent/pluginmanager.cpp b/libktorrent/pluginmanager.cpp index 2389162..3ea1282 100644 --- a/libktorrent/pluginmanager.cpp +++ b/libktorrent/pluginmanager.cpp @@ -80,7 +80,7 @@ namespace kt } unloaded.insert(plugin->getName(),plugin); - if (pltoload.tqcontains(plugin->getName())) + if (pltoload.contains(plugin->getName())) load(plugin->getName()); } @@ -95,7 +95,7 @@ namespace kt void PluginManager::load(const TQString & name) { - Plugin* p = unloaded.tqfind(name); + Plugin* p = unloaded.find(name); if (!p) return; @@ -114,7 +114,7 @@ namespace kt void PluginManager::unload(const TQString & name) { - Plugin* p = plugins.tqfind(name); + Plugin* p = plugins.find(name); if (!p) return; @@ -236,7 +236,7 @@ namespace kt bool PluginManager::isLoaded(const TQString & name) const { - const Plugin* p = plugins.tqfind(name); + const Plugin* p = plugins.find(name); return p != 0; } |