summaryrefslogtreecommitdiffstats
path: root/ksvg/impl/SVGTransformImpl.cc
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 /ksvg/impl/SVGTransformImpl.cc
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 'ksvg/impl/SVGTransformImpl.cc')
-rw-r--r--ksvg/impl/SVGTransformImpl.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/ksvg/impl/SVGTransformImpl.cc b/ksvg/impl/SVGTransformImpl.cc
index 53ea9bf3..5b2d754a 100644
--- a/ksvg/impl/SVGTransformImpl.cc
+++ b/ksvg/impl/SVGTransformImpl.cc
@@ -120,27 +120,27 @@ void SVGTransformImpl::setSkewY(double angle)
m_matrix->skewY(angle);
}
-QString SVGTransformImpl::toString() const
+TQString SVGTransformImpl::toString() const
{
switch (m_type)
{
case SVG_TRANSFORM_UNKNOWN:
- return QString();
+ return TQString();
case SVG_TRANSFORM_MATRIX:
- return QString("matrix(" + QString::number(m_matrix->a()) + " " + QString::number(m_matrix->b()) + " " + QString::number(m_matrix->c()) + " " + QString::number(m_matrix->d()) + " " + QString::number(m_matrix->e()) + " " + QString::number(m_matrix->f()) + ")");
+ return TQString("matrix(" + TQString::number(m_matrix->a()) + " " + TQString::number(m_matrix->b()) + " " + TQString::number(m_matrix->c()) + " " + TQString::number(m_matrix->d()) + " " + TQString::number(m_matrix->e()) + " " + TQString::number(m_matrix->f()) + ")");
case SVG_TRANSFORM_TRANSLATE:
- return QString("translate(" + QString::number(m_matrix->e()) + " " + QString::number(m_matrix->f()) + ")");
+ return TQString("translate(" + TQString::number(m_matrix->e()) + " " + TQString::number(m_matrix->f()) + ")");
case SVG_TRANSFORM_SCALE:
- return QString("scale(" + QString::number(m_matrix->a()) + " " + QString::number(m_matrix->d()) + ")");
+ return TQString("scale(" + TQString::number(m_matrix->a()) + " " + TQString::number(m_matrix->d()) + ")");
case SVG_TRANSFORM_ROTATE:
- return QString("rotate(" + QString::number(m_angle) + " " + QString::number(m_cx) + " " + QString::number(m_cy) + ")");
+ return TQString("rotate(" + TQString::number(m_angle) + " " + TQString::number(m_cx) + " " + TQString::number(m_cy) + ")");
case SVG_TRANSFORM_SKEWX:
- return QString("skewX(" + QString::number(m_angle) + ")");
+ return TQString("skewX(" + TQString::number(m_angle) + ")");
case SVG_TRANSFORM_SKEWY:
- return QString("skewY(" + QString::number(m_angle) + ")");
+ return TQString("skewY(" + TQString::number(m_angle) + ")");
default:
kdWarning() << "Unknown transform type " << m_type << endl;
- return QString();
+ return TQString();
}
}