diff options
Diffstat (limited to 'krita/ui/kis_text_brush.h')
-rw-r--r-- | krita/ui/kis_text_brush.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/krita/ui/kis_text_brush.h b/krita/ui/kis_text_brush.h index c1cb07c6..3c8835de 100644 --- a/krita/ui/kis_text_brush.h +++ b/krita/ui/kis_text_brush.h @@ -29,7 +29,7 @@ class KisTextBrushResource : public KisBrush { setBrushType(MASK); } - KisTextBrushResource(const QString& txt, const QFont& font) : KisBrush("") + KisTextBrushResource(const TQString& txt, const TQFont& font) : KisBrush("") { setFont(font); setText(txt); @@ -38,19 +38,20 @@ class KisTextBrushResource : public KisBrush }; public: virtual bool load() { return false; }; - void setText(const QString& txt) { m_txt = txt; }; - void setFont(const QFont& font) { m_font = font; }; + void setText(const TQString& txt) { m_txt = txt; }; + void setFont(const TQFont& font) { m_font = font; }; void updateBrush(); private: - QFont m_font; - QString m_txt; + TQFont m_font; + TQString m_txt; }; class KisTextBrush : public KisWdgTextBrush { Q_OBJECT + TQ_OBJECT public: - KisTextBrush(QWidget *parent, const char* name, const QString& caption); + KisTextBrush(TQWidget *tqparent, const char* name, const TQString& caption); signals: void activatedResource(KisResource *r); @@ -61,7 +62,7 @@ private slots: private: KisTextBrushResource* m_textBrushResource; - QFont m_font; + TQFont m_font; }; |