From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: 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 --- krita/plugins/tools/selectiontools/kis_tool_select_brush.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'krita/plugins/tools/selectiontools/kis_tool_select_brush.h') 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 #include -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(); -- cgit v1.2.1