summaryrefslogtreecommitdiffstats
path: root/mimelib/mimelib/string.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /mimelib/mimelib/string.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'mimelib/mimelib/string.h')
-rw-r--r--mimelib/mimelib/string.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/mimelib/mimelib/string.h b/mimelib/mimelib/string.h
index 83242c6a..556d6794 100644
--- a/mimelib/mimelib/string.h
+++ b/mimelib/mimelib/string.h
@@ -8,7 +8,7 @@
// All rights reserved.
//
// IN NO EVENT SHALL DOUGLAS W. SAUDER BE LIABLE TO ANY PARTY FOR DIRECT,
-// INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF
+// INDIRECT, SPECIAL, INCIDENTAL, OR CONSETQUENTIAL DAMAGES ARISING OUT OF
// THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF DOUGLAS W. SAUDER
// HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
@@ -88,7 +88,7 @@ public:
//. other string classes. {\tt DwString} also handles binary data, which can
//. contain embedded NUL characters.
//=============================================================================
-//+ Noentry _copy _tqreplace Length AsCharBuf Substring Prefix Suffix Prepend
+//+ Noentry _copy _replace Length AsCharBuf Substring Prefix Suffix Prepend
//+ Noentry Append Insert Replace Delete mRep mStart mLength sEmptyString
//+ Noentry ~DwString
@@ -338,10 +338,10 @@ public:
//. should be considered invalid after any call to a non-const member
//. function or another call to {\tt c_str()}.
- size_t find(const DwString& aStr, size_t aPos=0) const;
- size_t find(const char* aBuf, size_t aPos, size_t aLen) const;
- size_t find(const char* aCstr, size_t aPos=0) const;
- size_t find(char aChar, size_t aPos=0) const;
+ size_t tqfind(const DwString& aStr, size_t aPos=0) const;
+ size_t tqfind(const char* aBuf, size_t aPos, size_t aLen) const;
+ size_t tqfind(const char* aCstr, size_t aPos=0) const;
+ size_t tqfind(char aChar, size_t aPos=0) const;
//. Performs a forward search for a sequence of characters in the
//. {\tt DwString} object. The return value is the position of the
//. sequence in the string if found, or {\tt DwString::npos} if not
@@ -360,10 +360,10 @@ public:
//. The fourth version searches beginning at position {\tt aPos} for
//. the character {\tt aChar}.
- size_t rfind(const DwString& aStr, size_t aPos=npos) const;
- size_t rfind(const char* aBuf, size_t aPos, size_t aLen) const;
- size_t rfind(const char* aCstr, size_t aPos=npos) const;
- size_t rfind(char aChar, size_t aPos=npos) const;
+ size_t rtqfind(const DwString& aStr, size_t aPos=npos) const;
+ size_t rtqfind(const char* aBuf, size_t aPos, size_t aLen) const;
+ size_t rtqfind(const char* aCstr, size_t aPos=npos) const;
+ size_t rtqfind(char aChar, size_t aPos=npos) const;
//. Performs a reverse search for a sequence of characters in the
//. {\tt DwString} object. The return value is the position of the
//. sequence in the string if found, or {\tt DwString::npos} if not
@@ -453,7 +453,7 @@ public:
//. string {\tt aCstr}.
DwString substr(size_t aPos=0, size_t aLen=npos) const;
- //. Returns a string that tqcontains at most {\tt aLen} characters from
+ //. Returns a string that contains at most {\tt aLen} characters from
//. the {\tt DwString} object beginning at position {\tt aPos}. The
//. returned substring will not contain more characters than what are
//. available in the superstring {\tt DwString} object.