From 10308be19ef7fa44699562cc75946e7ea1fdf6b9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 7 Jan 2011 03:45:53 +0000 Subject: Revert automated changes Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kjs/ustring.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kjs/ustring.h') diff --git a/kjs/ustring.h b/kjs/ustring.h index f681a726e..0cdfa3f0f 100644 --- a/kjs/ustring.h +++ b/kjs/ustring.h @@ -79,7 +79,7 @@ namespace KJS { /** * @return the 16 bit Unicode value of the character */ - unsigned short tqunicode() const { return uc; } + unsigned short unicode() const { return uc; } public: /** * @return The character converted to lower case. @@ -132,7 +132,7 @@ namespace KJS { /** * @return Unicode value. */ - unsigned short tqunicode() const { return ref().uc; } + unsigned short unicode() const { return ref().uc; } /** * @return Lower byte. */ @@ -158,7 +158,7 @@ namespace KJS { int offset; }; - inline UChar::UChar(const UCharReference &c) : uc(c.tqunicode()) { } + inline UChar::UChar(const UCharReference &c) : uc(c.unicode()) { } /** * @short 8 bit char based string class @@ -410,15 +410,15 @@ namespace KJS { * @return Position of first occurrence of f starting at position pos. * -1 if the search was not successful. */ - int tqfind(const UString &f, int pos = 0) const; - int tqfind(UChar, int pos = 0) const; + int find(const UString &f, int pos = 0) const; + int find(UChar, int pos = 0) const; /** * @return Position of first occurrence of f searching backwards from * position pos. * -1 if the search was not successful. */ - int rtqfind(const UString &f, int pos) const; - int rtqfind(UChar, int pos) const; + int rfind(const UString &f, int pos) const; + int rfind(UChar, int pos) const; /** * @return The sub string starting at position pos and length len. */ -- cgit v1.2.1