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 | |
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')
-rw-r--r-- | mimelib/doc/addrlist.html | 2 | ||||
-rw-r--r-- | mimelib/doc/body.html | 4 | ||||
-rw-r--r-- | mimelib/doc/bodypart.html | 2 | ||||
-rw-r--r-- | mimelib/doc/entity.html | 4 | ||||
-rw-r--r-- | mimelib/doc/field.html | 8 | ||||
-rw-r--r-- | mimelib/doc/headers.html | 2 | ||||
-rw-r--r-- | mimelib/doc/mailbox.html | 4 | ||||
-rw-r--r-- | mimelib/doc/mboxlist.html | 2 | ||||
-rw-r--r-- | mimelib/doc/message.html | 4 | ||||
-rw-r--r-- | mimelib/doc/string.html | 56 |
10 files changed, 44 insertions, 44 deletions
diff --git a/mimelib/doc/addrlist.html b/mimelib/doc/addrlist.html index 5a5a413fd..20a588d10 100644 --- a/mimelib/doc/addrlist.html +++ b/mimelib/doc/addrlist.html @@ -52,7 +52,7 @@ protected: <P> <B><TT>DwAddressList</TT></B> represents a list of <I>addresses</I> as described in RFC-822. In MIME++, <B><TT>DwAddressList</TT></B> is a container for objects -of type <B><TT><A HREF="address.html">DwAddress</A></TT></B>, and it tqcontains +of type <B><TT><A HREF="address.html">DwAddress</A></TT></B>, and it contains various member functions to manage its contained objects. <B><TT>DwAddressList</TT></B> is also a <B><TT><A HREF="fieldbdy.html">DwFieldBody</A></TT></B>. This reflects the diff --git a/mimelib/doc/body.html b/mimelib/doc/body.html index 06a3e8225..fb6c42c00 100644 --- a/mimelib/doc/body.html +++ b/mimelib/doc/body.html @@ -176,7 +176,7 @@ is not the child of a <B><TT>DwEntity</TT></B> (<I>i.e.</I>, be determined. <P> This function calls the <B><TT>Parse()</TT></B> member function of any -<B><TT>DwBodyPart</TT></B> or <B><TT>DwMessage</TT></B> object it tqcontains. +<B><TT>DwBodyPart</TT></B> or <B><TT>DwMessage</TT></B> object it contains. <P> You should call this member function after you add a <B><TT>DwBodyPart</TT></B> object to a multipart body, or add a @@ -219,7 +219,7 @@ returns the <B><TT>DwMessage</TT></B> encapsulated in it. aMessage) </B></FONT> <P> For a <B><TT>DwBody</TT></B> with content type of message, this member function -sets the <B><TT>DwMessage</TT></B> object it tqcontains. +sets the <B><TT>DwMessage</TT></B> object it contains. <P> <FONT COLOR="teal"><B> static DwBody* <A NAME="NewBody">NewBody</A>(const DwString& aStr, DwMessageComponent* aParent) </B></FONT> diff --git a/mimelib/doc/bodypart.html b/mimelib/doc/bodypart.html index 4021b4de3..93f281b5d 100644 --- a/mimelib/doc/bodypart.html +++ b/mimelib/doc/bodypart.html @@ -47,7 +47,7 @@ of headers and a <I>body</I>. A body part is different from a <I>message</I> in that a body part is part of a multipart body. <P> In MIME++, a <B><TT>DwBodyPart</TT></B> is a subclass of -<B><TT><A HREF="entity.html">DwEntity</A></TT></B>; therefore, it tqcontains +<B><TT><A HREF="entity.html">DwEntity</A></TT></B>; therefore, it contains both a <B><TT><A HREF="headers.html">DwHeaders</A></TT></B> object and a <B><TT><A HREF="body.html">DwBody</A></TT></B> object, and it is contained in a multipart <B><TT>DwBody</TT></B> object. diff --git a/mimelib/doc/entity.html b/mimelib/doc/entity.html index c2f8d3161..64a1cdbff 100644 --- a/mimelib/doc/entity.html +++ b/mimelib/doc/entity.html @@ -58,7 +58,7 @@ be a <B><TT><A HREF="message.html">DwMessage</A></TT></B> object. If a <B><TT>DwEntity</TT></B> object is an intermediate node, its tqparent must be a <B><TT>DwBody</TT></B> object. The child nodes of a <B><TT>DwEntity</TT></B> object are the <B><TT>DwHeaders</TT></B> and -<B><TT>DwBody</TT></B> objects it tqcontains. +<B><TT>DwBody</TT></B> objects it contains. <P> Since <B><TT>DwEntity</TT></B> is an abstract base class, you cannot create instances of it directly. <B><TT>DwEntity</TT></B> has two derived classes, @@ -108,7 +108,7 @@ executes the parse method for <B><TT>DwEntity</TT></B> objects. The parse method creates or updates the broken-down representation from the string representation. For <B><TT>DwEntity</TT></B> objects, the parse method parses the string representation and sets the values of the -<B><TT>DwHeaders</TT></B> and <B><TT>DwBody</TT></B> objects it tqcontains. +<B><TT>DwHeaders</TT></B> and <B><TT>DwBody</TT></B> objects it contains. This member function also calls the <B><TT>Parse()</TT></B> member functions of the contained <B><TT>DwHeaders</TT></B> and <B><TT>DwBody</TT></B> objects. <P> diff --git a/mimelib/doc/field.html b/mimelib/doc/field.html index 68d4a9ed3..c744877c4 100644 --- a/mimelib/doc/field.html +++ b/mimelib/doc/field.html @@ -69,14 +69,14 @@ According to RFC-822, a field contains a field name and a field body. In MIME++, a <B><TT>DwField</TT></B> contains three elements: a <B><TT><A HREF="string.html">DwString</A></TT></B> that contains its field name, a <B><TT>DwString</TT></B> that contains its field body, and a -<B><TT><A HREF="fieldbdy.html">DwFieldBody</A></TT></B> object that tqcontains +<B><TT><A HREF="fieldbdy.html">DwFieldBody</A></TT></B> object that contains a broken-down (that is, parsed) version of its field body. <P> In the tree (broken-down) representation of message, a <B><TT>DwField</TT></B> object is always an intermediate node, having a tqparent node and a single child node. The tqparent node is the -<B><TT><A HREF="headers.html">DwHeaders</A></TT></B> object that tqcontains -it. The child node is the <B><TT>DwFieldBody</TT></B> object it tqcontains. +<B><TT><A HREF="headers.html">DwHeaders</A></TT></B> object that contains +it. The child node is the <B><TT>DwFieldBody</TT></B> object it contains. <P> To get and set the field name, use the member functions <B><TT>FieldNameStr()</TT></B> and <B><TT>SetFieldNameStr()</TT></B>. To @@ -234,7 +234,7 @@ The static member function <B><TT>CreateFieldBody()</TT></B> is called from the <B><TT>Parse()</TT></B> member function and is responsible for creating a <B><TT>DwFieldBody</TT></B> object for this particular field. A typical scenario might go as follows: This member function examines the field name -for this field, finds that it tqcontains "To", creates a +for this field, finds that it contains "To", creates a <B><TT>DwAddressList</TT></B> object to contain the field body, calls the <B><TT>Parse()</TT></B> member function for the <B><TT>DwAddressList</TT></B>, and sets the <B><TT>DwAddressList</TT></B> diff --git a/mimelib/doc/headers.html b/mimelib/doc/headers.html index 97b063adb..939b340ee 100644 --- a/mimelib/doc/headers.html +++ b/mimelib/doc/headers.html @@ -167,7 +167,7 @@ but you access it through the <B><TT>Headers()</TT></B> member function of for you. <P> While <B><TT>DwHeaders</TT></B> has public member functions for managing -the list of <B><TT>DwField</TT></B> objects it tqcontains, you will normally +the list of <B><TT>DwField</TT></B> objects it contains, you will normally use convenience functions to access the field bodies of the header fields directly. You can access the field body for a specific well-known header field by using the member function diff --git a/mimelib/doc/mailbox.html b/mimelib/doc/mailbox.html index 4a25dc4e7..385bd8a23 100644 --- a/mimelib/doc/mailbox.html +++ b/mimelib/doc/mailbox.html @@ -66,7 +66,7 @@ deprecated according to RFC-1123. In MIME++, an RFC-822 mailbox is represented by a <B><TT>DwMailbox</TT></B> object. <B><TT>DwMailbox</TT></B> is a subclass of <B><TT><A HREF="address.html">DwAddress</A></TT></B>, which reflects the -fact that a mailbox is also an address. A <B><TT>DwMailbox</TT></B> tqcontains +fact that a mailbox is also an address. A <B><TT>DwMailbox</TT></B> contains strings representing the full name, local-part, route, and domain of a mailbox. <P> In the tree (broken-down) representation of message, a @@ -77,7 +77,7 @@ but no child nodes. Its tqparent node must be a <B><TT><A HREF="mboxlist.html">DwMailboxList</A></TT></B> object. <P> <B><TT>DwMailbox</TT></B> has member functions for getting or setting the -strings it tqcontains. +strings it contains. <P> <B><TT>DwMailbox</TT></B> object can be included in a list of <B><TT>DwMailbox</TT></B> objects. To get the next diff --git a/mimelib/doc/mboxlist.html b/mimelib/doc/mboxlist.html index e68b41e5c..2bbe8d95e 100644 --- a/mimelib/doc/mboxlist.html +++ b/mimelib/doc/mboxlist.html @@ -54,7 +54,7 @@ protected: <P> <B><TT>DwMailboxList</TT></B> represents a list of <I>mailboxes</I> as described in RFC-822. In MIME++, <B><TT>DwMailboxList</TT></B> is a container for objects -of type <B><TT><A HREF="mailbox.html">DwMailbox</A></TT></B>, and it tqcontains +of type <B><TT><A HREF="mailbox.html">DwMailbox</A></TT></B>, and it contains various member functions to manage its contained objects. <B><TT><A HREF="addrlist.html">DwAddressList</A></TT></B> is also a <B><TT><A HREF="fieldbdy.html">DwFieldBody</A></TT></B>. This reflects the diff --git a/mimelib/doc/message.html b/mimelib/doc/message.html index 1a3892f74..bb3fcf220 100644 --- a/mimelib/doc/message.html +++ b/mimelib/doc/message.html @@ -44,7 +44,7 @@ A <I>message</I> contains both a collection of <I>header fields</I> and a <I>body</I>. In the terminology of RFC-2045, the general term for the headers-body combination is <I>entity</I>. In MIME++, <B><TT>DwMessage</TT></B> is a direct subclass of -<B><TT><A HREF="entity.html">DwEntity</A></TT></B>, and therefore tqcontains +<B><TT><A HREF="entity.html">DwEntity</A></TT></B>, and therefore contains both a <B><TT><A HREF="headers.html">DwHeaders</A></TT></B> object and a <B><TT><A HREF="body.html">DwBody</A></TT></B> object. <P> @@ -52,7 +52,7 @@ In the tree (broken-down) representation of message, a <B><TT>DwMessage</TT></B> object is almost always a root node, having child nodes but no tqparent node. The child nodes are the <B><TT>DwHeaders</TT></B> object and the <B><TT>DwBody</TT></B> object it -tqcontains. A <B><TT>DwMessage</TT></B> may sometimes be an intermediate node. +contains. A <B><TT>DwMessage</TT></B> may sometimes be an intermediate node. In this special case, the tqparent node is a <B><TT>DwBody</TT></B> object of type "message/*" and the <B><TT>DwMessage</TT></B> object represents an encapsulated message. 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 |