summaryrefslogtreecommitdiffstats
path: root/ksvg/impl/SVGURIReferenceImpl.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitda4be7880ff1de6415ab6256afd2514e64f5fa2e (patch)
tree0862c14883af0435b012f6f592221fc167ed7d91 /ksvg/impl/SVGURIReferenceImpl.cc
parentd0a269b9b0361bf71c5dd5787be0839f9dcace8c (diff)
downloadtdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.tar.gz
tdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.zip
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
Diffstat (limited to 'ksvg/impl/SVGURIReferenceImpl.cc')
-rw-r--r--ksvg/impl/SVGURIReferenceImpl.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/ksvg/impl/SVGURIReferenceImpl.cc b/ksvg/impl/SVGURIReferenceImpl.cc
index 52db7a86..8a6fda76 100644
--- a/ksvg/impl/SVGURIReferenceImpl.cc
+++ b/ksvg/impl/SVGURIReferenceImpl.cc
@@ -50,7 +50,7 @@ SVGAnimatedStringImpl *SVGURIReferenceImpl::href() const
bool SVGURIReferenceImpl::parseURIReference(const TQString &urireference, TQString &uri, TQString &elementreference)
{
- int seperator = urireference.tqfind("#");
+ int seperator = urireference.find("#");
if(seperator == -1)
return false;
@@ -71,14 +71,14 @@ TQString SVGURIReferenceImpl::getTarget(const TQString &url)
{
if(url.startsWith("url(")) // URI References, ie. fill:url(#target)
{
- unsigned int start = url.tqfind("#") + 1;
- unsigned int end = url.tqfindRev(")");
+ unsigned int start = url.find("#") + 1;
+ unsigned int end = url.findRev(")");
return url.mid(start, end - start);
}
- else if(url.tqfind("#") > -1) // format is #target
+ else if(url.find("#") > -1) // format is #target
{
- unsigned int start = url.tqfind("#") + 1;
+ unsigned int start = url.find("#") + 1;
return url.mid(start, url.length() - start);
}