summaryrefslogtreecommitdiffstats
path: root/kugar/kudesigner_lib/plugin.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kugar/kudesigner_lib/plugin.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kugar/kudesigner_lib/plugin.h')
-rw-r--r--kugar/kudesigner_lib/plugin.h19
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 * );
};