diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
| commit | 8cbd3f41229fc385698bfd9a5524ba2610777543 (patch) | |
| tree | 05595d691d2d657866204352d65e5b85cfd30384 /lib/libchmfile/qt34.cpp | |
| parent | 411ae7c171b854c759cc87a403add976a2b516ee (diff) | |
| download | kchmviewer-8cbd3f41229fc385698bfd9a5524ba2610777543.tar.gz kchmviewer-8cbd3f41229fc385698bfd9a5524ba2610777543.zip | |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kchmviewer@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/libchmfile/qt34.cpp')
| -rw-r--r-- | lib/libchmfile/qt34.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/libchmfile/qt34.cpp b/lib/libchmfile/qt34.cpp index e1194f9..cb2f3d8 100644 --- a/lib/libchmfile/qt34.cpp +++ b/lib/libchmfile/qt34.cpp @@ -77,9 +77,9 @@ char LIBCHMCString::at(uint i) const return cs.at(i); } -void LIBCHMCString::tqreplace(uint index, uint len, const char *str) +void LIBCHMCString::replace(uint index, uint len, const char *str) { - cs.tqreplace(index, len, str); + cs.replace(index, len, str); } void LIBCHMCString::remove(uint index, uint len) @@ -162,25 +162,25 @@ const char *LIBCHMString::ascii() const #endif } -int LIBCHMString::tqfind(char c, int index) const +int LIBCHMString::find(char c, int index) const { #if defined (USE_TQT_4) return s.indexOf(c, index); #else - return s.tqfind(c, index); + return s.find(c, index); #endif } -int LIBCHMString::tqfind(const TQChar &c, int index) const +int LIBCHMString::find(const TQChar &c, int index) const { #if defined (USE_TQT_4) return s.indexOf(c, index); #else - return s.tqfind(c, index); + return s.find(c, index); #endif } -int LIBCHMString::tqfind(const TQString &string, int index, bool cs) const +int LIBCHMString::find(const TQString &string, int index, bool cs) const { #if defined (USE_TQT_4) TQt::CaseSensitivity cse; @@ -188,16 +188,16 @@ int LIBCHMString::tqfind(const TQString &string, int index, bool cs) const else cse = TQt::CaseInsensitive; return s.indexOf(string, index, cse); #else - return s.tqfind(string, index, cs); + return s.find(string, index, cs); #endif } -int LIBCHMString::tqfindRev(char c) const +int LIBCHMString::findRev(char c) const { #if defined (USE_TQT_4) return s.lastIndexOf(c); #else - return s.tqfindRev(c); + return s.findRev(c); #endif } @@ -244,9 +244,9 @@ TQString LIBCHMDir::cleanDirPath(const TQString &dir) -bool LIBCHMStringList::tqcontains(const TQStringList &list, const TQString &string) +bool LIBCHMStringList::contains(const TQStringList &list, const TQString &string) { - return list.tqcontains(string); + return list.contains(string); } TQStringList LIBCHMStringList::split(const TQRegExp ®exp, const TQString &string) |
