diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 22:07:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 22:07:15 +0000 |
commit | 421b60af92c83b889f8903c2898f2bd07186fcd8 (patch) | |
tree | ad873a24c9438baed4942fda795430a4c3dc9a9a /kbfxlib/data/kbfxplasmapluginloader.h | |
parent | 39e896bddf25bf34cbf8be814d959181e2c1d1dd (diff) | |
download | kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.tar.gz kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.zip |
TQt4 port kbfx
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1230544 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbfxlib/data/kbfxplasmapluginloader.h')
-rw-r--r-- | kbfxlib/data/kbfxplasmapluginloader.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/kbfxlib/data/kbfxplasmapluginloader.h b/kbfxlib/data/kbfxplasmapluginloader.h index 2ae2f54..346be7f 100644 --- a/kbfxlib/data/kbfxplasmapluginloader.h +++ b/kbfxlib/data/kbfxplasmapluginloader.h @@ -22,18 +22,19 @@ #ifndef KBFX_PLASMA_PLUGIN_LOADER_H #define KBFX_PLASMA_PLUGIN_LOADER_H -#include <qlibrary.h> +#include <tqlibrary.h> #include "kbfxplasmacanvasstack.h" #include "kbfxdatastack.h" #include "kbfxplugin.h" -#include <qcanvas.h> +#include <tqcanvas.h> -class KbfxPlasmaPluginLoader:public QObject +class KbfxPlasmaPluginLoader:public TQObject { Q_OBJECT + TQ_OBJECT public: - typedef QMap<QString,KbfxPlugin*> PluginMap; + typedef TQMap<TQString,KbfxPlugin*> PluginMap; /** * @@ -50,11 +51,11 @@ class KbfxPlasmaPluginLoader:public QObject * @param name * @return */ - KbfxDataStack * getView ( QString name ); + KbfxDataStack * getView ( TQString name ); /* look for all installed Plugins. returns a list of installed plugins */ - static QStringList scanPlugins(); + static TQStringList scanPlugins(); /** * Calls the search function of a given plugin and returns the result @@ -62,16 +63,16 @@ class KbfxPlasmaPluginLoader:public QObject * @param keyword the keyword to pass to the plugin * @return a valid KbfxDataGroup or -1 */ - static KbfxDataGroup * search ( QString pluginName,QString keyword ); + static KbfxDataGroup * search ( TQString pluginName,TQString keyword ); protected: static void init(); private: - QLibrary * m_plugin; + TQLibrary * m_plugin; static PluginMap& pluginMap(); - QString m_prefix; + TQString m_prefix; }; |