summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/pluginloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/pluginloader.cpp')
-rw-r--r--umbrello/umbrello/pluginloader.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/umbrello/umbrello/pluginloader.cpp b/umbrello/umbrello/pluginloader.cpp
index db79bca1..583b3858 100644
--- a/umbrello/umbrello/pluginloader.cpp
+++ b/umbrello/umbrello/pluginloader.cpp
@@ -17,7 +17,7 @@
#include "pluginloader.h"
// Qt includes
-#include <qstring.h>
+#include <tqstring.h>
// KDE includes
#include <kdebug.h>
@@ -53,7 +53,7 @@ PluginLoader::instance()
}
Plugin *
-PluginLoader::loadPlugin(const QString &name)
+PluginLoader::loadPlugin(const TQString &name)
{
KLibrary *lib = NULL;
KLibFactory *factory = NULL;
@@ -87,7 +87,7 @@ PluginLoader::loadPlugin(const QString &name)
// use the factory to create the plugin
if(success) {
- plugin = dynamic_cast<Plugin *>(factory->create((QObject*)0, name.latin1()));
+ plugin = dynamic_cast<Plugin *>(factory->create((TQObject*)0, name.latin1()));
if(!plugin) {
kdError() << "failed to create a plugin object for " << name << endl;
success = false;
@@ -117,14 +117,14 @@ PluginLoader::loadPlugin(const QString &name)
// reference to it
if(success) {
plugin->ref();
- connect(plugin, SIGNAL(destroyed(QObject *)), SLOT(slotDestroyed(QObject *)));
+ connect(plugin, TQT_SIGNAL(destroyed(TQObject *)), TQT_SLOT(slotDestroyed(TQObject *)));
}
return plugin;
}
Plugin *
-PluginLoader::findPlugin(const QString &name)
+PluginLoader::findPlugin(const TQString &name)
{
Plugin *ret = NULL;
PluginMap::iterator it = _plugins.find(name);
@@ -135,7 +135,7 @@ PluginLoader::findPlugin(const QString &name)
}
void
-PluginLoader::unloadPlugin(const QString &name)
+PluginLoader::unloadPlugin(const TQString &name)
{
KLibLoader::self()->unloadLibrary(name.latin1());
}
@@ -153,7 +153,7 @@ PluginLoader::categories() const
}
void
-PluginLoader::slotDestroyed(QObject *obj)
+PluginLoader::slotDestroyed(TQObject *obj)
{
Plugin *plugin = static_cast<Plugin *>(obj);