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/impl/SVGColorImpl.cc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'ksvg/impl/SVGColorImpl.cc') diff --git a/ksvg/impl/SVGColorImpl.cc b/ksvg/impl/SVGColorImpl.cc index a01e1113..799c43ec 100644 --- a/ksvg/impl/SVGColorImpl.cc +++ b/ksvg/impl/SVGColorImpl.cc @@ -20,7 +20,7 @@ #include -#include +#include #include "SVGColor.h" @@ -83,7 +83,7 @@ SVGICCColorImpl *SVGColorImpl::iccColor() const return m_iccColor; } -void SVGColorImpl::setRGBColor(QColor color) +void SVGColorImpl::setRGBColor(TQColor color) { m_colorType = SVG_COLORTYPE_RGBCOLOR; m_rgbColor = DOM::RGBColor(color.rgb()); @@ -92,7 +92,7 @@ void SVGColorImpl::setRGBColor(QColor color) void SVGColorImpl::setRGBColor(int r, int g, int b) { m_colorType = SVG_COLORTYPE_RGBCOLOR; - m_rgbColor = DOM::RGBColor(QColor(r, g, b).rgb()); + m_rgbColor = DOM::RGBColor(TQColor(r, g, b).rgb()); } void SVGColorImpl::setRGBColor(const DOM::DOMString &rgbColor) @@ -395,15 +395,15 @@ void SVGColorImpl::setRGBColor(const DOM::DOMString &rgbColor) void SVGColorImpl::setRGBColorICCColor(const DOM::DOMString &rgbColor, const DOM::DOMString &iccColor) { - QColor color; + TQColor color; - QString content = iccColor.string().right(iccColor.string().length() - 10); - QString iccTarget = content.mid(0, content.find(',')); + TQString content = iccColor.string().right(iccColor.string().length() - 10); + TQString iccTarget = content.mid(0, content.find(',')); - QStringList colors = QStringList::split(',', content); - QString r = colors[1]; - QString g = colors[2]; - QString b = colors[3].left(colors[3].length() - 1); + TQStringList colors = TQStringList::split(',', content); + TQString r = colors[1]; + TQString g = colors[2]; + TQString b = colors[3].left(colors[3].length() - 1); iccTarget = SVGURIReferenceImpl::getTarget(iccTarget); -- cgit v1.2.1