summaryrefslogtreecommitdiffstats
path: root/krita/plugins/tools/defaulttools/kis_tool_gradient.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /krita/plugins/tools/defaulttools/kis_tool_gradient.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krita/plugins/tools/defaulttools/kis_tool_gradient.h')
-rw-r--r--krita/plugins/tools/defaulttools/kis_tool_gradient.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/krita/plugins/tools/defaulttools/kis_tool_gradient.h b/krita/plugins/tools/defaulttools/kis_tool_gradient.h
index c80529e3..59d78ad3 100644
--- a/krita/plugins/tools/defaulttools/kis_tool_gradient.h
+++ b/krita/plugins/tools/defaulttools/kis_tool_gradient.h
@@ -37,16 +37,17 @@ class KDoubleNumInput;
class KisCmbComposite;
class KisPainter;
-class QLabel;
-class QPoint;
-class QWidget;
-class QCheckBox;
+class TQLabel;
+class TQPoint;
+class TQWidget;
+class TQCheckBox;
class KisToolGradient : public KisToolPaint {
Q_OBJECT
+ TQ_OBJECT
typedef KisToolPaint super;
public:
@@ -55,7 +56,7 @@ public:
virtual void setup(KActionCollection *collection);
virtual enumToolType toolType() { return TOOL_FILL; }
- virtual Q_UINT32 priority() { return 1; }
+ virtual TQ_UINT32 priority() { return 1; }
virtual void update(KisCanvasSubject *subject);
@@ -64,9 +65,9 @@ public:
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);
- QWidget* createOptionWidget(QWidget* parent);
+ TQWidget* createOptionWidget(TQWidget* tqparent);
public slots:
void slotSetShape(int);
@@ -87,18 +88,18 @@ private:
KisCanvasSubject *m_subject;
- KisGradientPainter::enumGradientShape m_shape;
+ KisGradientPainter::enumGradientShape m_tqshape;
KisGradientPainter::enumGradientRepeat m_repeat;
bool m_reverse;
double m_antiAliasThreshold;
- QLabel *m_lbShape;
- QLabel *m_lbRepeat;
- QCheckBox *m_ckReverse;
- QComboBox *m_cmbShape;
- QComboBox *m_cmbRepeat;
- QLabel *m_lbAntiAliasThreshold;
+ TQLabel *m_lbShape;
+ TQLabel *m_lbRepeat;
+ TQCheckBox *m_ckReverse;
+ TQComboBox *m_cmbShape;
+ TQComboBox *m_cmbRepeat;
+ TQLabel *m_lbAntiAliasThreshold;
KDoubleNumInput *m_slAntiAliasThreshold;
};