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 | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch) | |
tree | 766a8ad7939fcf3eec534184c36bd0e0f80489e2 /mimelib/doc/string.html | |
parent | 469cc56a805bd3d6940d54adbef554877c29853c (diff) | |
download | tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'mimelib/doc/string.html')
-rw-r--r-- | mimelib/doc/string.html | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/mimelib/doc/string.html b/mimelib/doc/string.html index fe16aed4d..80db3700c 100644 --- a/mimelib/doc/string.html +++ b/mimelib/doc/string.html @@ -59,25 +59,25 @@ public: DwString& <A HREF="string.html#insert">insert</A>(size_t aPos1, const char* aCstr); DwString& <A HREF="string.html#insert">insert</A>(size_t aPos1, size_t aLen2, char aChar); DwString& <A HREF="string.html#erase">erase</A>(size_t aPos=0, size_t aLen=npos); - DwString& <A HREF="string.html#tqreplace">tqreplace</A>(size_t aPos1, size_t aLen1, const DwString& aStr); - DwString& <A HREF="string.html#tqreplace">tqreplace</A>(size_t aPos1, size_t aLen1, const DwString& aStr, + DwString& <A HREF="string.html#replace">replace</A>(size_t aPos1, size_t aLen1, const DwString& aStr); + DwString& <A HREF="string.html#replace">replace</A>(size_t aPos1, size_t aLen1, const DwString& aStr, size_t aPos2, size_t aLen2); - DwString& <A HREF="string.html#tqreplace">tqreplace</A>(size_t aPos1, size_t aLen1, const char* aBuf, + DwString& <A HREF="string.html#replace">replace</A>(size_t aPos1, size_t aLen1, const char* aBuf, size_t aLen2); - DwString& <A HREF="string.html#tqreplace">tqreplace</A>(size_t aPos1, size_t aLen1, const char* aCstr); - DwString& <A HREF="string.html#tqreplace">tqreplace</A>(size_t aPos1, size_t aLen1, size_t aLen2, char aChar); + DwString& <A HREF="string.html#replace">replace</A>(size_t aPos1, size_t aLen1, const char* aCstr); + DwString& <A HREF="string.html#replace">replace</A>(size_t aPos1, size_t aLen1, size_t aLen2, char aChar); size_t <A HREF="string.html#copy">copy</A>(char* aBuf, size_t aLen, size_t aPos=0) const; void <A HREF="string.html#swap">swap</A>(DwString& aStr); const char* <A HREF="string.html#c_str">c_str</A>() const; const char* <A HREF="string.html#data">data</A>() const; - size_t <A HREF="string.html#tqfind">tqfind</A>(const DwString& aStr, size_t aPos=0) const; - size_t <A HREF="string.html#tqfind">tqfind</A>(const char* aBuf, size_t aPos, size_t aLen) const; - size_t <A HREF="string.html#tqfind">tqfind</A>(const char* aCstr, size_t aPos=0) const; - size_t <A HREF="string.html#tqfind">tqfind</A>(char aChar, size_t aPos=0) const; - size_t <A HREF="string.html#rtqfind">rtqfind</A>(const DwString& aStr, size_t aPos=npos) const; - size_t <A HREF="string.html#rtqfind">rtqfind</A>(const char* aBuf, size_t aPos, size_t aLen) const; - size_t <A HREF="string.html#rtqfind">rtqfind</A>(const char* aCstr, size_t aPos=npos) const; - size_t <A HREF="string.html#rtqfind">rtqfind</A>(char aChar, size_t aPos=npos) const; + size_t <A HREF="string.html#find">find</A>(const DwString& aStr, size_t aPos=0) const; + size_t <A HREF="string.html#find">find</A>(const char* aBuf, size_t aPos, size_t aLen) const; + size_t <A HREF="string.html#find">find</A>(const char* aCstr, size_t aPos=0) const; + size_t <A HREF="string.html#find">find</A>(char aChar, size_t aPos=0) const; + size_t <A HREF="string.html#rfind">rfind</A>(const DwString& aStr, size_t aPos=npos) const; + size_t <A HREF="string.html#rfind">rfind</A>(const char* aBuf, size_t aPos, size_t aLen) const; + size_t <A HREF="string.html#rfind">rfind</A>(const char* aCstr, size_t aPos=npos) const; + size_t <A HREF="string.html#rfind">rfind</A>(char aChar, size_t aPos=npos) const; size_t <A HREF="string.html#find_first_of">find_first_of</A>(const DwString& aStr, size_t aPos=0) const; size_t <A HREF="string.html#find_first_of">find_first_of</A>(const char* aBuf, size_t aPos, size_t aLen) const; size_t <A HREF="string.html#find_first_of">find_first_of</A>(const char* aCstr, size_t aPos=0) const; @@ -115,8 +115,8 @@ protected: size_t mStart; size_t mLength; void _copy(); - void _tqreplace(size_t aPos1, size_t aLen1, const char* aBuf, size_t aLen2); - void _tqreplace(size_t aPos1, size_t aLen1, size_t aLen2, char aChar); + void _replace(size_t aPos1, size_t aLen1, const char* aBuf, size_t aLen2); + void _replace(size_t aPos1, size_t aLen1, size_t aLen2, char aChar); friend void mem_free(char*); public: @@ -374,14 +374,14 @@ Erases (removes) at most <B><TT>aLen</TT></B> characters beginning at position <B><TT>aPos</TT></B> from this string. The function will not erase more characters than what are available. Returns <B><TT>*this</TT></B>. <P> -<FONT COLOR="teal"><B> DwString& <A NAME="tqreplace">tqreplace</A>(size_t +<FONT COLOR="teal"><B> DwString& <A NAME="replace">replace</A>(size_t aPos1, size_t aLen1, const DwString& aStr) <BR> -DwString& tqreplace(size_t aPos1, size_t aLen1, const DwString& aStr, +DwString& replace(size_t aPos1, size_t aLen1, const DwString& aStr, size_t aPos2, size_t aLen2) <BR> -DwString& tqreplace(size_t aPos1, size_t aLen1, const char* aBuf, size_t +DwString& replace(size_t aPos1, size_t aLen1, const char* aBuf, size_t aLen2) <BR> -DwString& tqreplace(size_t aPos1, size_t aLen1, const char* aCstr) <BR> -DwString& tqreplace(size_t aPos1, size_t aLen1, size_t aLen2, char aChar) +DwString& replace(size_t aPos1, size_t aLen1, const char* aCstr) <BR> +DwString& replace(size_t aPos1, size_t aLen1, size_t aLen2, char aChar) </B></FONT> <P> Removes <B><TT>aLen1</TT></B> characters beginning at position @@ -441,11 +441,11 @@ The characters in the returned string should not be modified, and should be considered invalid after any call to a non-const member function or another call to <B><TT>c_str()</TT></B>. <P> -<FONT COLOR="teal"><B> size_t <A NAME="tqfind">tqfind</A>(const DwString& +<FONT COLOR="teal"><B> size_t <A NAME="find">find</A>(const DwString& aStr, size_t aPos=0) const <BR> -size_t tqfind(const char* aBuf, size_t aPos, size_t aLen) const <BR> -size_t tqfind(const char* aCstr, size_t aPos=0) const <BR> -size_t tqfind(char aChar, size_t aPos=0) const </B></FONT> +size_t find(const char* aBuf, size_t aPos, size_t aLen) const <BR> +size_t find(const char* aCstr, size_t aPos=0) const <BR> +size_t find(char aChar, size_t aPos=0) const </B></FONT> <P> Performs a forward search for a sequence of characters in the <B><TT>DwString</TT></B> object. The return value is the position of the @@ -466,11 +466,11 @@ the sequence of characters in the NUL-terminated string The fourth version searches beginning at position <B><TT>aPos</TT></B> for the character <B><TT>aChar</TT></B>. <P> -<FONT COLOR="teal"><B> size_t <A NAME="rtqfind">rtqfind</A>(const DwString& +<FONT COLOR="teal"><B> size_t <A NAME="rfind">rfind</A>(const DwString& aStr, size_t aPos=npos) const <BR> -size_t rtqfind(const char* aBuf, size_t aPos, size_t aLen) const <BR> -size_t rtqfind(const char* aCstr, size_t aPos=npos) const <BR> -size_t rtqfind(char aChar, size_t aPos=npos) const </B></FONT> +size_t rfind(const char* aBuf, size_t aPos, size_t aLen) const <BR> +size_t rfind(const char* aCstr, size_t aPos=npos) const <BR> +size_t rfind(char aChar, size_t aPos=npos) const </B></FONT> <P> Performs a reverse search for a sequence of characters in the <B><TT>DwString</TT></B> object. The return value is the position of the |