summaryrefslogtreecommitdiffstats
path: root/kjs/ustring.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
commit10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch)
tree4bc444c00a79e88105f2cfce5b6209994c413ca0 /kjs/ustring.h
parent307136d8eef0ba133b78ceee8e901138d4c996a1 (diff)
downloadtdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz
tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip
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
Diffstat (limited to 'kjs/ustring.h')
-rw-r--r--kjs/ustring.h14
1 files changed, 7 insertions, 7 deletions
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.
*/