diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | e7366c97c998679efa80cf61c88e64a11a3d3c33 (patch) | |
tree | a161d2940165f6cc47c05f0271ad8e5f64ffe6e8 /ksvg/impl/SVGUseElementImpl.cc | |
parent | da4be7880ff1de6415ab6256afd2514e64f5fa2e (diff) | |
download | tdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.tar.gz tdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.zip |
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
Diffstat (limited to 'ksvg/impl/SVGUseElementImpl.cc')
-rw-r--r-- | ksvg/impl/SVGUseElementImpl.cc | 18 |
1 files changed, 9 insertions, 9 deletions
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 <g> - SVGElementImpl *tqparent = 0; + // Create a parent, a <g> + SVGElementImpl *parent = 0; DOM::Element impl = static_cast<DOM::Document *>(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<SVGSymbolElementImpl *>(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<SVGLocatableImpl *>(tqparent)->updateCachedScreenCTM(screenCTM()); + dynamic_cast<SVGLocatableImpl *>(parent)->updateCachedScreenCTM(screenCTM()); // Redirect local ecma event handlers to the correspondingElement TQPtrListIterator<SVGRegisteredEventListener> it(eventListeners()); |