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 --- .../tools/selectiontools/kis_tool_select_contiguous.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'krita/plugins/tools/selectiontools/kis_tool_select_contiguous.h') diff --git a/krita/plugins/tools/selectiontools/kis_tool_select_contiguous.h b/krita/plugins/tools/selectiontools/kis_tool_select_contiguous.h index cc91b3ef..c60b0673 100644 --- a/krita/plugins/tools/selectiontools/kis_tool_select_contiguous.h +++ b/krita/plugins/tools/selectiontools/kis_tool_select_contiguous.h @@ -28,9 +28,9 @@ #include class KisCanvasSubject; -class QWidget; -class QVBoxLayout; -class QCheckBox; +class TQWidget; +class TQVBoxLayout; +class TQCheckBox; class KisSelectionOptions; /** @@ -41,6 +41,7 @@ class KisToolSelectContiguous : public KisToolNonPaint { typedef KisToolNonPaint super; Q_OBJECT + TQ_OBJECT public: KisToolSelectContiguous(); @@ -50,11 +51,11 @@ public: virtual void update(KisCanvasSubject *subject); virtual void setup(KActionCollection *collection); - virtual Q_UINT32 priority() { return 7; } + virtual TQ_UINT32 priority() { return 7; } virtual enumToolType toolType() { return TOOL_SELECT; }; - virtual QWidget* createOptionWidget(QWidget* parent); - virtual QWidget* optionWidget(); + virtual TQWidget* createOptionWidget(TQWidget* tqparent); + virtual TQWidget* optionWidget(); virtual void buttonPress(KisButtonPressEvent *event); -- cgit v1.2.1