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 --- ksvg/core/KSVGHelper.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'ksvg/core/KSVGHelper.h') diff --git a/ksvg/core/KSVGHelper.h b/ksvg/core/KSVGHelper.h index e310889f..27c8b88f 100644 --- a/ksvg/core/KSVGHelper.h +++ b/ksvg/core/KSVGHelper.h @@ -23,8 +23,8 @@ #ifdef __cplusplus -#include -#include +#include +#include #include "Affine.h" #include "Point.h" #include "SVGMatrixImpl.h" @@ -62,21 +62,21 @@ public: KSVGHelper::matrixToAffine(matrix, affine.data()); } - static QString toColorString(QColor color) + static TQString toColorString(TQColor color) { int r = color.red(); int g = color.green(); int b = color.blue(); - return "rgb(" + QString::number(r) + "," + QString::number(g) + "," + QString::number(b) + ")"; + return "rgb(" + TQString::number(r) + "," + TQString::number(g) + "," + TQString::number(b) + ")"; } - static unsigned int toArtColor(const QColor &color) + static unsigned int toArtColor(const TQColor &color) { return (qRed(color.rgb()) << 24) | (qGreen(color.rgb()) << 16) | ( qBlue(color.rgb()) << 8) | (qAlpha(color.rgb())); } - static unsigned int toArtColor(const QColor &color, short opacity) + static unsigned int toArtColor(const TQColor &color, short opacity) { return (qRed(color.rgb()) << 24) | (qGreen(color.rgb()) << 16) | ( qBlue(color.rgb()) << 8) | (opacity); } @@ -113,7 +113,7 @@ public: void clear() { m_points.clear(); } private: - QValueVector m_points; + TQValueVector m_points; }; class KSVGRectangle : public KSVGPolygon -- cgit v1.2.1