From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kolourpaint/kptextstyle.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kolourpaint/kptextstyle.cpp') diff --git a/kolourpaint/kptextstyle.cpp b/kolourpaint/kptextstyle.cpp index 9f4d8fce..61f58dab 100644 --- a/kolourpaint/kptextstyle.cpp +++ b/kolourpaint/kptextstyle.cpp @@ -28,9 +28,9 @@ #include -#include -#include -#include +#include +#include +#include kpTextStyle::kpTextStyle () @@ -41,7 +41,7 @@ kpTextStyle::kpTextStyle () { } -kpTextStyle::kpTextStyle (const QString &fontFamily, +kpTextStyle::kpTextStyle (const TQString &fontFamily, int fontSize, bool isBold, bool isItalic, bool isUnderline, bool isStrikeThru, @@ -62,7 +62,7 @@ kpTextStyle::~kpTextStyle () // friend -QDataStream &operator<< (QDataStream &stream, const kpTextStyle &textStyle) +TQDataStream &operator<< (TQDataStream &stream, const kpTextStyle &textStyle) { stream << textStyle.m_fontFamily; stream << textStyle.m_fontSize; @@ -78,7 +78,7 @@ QDataStream &operator<< (QDataStream &stream, const kpTextStyle &textStyle) } // friend -QDataStream &operator>> (QDataStream &stream, kpTextStyle &textStyle) +TQDataStream &operator>> (TQDataStream &stream, kpTextStyle &textStyle) { stream >> textStyle.m_fontFamily; stream >> textStyle.m_fontSize; @@ -121,13 +121,13 @@ bool kpTextStyle::operator!= (const kpTextStyle &rhs) const // public -QString kpTextStyle::fontFamily () const +TQString kpTextStyle::fontFamily () const { return m_fontFamily; } // public -void kpTextStyle::setFontFamily (const QString &f) +void kpTextStyle::setFontFamily (const TQString &f) { m_fontFamily = f; } @@ -261,9 +261,9 @@ kpColor kpTextStyle::effectiveBackgroundColor () const // public -QFont kpTextStyle::font () const +TQFont kpTextStyle::font () const { - QFont fnt (m_fontFamily, m_fontSize); + TQFont fnt (m_fontFamily, m_fontSize); fnt.setBold (m_isBold); fnt.setItalic (m_isItalic); fnt.setUnderline (m_isUnderline); @@ -273,7 +273,7 @@ QFont kpTextStyle::font () const } // public -QFontMetrics kpTextStyle::fontMetrics () const +TQFontMetrics kpTextStyle::fontMetrics () const { - return QFontMetrics (font ()); + return TQFontMetrics (font ()); } -- cgit v1.2.1