summaryrefslogtreecommitdiffstats
path: root/krita/plugins/tools/selectiontools/kis_tool_select_brush.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/selectiontools/kis_tool_select_brush.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/selectiontools/kis_tool_select_brush.h')
-rw-r--r--krita/plugins/tools/selectiontools/kis_tool_select_brush.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/krita/plugins/tools/selectiontools/kis_tool_select_brush.h b/krita/plugins/tools/selectiontools/kis_tool_select_brush.h
index cc49cd5e..a85ac55f 100644
--- a/krita/plugins/tools/selectiontools/kis_tool_select_brush.h
+++ b/krita/plugins/tools/selectiontools/kis_tool_select_brush.h
@@ -25,18 +25,19 @@
#include <kis_tool_freehand.h>
#include <kis_tool_factory.h>
-class QWidget;
+class TQWidget;
class KisPoint;
class KisSelectedTransaction;
class KisSelectionOptions;
/**
* The selection brush creates a selection by painting with the current
- * brush shape. Not sure what kind of an icon could represent this...
+ * brush tqshape. Not sure what kind of an icon could represent this...
* Depends a bit on how we're going to visualize selections.
*/
class KisToolSelectBrush : public KisToolFreehand {
Q_OBJECT
+ TQ_OBJECT
typedef KisToolFreehand super;
public:
@@ -44,10 +45,10 @@ public:
virtual ~KisToolSelectBrush();
virtual void setup(KActionCollection *collection);
- virtual Q_UINT32 priority() { return 1; }
+ virtual TQ_UINT32 priority() { return 1; }
virtual enumToolType toolType() { return TOOL_SELECT; }
- virtual QWidget* createOptionWidget(QWidget* parent);
- virtual QWidget* optionWidget();
+ virtual TQWidget* createOptionWidget(TQWidget* tqparent);
+ virtual TQWidget* optionWidget();
public slots:
virtual void activate();