diff options
Diffstat (limited to 'krita/plugins/tools/defaulttools/kis_tool_text.h')
-rw-r--r-- | krita/plugins/tools/defaulttools/kis_tool_text.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/krita/plugins/tools/defaulttools/kis_tool_text.h b/krita/plugins/tools/defaulttools/kis_tool_text.h index b7bc857c..b2aa7e18 100644 --- a/krita/plugins/tools/defaulttools/kis_tool_text.h +++ b/krita/plugins/tools/defaulttools/kis_tool_text.h @@ -23,10 +23,10 @@ #include "kis_tool_factory.h" -class QFont; -class QLabel; -class QWidget; -class QPushButton; +class TQFont; +class TQLabel; +class TQWidget; +class TQPushButton; class KSqueezedTextLabel; @@ -34,6 +34,7 @@ class KSqueezedTextLabel; class KisToolText : public KisToolPaint { typedef KisToolPaint super; Q_OBJECT + TQ_OBJECT public: KisToolText(); @@ -42,20 +43,20 @@ public: virtual void update(KisCanvasSubject *subject); virtual void setup(KActionCollection *collection); virtual enumToolType toolType() { return TOOL_FILL; } - virtual Q_UINT32 priority() { return 2; } + virtual TQ_UINT32 priority() { return 2; } virtual void buttonPress(KisButtonPressEvent*); virtual void buttonRelease(KisButtonReleaseEvent *e); - virtual QWidget* createOptionWidget(QWidget* parent); + virtual TQWidget* createOptionWidget(TQWidget* tqparent); public slots: virtual void setFont(); private: KisCanvasSubject *m_subject; - QFont m_font; - QLabel *m_lbFont; + TQFont m_font; + TQLabel *m_lbFont; KSqueezedTextLabel *m_lbFontName; - QPushButton *m_btnMoreFonts; + TQPushButton *m_btnMoreFonts; bool m_wasPressed; // use for preventing bug:136151 bool m_windowIsBeingShown; }; |