diff options
Diffstat (limited to 'krita/plugins/tools/defaulttools/kis_tool_line.h')
-rw-r--r-- | krita/plugins/tools/defaulttools/kis_tool_line.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/krita/plugins/tools/defaulttools/kis_tool_line.h b/krita/plugins/tools/defaulttools/kis_tool_line.h index 8a84a819..4ce0ff38 100644 --- a/krita/plugins/tools/defaulttools/kis_tool_line.h +++ b/krita/plugins/tools/defaulttools/kis_tool_line.h @@ -32,13 +32,14 @@ class KisBrush; class KisPainter; -class QPoint; -class QWidget; +class TQPoint; +class TQWidget; class KisToolLine : public KisToolPaint { Q_OBJECT + TQ_OBJECT typedef KisToolPaint super; public: @@ -47,7 +48,7 @@ class KisToolLine : public KisToolPaint { virtual void setup(KActionCollection *collection); virtual enumToolType toolType() { return TOOL_SHAPE; } - virtual Q_UINT32 priority() { return 1; } + virtual TQ_UINT32 priority() { return 1; } virtual void update(KisCanvasSubject *subject); virtual void buttonPress(KisButtonPressEvent *event); @@ -55,13 +56,13 @@ class KisToolLine : public KisToolPaint { virtual void buttonRelease(KisButtonReleaseEvent *event); virtual void paint(KisCanvasPainter& gc); - virtual void paint(KisCanvasPainter& gc, const QRect& rc); + virtual void paint(KisCanvasPainter& gc, const TQRect& rc); - virtual QString quickHelp() const; + virtual TQString quickHelp() const; private: void paintLine(); - void paintLine(KisCanvasPainter& gc, const QRect& rc); + void paintLine(KisCanvasPainter& gc, const TQRect& rc); KisPoint straightLine(KisPoint point); |