summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/pluginloader.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /umbrello/umbrello/pluginloader.cpp
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz
tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'umbrello/umbrello/pluginloader.cpp')
-rw-r--r--umbrello/umbrello/pluginloader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/umbrello/umbrello/pluginloader.cpp b/umbrello/umbrello/pluginloader.cpp
index 583b3858..9321ac15 100644
--- a/umbrello/umbrello/pluginloader.cpp
+++ b/umbrello/umbrello/pluginloader.cpp
@@ -16,7 +16,7 @@
// own header
#include "pluginloader.h"
-// Qt includes
+// TQt includes
#include <tqstring.h>
// KDE includes
@@ -63,7 +63,7 @@ PluginLoader::loadPlugin(const TQString &name)
// if the plugin has already been loaded, increment
// its reference and return.
- if((it = _plugins.find(name)) != _plugins.end()) {
+ if((it = _plugins.tqfind(name)) != _plugins.end()) {
plugin = it.data();
plugin->ref();
return plugin;
@@ -127,7 +127,7 @@ Plugin *
PluginLoader::findPlugin(const TQString &name)
{
Plugin *ret = NULL;
- PluginMap::iterator it = _plugins.find(name);
+ PluginMap::iterator it = _plugins.tqfind(name);
if(it != _plugins.end()) {
ret = it.data();
}