summaryrefslogtreecommitdiffstats
path: root/kolourpaint/kptextstyle.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kolourpaint/kptextstyle.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolourpaint/kptextstyle.h')
-rw-r--r--kolourpaint/kptextstyle.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kolourpaint/kptextstyle.h b/kolourpaint/kptextstyle.h
index 9356ce2c..c55fc97d 100644
--- a/kolourpaint/kptextstyle.h
+++ b/kolourpaint/kptextstyle.h
@@ -28,19 +28,19 @@
#ifndef __kp_text_style_h__
#define __kp_text_style_h__
-#include <qstring.h>
+#include <tqstring.h>
#include <kpcolor.h>
-class QDataStream;
-class QFont;
-class QFontMetrics;
+class TQDataStream;
+class TQFont;
+class TQFontMetrics;
class kpTextStyle
{
public:
kpTextStyle ();
- kpTextStyle (const QString &fontFamily,
+ kpTextStyle (const TQString &fontFamily,
int fontSize,
bool isBold, bool isItalic,
bool isUnderline, bool isStrikeThru,
@@ -50,14 +50,14 @@ public:
~kpTextStyle ();
- friend QDataStream &operator<< (QDataStream &stream, const kpTextStyle &textStyle);
- friend QDataStream &operator>> (QDataStream &stream, kpTextStyle &textStyle);
+ friend TQDataStream &operator<< (TQDataStream &stream, const kpTextStyle &textStyle);
+ friend TQDataStream &operator>> (TQDataStream &stream, kpTextStyle &textStyle);
bool operator== (const kpTextStyle &rhs) const;
bool operator!= (const kpTextStyle &rhs) const;
- QString fontFamily () const;
- void setFontFamily (const QString &f);
+ TQString fontFamily () const;
+ void setFontFamily (const TQString &f);
int fontSize () const;
void setFontSize (int s);
@@ -94,11 +94,11 @@ public:
// Else, returns kpColor::transparent.
kpColor effectiveBackgroundColor () const;
- QFont font () const;
- QFontMetrics fontMetrics () const;
+ TQFont font () const;
+ TQFontMetrics fontMetrics () const;
private:
- QString m_fontFamily;
+ TQString m_fontFamily;
int m_fontSize;
bool m_isBold, m_isItalic, m_isUnderline, m_isStrikeThru;
kpColor m_foregroundColor, m_backgroundColor;