diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /ksvg/impl/SVGUseElementImpl.cc | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-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/SVGUseElementImpl.cc')
-rw-r--r-- | ksvg/impl/SVGUseElementImpl.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ksvg/impl/SVGUseElementImpl.cc b/ksvg/impl/SVGUseElementImpl.cc index 3bd38a42..457436cb 100644 --- a/ksvg/impl/SVGUseElementImpl.cc +++ b/ksvg/impl/SVGUseElementImpl.cc @@ -20,7 +20,7 @@ #include <kdebug.h> -#include <qstring.h> +#include <tqstring.h> #include "KSVGLoader.h" #include "KSVGCanvas.h" @@ -169,7 +169,7 @@ void SVGUseElementImpl::putValueProperty(ExecState *exec, int token, const Value break; case Href: { - QString url = value.toString(exec).qstring(); + TQString url = value.toString(exec).qstring(); href()->setBaseVal(SVGURIReferenceImpl::getTarget(url)); break; } @@ -212,7 +212,7 @@ void SVGUseElementImpl::createItem(KSVGCanvas *c) { // ownerSVGElement()->getElementById() is wrong here. // It could reference elements from other documents when using getURL (Niko) - QString filename, id; + TQString filename, id; DOM::DOMString url = getAttribute("href"); if(!SVGURIReferenceImpl::parseURIReference(url.string(), filename, id)) return; @@ -223,7 +223,7 @@ void SVGUseElementImpl::createItem(KSVGCanvas *c) KURL fragmentUrl(ownerDoc()->baseUrl(), url.string()); id = fragmentUrl.ref(); - fragmentUrl.setRef(QString::null); + fragmentUrl.setRef(TQString::null); orig = KSVGLoader::getSVGFragment(fragmentUrl, ownerDoc(), id); } @@ -250,11 +250,11 @@ void SVGUseElementImpl::createItem(KSVGCanvas *c) SVGElementImpl *clone = orig->cloneNode(true); // Apply the use-correction - QString trans; + TQString trans; trans += " translate("; - trans += QString::number(x()->baseVal()->value()); + trans += TQString::number(x()->baseVal()->value()); trans += " "; - trans += QString::number(y()->baseVal()->value()); + trans += TQString::number(y()->baseVal()->value()); trans += ")"; // Apply the transform attribute and render the element @@ -304,7 +304,7 @@ void SVGUseElementImpl::createItem(KSVGCanvas *c) dynamic_cast<SVGLocatableImpl *>(parent)->updateCachedScreenCTM(screenCTM()); // Redirect local ecma event handlers to the correspondingElement - QPtrListIterator<SVGRegisteredEventListener> it(eventListeners()); + TQPtrListIterator<SVGRegisteredEventListener> it(eventListeners()); SVGRegisteredEventListener *eventListener; while((eventListener = it.current()) != 0) { |