diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
commit | 560378aaca1784ba19806a0414a32b20c744de39 (patch) | |
tree | ce0dfd7c3febf2a1adc7603d1019a8be2083c415 /kjs/ustring.h | |
parent | d4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff) | |
download | tdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kjs/ustring.h')
-rw-r--r-- | kjs/ustring.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kjs/ustring.h b/kjs/ustring.h index 0cdfa3f0f..f681a726e 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 unicode() const { return uc; } + unsigned short tqunicode() const { return uc; } public: /** * @return The character converted to lower case. @@ -132,7 +132,7 @@ namespace KJS { /** * @return Unicode value. */ - unsigned short unicode() const { return ref().uc; } + unsigned short tqunicode() const { return ref().uc; } /** * @return Lower byte. */ @@ -158,7 +158,7 @@ namespace KJS { int offset; }; - inline UChar::UChar(const UCharReference &c) : uc(c.unicode()) { } + inline UChar::UChar(const UCharReference &c) : uc(c.tqunicode()) { } /** * @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 find(const UString &f, int pos = 0) const; - int find(UChar, int pos = 0) const; + int tqfind(const UString &f, int pos = 0) const; + int tqfind(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 rfind(const UString &f, int pos) const; - int rfind(UChar, int pos) const; + int rtqfind(const UString &f, int pos) const; + int rtqfind(UChar, int pos) const; /** * @return The sub string starting at position pos and length len. */ |