From 6e21bc798ba1066147d69dcc2d5c222ffafb9a90 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/kdelibs@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- khtml/xml/dom_stringimpl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'khtml/xml/dom_stringimpl.cpp') diff --git a/khtml/xml/dom_stringimpl.cpp b/khtml/xml/dom_stringimpl.cpp index 3f904ae76..14aa4f5ea 100644 --- a/khtml/xml/dom_stringimpl.cpp +++ b/khtml/xml/dom_stringimpl.cpp @@ -286,14 +286,14 @@ khtml::Length* DOMStringImpl::toCoordsArray(int& len) const } str = str.simplifyWhiteSpace(); - len = str.tqcontains(' ') + 1; + len = str.contains(' ') + 1; khtml::Length* r = new khtml::Length[len]; int i = 0; int pos = 0; int pos2; - while((pos2 = str.tqfind(' ', pos)) != -1) { + while((pos2 = str.find(' ', pos)) != -1) { r[i++] = parseLength((TQChar *) str.tqunicode()+pos, pos2-pos); pos = pos2+1; } @@ -307,7 +307,7 @@ khtml::Length* DOMStringImpl::toLengthArray(int& len) const TQString str(s, l); str = str.simplifyWhiteSpace(); - len = str.tqcontains(',') + 1; + len = str.contains(',') + 1; // If we have no commas, we have no array. if( len == 1 ) @@ -319,7 +319,7 @@ khtml::Length* DOMStringImpl::toLengthArray(int& len) const int pos = 0; int pos2; - while((pos2 = str.tqfind(',', pos)) != -1) { + while((pos2 = str.find(',', pos)) != -1) { r[i++] = parseLength((TQChar *) str.tqunicode()+pos, pos2-pos); pos = pos2+1; } -- cgit v1.2.3