From e7366c97c998679efa80cf61c88e64a11a3d3c33 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksvg/impl/SVGUseElementImpl.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'ksvg/impl/SVGUseElementImpl.cc') diff --git a/ksvg/impl/SVGUseElementImpl.cc b/ksvg/impl/SVGUseElementImpl.cc index b7bc40f2..872bb0bc 100644 --- a/ksvg/impl/SVGUseElementImpl.cc +++ b/ksvg/impl/SVGUseElementImpl.cc @@ -243,10 +243,10 @@ void SVGUseElementImpl::createItem(KSVGCanvas *c) setReferencedElement(orig); - // Create a tqparent, a - SVGElementImpl *tqparent = 0; + // Create a parent, a + SVGElementImpl *parent = 0; DOM::Element impl = static_cast(ownerDoc())->createElement("g"); - tqparent = SVGDocumentImpl::createElement("g", impl, ownerDoc()); + parent = SVGDocumentImpl::createElement("g", impl, ownerDoc()); SVGElementImpl *clone = orig->cloneNode(true); // Apply the use-correction @@ -258,8 +258,8 @@ void SVGUseElementImpl::createItem(KSVGCanvas *c) trans += ")"; // Apply the transform attribute and render the element - tqparent->setAttributeInternal("transform", trans); - tqparent->setAttribute("transform", trans); + parent->setAttributeInternal("transform", trans); + parent->setAttribute("transform", trans); // Apply width/height if symbol if(dynamic_cast(clone)) @@ -294,14 +294,14 @@ void SVGUseElementImpl::createItem(KSVGCanvas *c) } } - appendChild(*tqparent); - tqparent->appendChild(*clone); + appendChild(*parent); + parent->appendChild(*clone); - setupSubtree(tqparent, ownerSVGElement(), viewportElement()); + setupSubtree(parent, ownerSVGElement(), viewportElement()); m_instanceRoot->setCorrespondingElement(clone); - dynamic_cast(tqparent)->updateCachedScreenCTM(screenCTM()); + dynamic_cast(parent)->updateCachedScreenCTM(screenCTM()); // Redirect local ecma event handlers to the correspondingElement TQPtrListIterator it(eventListeners()); -- cgit v1.2.1