summaryrefslogtreecommitdiffstats
path: root/kolf/pluginloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kolf/pluginloader.cpp')
-rw-r--r--kolf/pluginloader.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kolf/pluginloader.cpp b/kolf/pluginloader.cpp
index 23d1a494..8cf39d69 100644
--- a/kolf/pluginloader.cpp
+++ b/kolf/pluginloader.cpp
@@ -1,8 +1,8 @@
-#include <qstring.h>
-#include <qvaluelist.h>
-#include <qstringlist.h>
-#include <qfile.h>
-#include <qobject.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
+#include <tqstringlist.h>
+#include <tqfile.h>
+#include <tqobject.h>
#include <kdebug.h>
#include <kglobal.h>
@@ -16,18 +16,18 @@ ObjectList *PluginLoader::loadAll()
{
ObjectList *ret = new ObjectList;
- QStringList libs;
- QStringList files = KGlobal::dirs()->findAllResources("appdata", "*.plugin", false, true);
+ TQStringList libs;
+ TQStringList files = KGlobal::dirs()->findAllResources("appdata", "*.plugin", false, true);
- for (QStringList::Iterator it = files.begin(); it != files.end(); ++it)
+ for (TQStringList::Iterator it = files.begin(); it != files.end(); ++it)
{
KSimpleConfig cfg(*it);
- QString filename(cfg.readEntry("Filename", ""));
+ TQString filename(cfg.readEntry("Filename", ""));
libs.append(filename);
}
- for (QStringList::Iterator it = libs.begin(); it != libs.end(); ++it)
+ for (TQStringList::Iterator it = libs.begin(); it != libs.end(); ++it)
{
Object *newObject = load(*it);
if (newObject)
@@ -37,7 +37,7 @@ ObjectList *PluginLoader::loadAll()
return ret;
}
-Object *PluginLoader::load(const QString &filename)
+Object *PluginLoader::load(const TQString &filename)
{
KLibFactory *factory = KLibLoader::self()->factory(filename.latin1());
@@ -47,7 +47,7 @@ Object *PluginLoader::load(const QString &filename)
return 0;
}
- QObject *newObject = factory->create(0, "objectInstance", "Object");
+ TQObject *newObject = factory->create(0, "objectInstance", "Object");
if (!newObject)
{