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/defaulttools/kis_tool_brush.h | 27 ++++++++++++----------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'krita/plugins/tools/defaulttools/kis_tool_brush.h') diff --git a/krita/plugins/tools/defaulttools/kis_tool_brush.h b/krita/plugins/tools/defaulttools/kis_tool_brush.h index 0024213d..a23e8d12 100644 --- a/krita/plugins/tools/defaulttools/kis_tool_brush.h +++ b/krita/plugins/tools/defaulttools/kis_tool_brush.h @@ -25,16 +25,17 @@ #include "kis_tool_factory.h" #include "koffice_export.h" -class QTimer; +class TQTimer; class KisPoint; -class QHBoxLayout; -class QPainter; -class QRect; -class QCheckBox; -class QGridLayout; +class TQHBoxLayout; +class TQPainter; +class TQRect; +class TQCheckBox; +class TQGridLayout; class KRITACORE_EXPORT KisToolBrush : public KisToolFreehand { Q_OBJECT + TQ_OBJECT typedef KisToolFreehand super; public: @@ -43,15 +44,15 @@ public: virtual void update(KisCanvasSubject *subject); virtual void setup(KActionCollection *collection); virtual enumToolType toolType() { return TOOL_SHAPE; } - virtual Q_UINT32 priority() { return 0; } - QWidget* createOptionWidget(QWidget* parent); + virtual TQ_UINT32 priority() { return 0; } + TQWidget* createOptionWidget(TQWidget* tqparent); protected: virtual void initPaint(KisEvent *e); virtual void endPaint(); virtual void move(KisMoveEvent *e); - virtual void leave(QEvent *e); + virtual void leave(TQEvent *e); private slots: @@ -60,10 +61,10 @@ private slots: private: - Q_INT32 m_rate; - QTimer * m_timer; - QGridLayout* m_optionLayout; - QCheckBox * m_chkDirect; + TQ_INT32 m_rate; + TQTimer * m_timer; + TQGridLayout* m_optionLayout; + TQCheckBox * m_chkDirect; }; class KisToolBrushFactory : public KisToolFactory { -- cgit v1.2.1