summaryrefslogtreecommitdiffstats
path: root/kolf/pluginloader.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /kolf/pluginloader.cpp
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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)
{