summaryrefslogtreecommitdiffstats
path: root/krita/plugins/tools/defaulttools/kis_tool_fill.h
diff options
context:
space:
mode:
Diffstat (limited to 'krita/plugins/tools/defaulttools/kis_tool_fill.h')
-rw-r--r--krita/plugins/tools/defaulttools/kis_tool_fill.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/krita/plugins/tools/defaulttools/kis_tool_fill.h b/krita/plugins/tools/defaulttools/kis_tool_fill.h
index 2b121d9c1..411d711e2 100644
--- a/krita/plugins/tools/defaulttools/kis_tool_fill.h
+++ b/krita/plugins/tools/defaulttools/kis_tool_fill.h
@@ -21,15 +21,15 @@
#ifndef __filltool_h__
#define __filltool_h__
-#include <qpoint.h>
+#include <tqpoint.h>
#include "kis_point.h"
#include "kis_tool_paint.h"
class KisPainter;
-class QWidget;
-class QLabel;
-class QCheckBox;
+class TQWidget;
+class TQLabel;
+class TQCheckBox;
class KIntNumInput;
class KActionCollection;
@@ -37,6 +37,7 @@ class KisToolFill : public KisToolPaint {
typedef KisToolPaint super;
Q_OBJECT
+ TQ_OBJECT
public:
@@ -45,7 +46,7 @@ public:
virtual void setup(KActionCollection *collection);
virtual enumToolType toolType() { return TOOL_FILL; }
- virtual Q_UINT32 priority() { return 0; }
+ virtual TQ_UINT32 priority() { return 0; }
virtual void update(KisCanvasSubject *subject);
@@ -54,7 +55,7 @@ public:
bool flood(int startX, int startY);
- virtual QWidget* createOptionWidget(QWidget* parent);
+ virtual TQWidget* createOptionWidget(TQWidget* tqparent);
public slots:
virtual void slotSetThreshold(int);
@@ -65,20 +66,20 @@ public slots:
private:
KisPoint m_startPos;
int m_threshold;
- Q_INT32 m_depth;
+ TQ_INT32 m_depth;
KisLayerSP m_lay;
- Q_UINT8* m_oldColor, *m_color;
+ TQ_UINT8* m_oldColor, *m_color;
KisPainter *m_painter;
KisCanvasSubject *m_subject;
KisImageSP m_currentImage;
bool *m_map, m_unmerged, m_usePattern, m_fillOnlySelection;
KisSelectionSP m_selection;
- QLabel *m_lbThreshold;
+ TQLabel *m_lbThreshold;
KIntNumInput *m_slThreshold;
- QCheckBox *m_checkUsePattern;
- QCheckBox *m_checkSampleMerged;
- QCheckBox *m_checkFillSelection;
+ TQCheckBox *m_checkUsePattern;
+ TQCheckBox *m_checkSampleMerged;
+ TQCheckBox *m_checkFillSelection;
bool m_wasPressed; // use for preventing bug:133148
};