From da4be7880ff1de6415ab6256afd2514e64f5fa2e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksvg/impl/SVGEcma.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ksvg/impl/SVGEcma.cc') diff --git a/ksvg/impl/SVGEcma.cc b/ksvg/impl/SVGEcma.cc index c7105d41..0ab19f3a 100644 --- a/ksvg/impl/SVGEcma.cc +++ b/ksvg/impl/SVGEcma.cc @@ -74,7 +74,7 @@ using namespace KSVG; isSupported SVGDOMNodeBridge::IsSupported DontDelete|Function 2 addEventListener SVGDOMNodeBridge::AddEventListener DontDelete|Function 3 removeEventListener SVGDOMNodeBridge::RemoveEventListener DontDelete|Function 3 - tqcontains SVGDOMNodeBridge::Contains DontDelete|Function 1 + contains SVGDOMNodeBridge::Contains DontDelete|Function 1 getNodeName SVGDOMNodeBridge::GetNodeName DontDelete|Function 0 getNodeValue SVGDOMNodeBridge::GetNodeValue DontDelete|Function 0 getNodeType SVGDOMNodeBridge::GetNodeType DontDelete|Function 0 @@ -178,10 +178,10 @@ void removeItem(ExecState *exec, DOM::Node &node) void correctHandles(SVGElementImpl *main, DOM::Node &node) { DOM::Element old(node.handle()); - DOM::Element *tqreplace = static_cast(main->ownerDoc()->getElementFromHandle(node.handle())); + DOM::Element *replace = static_cast(main->ownerDoc()->getElementFromHandle(node.handle())); - if(tqreplace && node.nodeType() == DOM::Node::ELEMENT_NODE) - *tqreplace = old; + if(replace && node.nodeType() == DOM::Node::ELEMENT_NODE) + *replace = old; if(node.hasChildNodes()) { @@ -556,7 +556,7 @@ Value SVGDOMElementBridgeProtoFunc::call(ExecState *exec, Object &thisObj, const { // For now, we strip the NS part (Rob) DOM::DOMString attr = args[1].toString(exec).string(); - int pos = attr.string().tqfind(':'); + int pos = attr.string().find(':'); if(pos > -1) attr = attr.string().mid(pos + 1); -- cgit v1.2.1