summaryrefslogtreecommitdiffstats
path: root/krita/plugins/tools/defaulttools/kis_tool_zoom.h
diff options
context:
space:
mode:
Diffstat (limited to 'krita/plugins/tools/defaulttools/kis_tool_zoom.h')
-rw-r--r--krita/plugins/tools/defaulttools/kis_tool_zoom.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/krita/plugins/tools/defaulttools/kis_tool_zoom.h b/krita/plugins/tools/defaulttools/kis_tool_zoom.h
index 235c3a74..3faa5bf1 100644
--- a/krita/plugins/tools/defaulttools/kis_tool_zoom.h
+++ b/krita/plugins/tools/defaulttools/kis_tool_zoom.h
@@ -21,7 +21,7 @@
#ifndef KIS_ZOOM_TOOL_H_
#define KIS_ZOOM_TOOL_H_
-#include <qtimer.h>
+#include <tqtimer.h>
#include "kis_tool_non_paint.h"
@@ -33,6 +33,7 @@ class KisToolZoom : public KisToolNonPaint {
typedef KisToolNonPaint super;
Q_OBJECT
+ TQ_OBJECT
public:
KisToolZoom();
@@ -44,18 +45,18 @@ public:
public:
virtual void setup(KActionCollection *collection);
virtual enumToolType toolType() { return TOOL_VIEW; }
- virtual Q_UINT32 priority() { return 2; }
+ virtual TQ_UINT32 priority() { return 2; }
virtual void buttonPress(KisButtonPressEvent *e);
virtual void move(KisMoveEvent *e);
virtual void buttonRelease(KisButtonReleaseEvent *e);
virtual void paint(KisCanvasPainter& gc);
- virtual void paint(KisCanvasPainter& gc, const QRect& rc);
+ virtual void paint(KisCanvasPainter& gc, const TQRect& rc);
private:
void paintOutline();
- void paintOutline(KisCanvasPainter& gc, const QRect& rc);
+ void paintOutline(KisCanvasPainter& gc, const TQRect& rc);
public slots:
@@ -69,12 +70,12 @@ private slots:
private:
KisCanvasSubject *m_subject;
- QPoint m_startPos;
- QPoint m_endPos;
+ TQPoint m_startPos;
+ TQPoint m_endPos;
bool m_dragging;
- QCursor m_plusCursor;
- QCursor m_minusCursor;
- QTimer m_timer;
+ TQCursor m_plusCursor;
+ TQCursor m_minusCursor;
+ TQTimer m_timer;
};