summaryrefslogtreecommitdiffstats
path: root/krita/ui/kis_tool_dummy.h
diff options
context:
space:
mode:
Diffstat (limited to 'krita/ui/kis_tool_dummy.h')
-rw-r--r--krita/ui/kis_tool_dummy.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/krita/ui/kis_tool_dummy.h b/krita/ui/kis_tool_dummy.h
index 3eb57ac4..d10850e8 100644
--- a/krita/ui/kis_tool_dummy.h
+++ b/krita/ui/kis_tool_dummy.h
@@ -25,7 +25,7 @@
#include "kis_point.h"
-class QLabel;
+class TQLabel;
class KisCanvasSubject;
/**
@@ -40,6 +40,7 @@ class KRITATOOL_EXPORT KisToolDummy : public KisToolNonPaint {
typedef KisToolNonPaint super;
Q_OBJECT
+ TQ_OBJECT
public:
KisToolDummy();
@@ -52,15 +53,15 @@ public:
virtual void move(KisMoveEvent *e);
virtual void buttonRelease(KisButtonReleaseEvent *e);
- virtual QWidget* createOptionWidget(QWidget* parent);
- virtual QWidget* optionWidget();
+ virtual TQWidget* createOptionWidget(TQWidget* tqparent);
+ virtual TQWidget* optionWidget();
private:
- QLabel * m_optionWidget;
+ TQLabel * m_optionWidget;
KisCanvasSubject *m_subject;
KisPoint m_dragPos;
- Q_INT32 m_origScrollX;
- Q_INT32 m_origScrollY;
+ TQ_INT32 m_origScrollX;
+ TQ_INT32 m_origScrollY;
bool m_dragging;
};