summaryrefslogtreecommitdiffstats
path: root/ksvg/impl/SVGLocatableImpl.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:47:59 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:47:59 -0600
commitc2637a0da6d9a1c8626ca39f8451ab3b7cda487a (patch)
treebe38034f085e8be24f14f329f87a611d319e6259 /ksvg/impl/SVGLocatableImpl.cc
parent3fd343f2c6b0545bd750b2939c74be3834b13274 (diff)
downloadtdegraphics-c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.tar.gz
tdegraphics-c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'ksvg/impl/SVGLocatableImpl.cc')
-rw-r--r--ksvg/impl/SVGLocatableImpl.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/ksvg/impl/SVGLocatableImpl.cc b/ksvg/impl/SVGLocatableImpl.cc
index 63384d7e..0ae143fa 100644
--- a/ksvg/impl/SVGLocatableImpl.cc
+++ b/ksvg/impl/SVGLocatableImpl.cc
@@ -92,13 +92,13 @@ void SVGLocatableImpl::updateCachedScreenCTM(const SVGMatrixImpl *parentScreenCT
// Notify the element
onScreenCTMUpdated();
- SVGShapeImpl *tqshape = dynamic_cast<SVGShapeImpl *>(this);
+ SVGShapeImpl *shape = dynamic_cast<SVGShapeImpl *>(this);
- if(tqshape)
+ if(shape)
{
// TODO: Update due to matrix animations
- //if(tqshape->item())
- // tqshape->item()->update(updateReason);
+ //if(shape->item())
+ // shape->item()->update(updateReason);
SVGElementImpl *element = dynamic_cast<SVGElementImpl *>(this);
@@ -119,9 +119,9 @@ void SVGLocatableImpl::checkCachedScreenCTM(const SVGMatrixImpl *parentScreenCTM
if(m_cachedScreenCTMIsValid)
{
SVGElementImpl *element = dynamic_cast<SVGElementImpl *>(this);
- SVGShapeImpl *tqshape = dynamic_cast<SVGShapeImpl *>(this);
+ SVGShapeImpl *shape = dynamic_cast<SVGShapeImpl *>(this);
- if(tqshape)
+ if(shape)
{
DOM::Node node = element->firstChild();
for(; !node.isNull(); node = node.nextSibling())
@@ -184,9 +184,9 @@ Value SVGLocatableImplProtoFunc::call(ExecState *exec, Object &thisObj, const Li
return container->getBBox()->cache(exec);
else
{
- SVGShapeImpl *tqshape = dynamic_cast<SVGShapeImpl *>(obj);
- if(tqshape)
- return tqshape->getBBox()->cache(exec);
+ SVGShapeImpl *shape = dynamic_cast<SVGShapeImpl *>(obj);
+ if(shape)
+ return shape->getBBox()->cache(exec);
else
return obj->getBBox()->cache(exec);
}