diff options
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; }; |