summaryrefslogtreecommitdiffstats
path: root/libktorrent/pluginmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libktorrent/pluginmanager.cpp')
-rw-r--r--libktorrent/pluginmanager.cpp8
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;
}