From 2a99db3ebc4c211e436f95fde24b5ac6826d0267 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/ktorrent@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libktorrent/pluginmanager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libktorrent/pluginmanager.cpp') 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; } -- cgit v1.2.1