summaryrefslogtreecommitdiffstats
path: root/ksvg/impl/SVGTextElementImpl.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/SVGTextElementImpl.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/SVGTextElementImpl.cc')
-rw-r--r--ksvg/impl/SVGTextElementImpl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ksvg/impl/SVGTextElementImpl.cc b/ksvg/impl/SVGTextElementImpl.cc
index 634c227d..82a53ea9 100644
--- a/ksvg/impl/SVGTextElementImpl.cc
+++ b/ksvg/impl/SVGTextElementImpl.cc
@@ -49,7 +49,7 @@ long SVGTextElementImpl::getNumberOfChars()
return text().length();
}
-QString SVGTextElementImpl::text()
+TQString SVGTextElementImpl::text()
{
// Otherwhise some js scripts which require a child, don't work (Niko)
if(!hasChildNodes())
@@ -80,7 +80,7 @@ void SVGTextElementImpl::createItem(KSVGCanvas *c )
{
m_item = c->createText(this);
// Set up bbox before insert(), as that may render the item
- QRect rect = m_item->bbox();
+ TQRect rect = m_item->bbox();
m_bboxX = rect.x();
m_bboxY = rect.y();
m_bboxWidth = rect.width();
@@ -89,7 +89,7 @@ void SVGTextElementImpl::createItem(KSVGCanvas *c )
}
}
-bool SVGTextElementImpl::prepareMouseEvent(const QPoint &p, const QPoint &, SVGMouseEventImpl *mev)
+bool SVGTextElementImpl::prepareMouseEvent(const TQPoint &p, const TQPoint &, SVGMouseEventImpl *mev)
{
// TODO : pointer-events should be stored here, not in SVGStylableImpl.
SVGStylableImpl *style = dynamic_cast<SVGStylableImpl *>(this);