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 | da4be7880ff1de6415ab6256afd2514e64f5fa2e (patch) | |
tree | 0862c14883af0435b012f6f592221fc167ed7d91 /kviewshell/plugins/djvu/libdjvu/GString.h | |
parent | d0a269b9b0361bf71c5dd5787be0839f9dcace8c (diff) | |
download | tdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.tar.gz tdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kviewshell/plugins/djvu/libdjvu/GString.h')
-rw-r--r-- | kviewshell/plugins/djvu/libdjvu/GString.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kviewshell/plugins/djvu/libdjvu/GString.h b/kviewshell/plugins/djvu/libdjvu/GString.h index 9614d328..601db983 100644 --- a/kviewshell/plugins/djvu/libdjvu/GString.h +++ b/kviewshell/plugins/djvu/libdjvu/GString.h @@ -306,9 +306,9 @@ public: int rsearch(char const *str, int from=0) const; - int tqcontains(char const accept[], int from=0) const; + int contains(char const accept[], int from=0) const; - int rtqcontains(char const accept[], int from=0) const; + int rcontains(char const accept[], int from=0) const; protected: // Return the next character and increment the source pointer. @@ -551,11 +551,11 @@ public: /** Searches for any of the specified characters in the accept string. It returns #-1# if the none of the characters and be found, otherwise the position of the first match. */ - int tqcontains(const char accept[], const int from=0) const; + int contains(const char accept[], const int from=0) const; /** Searches for any of the specified characters in the accept string. It returns #-1# if the none of the characters and be found, otherwise the position of the last match. */ - int rtqcontains(const char accept[], const int from=0) const; + int rcontains(const char accept[], const int from=0) const; /** Concatenates strings. Returns a string composed by concatenating the characters of strings #s1# and #s2#. */ @@ -1282,12 +1282,12 @@ GBaseString::rsearch(const char *str, const int from) const { return ptr?((*this)->rsearch(str,from)):(-1); } inline int -GBaseString::tqcontains(const char accept[], const int from) const -{ return ptr?((*this)->tqcontains(accept,from)):(-1); } +GBaseString::contains(const char accept[], const int from) const +{ return ptr?((*this)->contains(accept,from)):(-1); } inline int -GBaseString::rtqcontains(const char accept[], const int from) const -{ return ptr?((*this)->rtqcontains(accept,from)):(-1); } +GBaseString::rcontains(const char accept[], const int from) const +{ return ptr?((*this)->rcontains(accept,from)):(-1); } inline int GBaseString::cmp(const GBaseString &s2, const int len) const |