summaryrefslogtreecommitdiffstats
path: root/ksvg/impl/SVGTransformableImpl.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /ksvg/impl/SVGTransformableImpl.cc
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksvg/impl/SVGTransformableImpl.cc')
-rw-r--r--ksvg/impl/SVGTransformableImpl.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/ksvg/impl/SVGTransformableImpl.cc b/ksvg/impl/SVGTransformableImpl.cc
index 59dd904b..ce69aa83 100644
--- a/ksvg/impl/SVGTransformableImpl.cc
+++ b/ksvg/impl/SVGTransformableImpl.cc
@@ -83,18 +83,18 @@ SVGMatrixImpl *SVGTransformableImpl::getCTM()
SVGElementImpl *element = dynamic_cast<SVGElementImpl *>(this);
Q_ASSERT(element);
- DOM::Node parentNde = element->parentNode();
+ DOM::Node tqparentNde = element->parentNode();
- if(!parentNde.isNull() && parentNde.nodeType() != DOM::Node::DOCUMENT_NODE)
+ if(!tqparentNde.isNull() && tqparentNde.nodeType() != DOM::Node::DOCUMENT_NODE)
{
- SVGElementImpl *parent = element->ownerDoc()->getElementFromHandle(parentNde.handle());
- SVGLocatableImpl *locatableParent = dynamic_cast<SVGLocatableImpl *>(parent);
+ SVGElementImpl *tqparent = element->ownerDoc()->getElementFromHandle(tqparentNde.handle());
+ SVGLocatableImpl *locatableParent = dynamic_cast<SVGLocatableImpl *>(tqparent);
if(locatableParent)
{
- SVGMatrixImpl *parentCTM = locatableParent->getCTM();
- ctm->multiply(parentCTM);
- parentCTM->deref();
+ SVGMatrixImpl *tqparentCTM = locatableParent->getCTM();
+ ctm->multiply(tqparentCTM);
+ tqparentCTM->deref();
}
}
@@ -124,7 +124,7 @@ void SVGTransformableImpl::updateLocalMatrix()
}
}
- invalidateCachedMatrices();
+ tqinvalidateCachedMatrices();
}
// Ecma stuff