diff options
Diffstat (limited to 'krita/plugins/tools/selectiontools/kis_tool_select_elliptical.h')
-rw-r--r-- | krita/plugins/tools/selectiontools/kis_tool_select_elliptical.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/krita/plugins/tools/selectiontools/kis_tool_select_elliptical.h b/krita/plugins/tools/selectiontools/kis_tool_select_elliptical.h index e3b46737..dbccda59 100644 --- a/krita/plugins/tools/selectiontools/kis_tool_select_elliptical.h +++ b/krita/plugins/tools/selectiontools/kis_tool_select_elliptical.h @@ -23,7 +23,7 @@ #ifndef __KIS_TOOL_SELECT_ELLIPTICAL_H__ #define __KIS_TOOL_SELECT_ELLIPTICAL_H__ -#include <qpoint.h> +#include <tqpoint.h> #include "kis_point.h" #include "kis_selection.h" @@ -36,6 +36,7 @@ class KisToolSelectElliptical : public KisToolNonPaint { typedef KisToolNonPaint super; Q_OBJECT + TQ_OBJECT public: KisToolSelectElliptical(); @@ -44,13 +45,13 @@ public: virtual void update(KisCanvasSubject *subject); virtual void setup(KActionCollection *collection); - virtual Q_UINT32 priority() { return 4; } - virtual QWidget * createOptionWidget(QWidget* parent); - virtual QWidget* optionWidget(); + virtual TQ_UINT32 priority() { return 4; } + virtual TQWidget * createOptionWidget(TQWidget* tqparent); + virtual TQWidget* optionWidget(); virtual enumToolType toolType() { return TOOL_SELECT; } virtual void paint(KisCanvasPainter& gc); - virtual void paint(KisCanvasPainter& gc, const QRect& rc); + virtual void paint(KisCanvasPainter& gc, const TQRect& rc); virtual void buttonPress(KisButtonPressEvent *e); virtual void move(KisMoveEvent *e); virtual void buttonRelease(KisButtonReleaseEvent *e); @@ -63,7 +64,7 @@ public slots: private: void clearSelection(); void paintOutline(); - void paintOutline(KisCanvasPainter& gc, const QRect& rc); + void paintOutline(KisCanvasPainter& gc, const TQRect& rc); private: KisCanvasSubject *m_subject; |