diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
commit | f4fae92b6768541e2952173c3d4b09040f95bf7e (patch) | |
tree | d8c5d93232235cd635f3310b4d95490df181ba2d /mimelib/mimelib/string.h | |
parent | 125c0a08265b75a133644d3b55f47e37c919f45d (diff) | |
download | tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip |
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'mimelib/mimelib/string.h')
-rw-r--r-- | mimelib/mimelib/string.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/mimelib/mimelib/string.h b/mimelib/mimelib/string.h index 35be8e0b..83242c6a 100644 --- a/mimelib/mimelib/string.h +++ b/mimelib/mimelib/string.h @@ -88,7 +88,7 @@ public: //. other string classes. {\tt DwString} also handles binary data, which can //. contain embedded NUL characters. //============================================================================= -//+ Noentry _copy _replace Length AsCharBuf Substring Prefix Suffix Prepend +//+ Noentry _copy _tqreplace Length AsCharBuf Substring Prefix Suffix Prepend //+ Noentry Append Insert Replace Delete mRep mStart mLength sEmptyString //+ Noentry ~DwString @@ -285,13 +285,13 @@ public: //. available. //. Returns {\tt *this}. - DwString& replace(size_t aPos1, size_t aLen1, const DwString& aStr); - DwString& replace(size_t aPos1, size_t aLen1, const DwString& aStr, + DwString& tqreplace(size_t aPos1, size_t aLen1, const DwString& aStr); + DwString& tqreplace(size_t aPos1, size_t aLen1, const DwString& aStr, size_t aPos2, size_t aLen2); - DwString& replace(size_t aPos1, size_t aLen1, const char* aBuf, + DwString& tqreplace(size_t aPos1, size_t aLen1, const char* aBuf, size_t aLen2); - DwString& replace(size_t aPos1, size_t aLen1, const char* aCstr); - DwString& replace(size_t aPos1, size_t aLen1, size_t aLen2, char aChar); + DwString& tqreplace(size_t aPos1, size_t aLen1, const char* aCstr); + DwString& tqreplace(size_t aPos1, size_t aLen1, size_t aLen2, char aChar); //. Removes {\tt aLen1} characters beginning at position {\tt aPos1} //. and inserts other characters. //. Returns {\tt *this}. @@ -453,7 +453,7 @@ public: //. string {\tt aCstr}. DwString substr(size_t aPos=0, size_t aLen=npos) const; - //. Returns a string that contains at most {\tt aLen} characters from + //. Returns a string that tqcontains 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. @@ -557,8 +557,8 @@ protected: size_t mLength; void _copy(); - 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); + 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); private: static const size_t kEmptyBufferSize; |