diff options
Diffstat (limited to 'kugar/kudesigner_lib/plugin.h')
-rw-r--r-- | kugar/kudesigner_lib/plugin.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/kugar/kudesigner_lib/plugin.h b/kugar/kudesigner_lib/plugin.h index d4363cfc..ce912275 100644 --- a/kugar/kudesigner_lib/plugin.h +++ b/kugar/kudesigner_lib/plugin.h @@ -18,30 +18,31 @@ #ifndef _KUGAR_DESIGNER_PLUGIN_H_ #define _KUGAR_DESIGNER_PLUGIN_H_ -#include <qobject.h> +#include <tqobject.h> #include <koproperty/property.h> #include <koproperty/editor.h> #include <box.h> -class QString; -class QWidget; +class TQString; +class TQWidget; class CanvasReportItem; class KoStore; using namespace KoProperty; using namespace Kudesigner; -class KuDesignerPlugin: public QObject +class KuDesignerPlugin: public TQObject { Q_OBJECT + TQ_OBJECT public: - KuDesignerPlugin( QObject *parent, const char* name, const QStringList& args ); + KuDesignerPlugin( TQObject *tqparent, const char* name, const TQStringList& args ); virtual ~KuDesignerPlugin(); virtual bool acceptsDrops() { return false; } - virtual bool dragMove( QDragMoveEvent *, Box */*cb*/ ) + virtual bool dragMove( TQDragMoveEvent *, Box */*cb*/ ) { return false; } @@ -49,11 +50,11 @@ public: { ; } - virtual void modifyItemPropertyOnSave( CanvasReportItem */*item*/, const Property & /*p*/ , QString &/*propertyName*/, QString &/*propertyValue*/ ) + virtual void modifyItemPropertyOnSave( CanvasReportItem */*item*/, const Property & /*p*/ , TQString &/*propertyName*/, TQString &/*propertyValue*/ ) { ; } - virtual void modifyItemPropertyOnLoad( CanvasReportItem */*item*/, const Property & /*p*/, QString &/*propertyName*/, QString &/*propertyValue*/ ) + virtual void modifyItemPropertyOnLoad( CanvasReportItem */*item*/, const Property & /*p*/, TQString &/*propertyName*/, TQString &/*propertyValue*/ ) { ; } @@ -67,7 +68,7 @@ public: } public slots: - virtual void createPluggedInEditor( QWidget *& retVal, Editor *editor, + virtual void createPluggedInEditor( TQWidget *& retVal, Editor *editor, Property *property, Box * ); }; |