From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: 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 --- kjs/ustring.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kjs/ustring.cpp') diff --git a/kjs/ustring.cpp b/kjs/ustring.cpp index 36f201863..92644d009 100644 --- a/kjs/ustring.cpp +++ b/kjs/ustring.cpp @@ -134,7 +134,7 @@ static int statBufferSize = 0; UChar UChar::toLower() const { - // ### properly support unicode tolower + // ### properly support tqunicode tolower if (uc >= 256) return *this; @@ -746,7 +746,7 @@ unsigned int UString::toStrictUInt32(bool *ok) const if (len == 0) return 0; const UChar *p = rep->dat; - unsigned short c = p->unicode(); + unsigned short c = p->tqunicode(); // If the first digit is 0, only 0 itself is OK. if (c == '0') { @@ -782,7 +782,7 @@ unsigned int UString::toStrictUInt32(bool *ok) const } // Get next character. - c = (++p)->unicode(); + c = (++p)->tqunicode(); } } @@ -796,7 +796,7 @@ unsigned UString::toArrayIndex(bool *ok) const return i; } -int UString::find(const UString &f, int pos) const +int UString::tqfind(const UString &f, int pos) const { int sz = size(); int fsz = f.size(); @@ -818,7 +818,7 @@ int UString::find(const UString &f, int pos) const return -1; } -int UString::find(UChar ch, int pos) const +int UString::tqfind(UChar ch, int pos) const { if (pos < 0) pos = 0; @@ -830,7 +830,7 @@ int UString::find(UChar ch, int pos) const return -1; } -int UString::rfind(const UString &f, int pos) const +int UString::rtqfind(const UString &f, int pos) const { int sz = size(); int fsz = f.size(); @@ -852,7 +852,7 @@ int UString::rfind(const UString &f, int pos) const return -1; } -int UString::rfind(UChar ch, int pos) const +int UString::rtqfind(UChar ch, int pos) const { if (isEmpty()) return -1; -- cgit v1.2.1