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/kbfxplugin.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/kbfxplugin.h')
-rw-r--r-- | kbfxlib/data/kbfxplugin.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/kbfxlib/data/kbfxplugin.h b/kbfxlib/data/kbfxplugin.h index 5868d14..f657d8a 100644 --- a/kbfxlib/data/kbfxplugin.h +++ b/kbfxlib/data/kbfxplugin.h @@ -23,9 +23,9 @@ #define KBFX_PLUGIN_H //#include "kbfxplasmacanvasstack.h" #include "kbfxdatastack.h" -#include <qobject.h> -#include <qstring.h> -#include <qlibrary.h> +#include <tqobject.h> +#include <tqstring.h> +#include <tqlibrary.h> /** This class reprecentes a plugin written for kbfx menu this @@ -34,25 +34,26 @@ of the menu **/ -class KbfxPlugin:public QObject +class KbfxPlugin:public TQObject { Q_OBJECT + TQ_OBJECT public: KbfxPlugin(); - KbfxPlugin ( QString Name,QString lib,uint id ); + KbfxPlugin ( TQString Name,TQString lib,uint id ); ~KbfxPlugin(); - void setStatus ( bool ); + void settqStatus ( bool ); - QString name(); - QString libName(); + TQString name(); + TQString libName(); uint id(); bool status(); // KbfxPlasmaCanvasStack * data(); KbfxDataStack * data(); - KbfxDataGroup * search ( QString keyword ); + KbfxDataGroup * search ( TQString keyword ); // KbfxDataStack * data(); @@ -62,12 +63,12 @@ class KbfxPlugin:public QObject void loadComplete(); private: - QString m_name; - QString m_libName; + TQString m_name; + TQString m_libName; uint m_id; // KbfxPlasmaCanvasStack * m_data; KbfxDataStack m_data_R; -// QCanvas * m_canvas; +// TQCanvas * m_canvas; bool m_loaded; }; |