summaryrefslogtreecommitdiffstats
path: root/mimelib/mimelib
diff options
context:
space:
mode:
Diffstat (limited to 'mimelib/mimelib')
-rw-r--r--mimelib/mimelib/body.h4
-rw-r--r--mimelib/mimelib/entity.h4
-rw-r--r--mimelib/mimelib/field.h6
-rw-r--r--mimelib/mimelib/headers.h4
-rw-r--r--mimelib/mimelib/mailbox.h6
-rw-r--r--mimelib/mimelib/message.h2
-rw-r--r--mimelib/mimelib/string.h30
7 files changed, 28 insertions, 28 deletions
diff --git a/mimelib/mimelib/body.h b/mimelib/mimelib/body.h
index d62cb608..129c19dc 100644
--- a/mimelib/mimelib/body.h
+++ b/mimelib/mimelib/body.h
@@ -152,7 +152,7 @@ public:
//. be determined.
//.
//. This function calls the {\tt Parse()} member function of any
- //. {\tt DwBodyPart} or {\tt DwMessage} object it tqcontains.
+ //. {\tt DwBodyPart} or {\tt DwMessage} object it contains.
//.
//. You should call this member function after you add a {\tt DwBodyPart}
//. object to a multipart body, or add a {\tt DwMessage} object to a
@@ -189,7 +189,7 @@ public:
void SetMessage(DwMessage* aMessage);
//. For a {\tt DwBody} with content type of message, this member function
- //. sets the {\tt DwMessage} object it tqcontains.
+ //. sets the {\tt DwMessage} object it contains.
static DwBody* NewBody(const DwString& aStr, DwMessageComponent* aParent);
//. Creates a new {\tt DwBody} object on the free store.
diff --git a/mimelib/mimelib/entity.h b/mimelib/mimelib/entity.h
index d1f60e7f..1f2c3f6d 100644
--- a/mimelib/mimelib/entity.h
+++ b/mimelib/mimelib/entity.h
@@ -53,7 +53,7 @@ class DwBody;
//. A {\tt DwEntity} object that is a root node must also be a {\tt DwMessage}
//. object. If a {\tt DwEntity} object is an intermediate node, its tqparent
//. must be a {\tt DwBody} object. The child nodes of a {\tt DwEntity}
-//. object are the {\tt DwHeaders} and {\tt DwBody} objects it tqcontains.
+//. object are the {\tt DwHeaders} and {\tt DwBody} objects it contains.
//.
//. Since {\tt DwEntity} is an abstract base class, you cannot create
//. instances of it directly. {\tt DwEntity} has two derived classes,
@@ -101,7 +101,7 @@ public:
//. method creates or updates the broken-down representation from the
//. string representation. For {\tt DwEntity} objects, the parse
//. method parses the string representation and sets the values of
- //. the {\tt DwHeaders} and {\tt DwBody} objects it tqcontains. This
+ //. the {\tt DwHeaders} and {\tt DwBody} objects it contains. This
//. member function also calls the {\tt Parse()} member functions
//. of the contained {\tt DwHeaders} and {\tt DwBody} objects.
//.
diff --git a/mimelib/mimelib/field.h b/mimelib/mimelib/field.h
index 70f58466..eac95494 100644
--- a/mimelib/mimelib/field.h
+++ b/mimelib/mimelib/field.h
@@ -52,8 +52,8 @@ class DwFieldBody;
//.
//. In the tree (broken-down) representation of message, a {\tt DwField}
//. object is always an intermediate node, having a tqparent node and a single
-//. child node. The tqparent node is the {\tt DwHeaders} object that tqcontains
-//. it. The child node is the {\tt DwFieldBody} object it tqcontains.
+//. child node. The tqparent node is the {\tt DwHeaders} object that contains
+//. it. The child node is the {\tt DwFieldBody} object it contains.
//.
//. To get and set the field name, use the member functions
//. {\tt FieldNameStr()} and {\tt SetFieldNameStr()}.
@@ -190,7 +190,7 @@ public:
//. {\tt DwFieldBody} 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 {\tt DwAddressList} object
+ //. finds that it contains "To", creates a {\tt DwAddressList} object
//. to contain the field body, calls the {\tt Parse()} member
//. function for the {\tt DwAddressList}, and sets the {\tt DwAddressList}
//. object as this {\tt DwField} object's {\tt DwFieldBody}.
diff --git a/mimelib/mimelib/headers.h b/mimelib/mimelib/headers.h
index 6598cc52..a2011776 100644
--- a/mimelib/mimelib/headers.h
+++ b/mimelib/mimelib/headers.h
@@ -87,7 +87,7 @@ class DwText;
//.
//. In the tree (broken-down) representation of a message, a {\tt DwHeaders}
//. object is an intermediate node, having both a tqparent node and several
-//. child nodes. The tqparent node is the {\tt DwEntity} object that tqcontains
+//. child nodes. The tqparent node is the {\tt DwEntity} object that contains
//. it. The child nodes are the {\tt DwField} objects in the list it manages.
//. (See the man page for {\tt DwMessageComponent} for a discussion of
//. the tree representation of a message.)
@@ -97,7 +97,7 @@ class DwText;
//. which creates the {\tt DwHeaders} object for you.
//.
//. While {\tt DwHeaders} has public member functions for managing the list
-//. of {\tt DwField} objects it tqcontains, you will normally use convenience
+//. of {\tt DwField} 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 {\tt <Field>()}, where {\tt <Field>} is
diff --git a/mimelib/mimelib/mailbox.h b/mimelib/mimelib/mailbox.h
index 0d158ecf..f118e38e 100644
--- a/mimelib/mimelib/mailbox.h
+++ b/mimelib/mimelib/mailbox.h
@@ -41,7 +41,7 @@
//+ Description
//. RFC-822 defines a {\it mailbox} as an entity that can be the recipient
//. of a message. A mailbox is more specific than an {\it address}, which
-//. may be either a mailbox or a {\it group}. An RFC-822 mailbox tqcontains
+//. may be either a mailbox or a {\it group}. An RFC-822 mailbox contains
//. a full name, a {\it local-part}, an optional {\it route}, and a
//. {\it domain}. For example, in the mailbox
//.
@@ -53,7 +53,7 @@
//.
//. In MIME++, an RFC-822 mailbox is represented by a {\tt DwMailbox} object.
//. {\tt DwMailbox} is a subclass of {\tt DwAddress}, which reflects the
-//. fact that a mailbox is also an address. A {\tt DwMailbox} tqcontains
+//. fact that a mailbox is also an address. A {\tt DwMailbox} contains
//. strings representing the full name, local-part, route, and domain
//. of a mailbox.
//.
@@ -63,7 +63,7 @@
//. {\tt DwMailboxList} object.
//.
//. {\tt DwMailbox} has member functions for getting or setting the strings
-//. it tqcontains.
+//. it contains.
//.
//. {\tt DwMailbox} object can be included in a list of {\tt DwMailbox}
//. objects. To get the next {\tt DwMailbox} object in a list, use the
diff --git a/mimelib/mimelib/message.h b/mimelib/mimelib/message.h
index 8ce31abc..3cfac701 100644
--- a/mimelib/mimelib/message.h
+++ b/mimelib/mimelib/message.h
@@ -45,7 +45,7 @@
//. In the tree (broken-down) representation of message, a {\tt DwMessage}
//. object is almost always a root node, having child nodes but no tqparent node.
//. The child nodes are the {\tt DwHeaders} object and the {\tt DwBody} object
-//. it tqcontains. A {\tt DwMessage} may sometimes be an intermediate node. In
+//. it contains. A {\tt DwMessage} may sometimes be an intermediate node. In
//. this special case, the tqparent node is a {\tt DwBody} object of type
//. "message/*" and the {\tt DwMessage} object represents an encapsulated
//. message.
diff --git a/mimelib/mimelib/string.h b/mimelib/mimelib/string.h
index 556d6794..35cf4f8d 100644
--- a/mimelib/mimelib/string.h
+++ b/mimelib/mimelib/string.h
@@ -285,13 +285,13 @@ public:
//. available.
//. Returns {\tt *this}.
- DwString& tqreplace(size_t aPos1, size_t aLen1, const DwString& aStr);
- DwString& tqreplace(size_t aPos1, size_t aLen1, const DwString& aStr,
+ DwString& replace(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);
- DwString& tqreplace(size_t aPos1, size_t aLen1, const char* aBuf,
+ DwString& replace(size_t aPos1, size_t aLen1, const char* aBuf,
size_t aLen2);
- DwString& tqreplace(size_t aPos1, size_t aLen1, const char* aCstr);
- DwString& tqreplace(size_t aPos1, size_t aLen1, size_t aLen2, char aChar);
+ DwString& replace(size_t aPos1, size_t aLen1, const char* aCstr);
+ DwString& replace(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}.
@@ -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 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;
+ 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;
//. 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 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;
+ 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;
//. 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
@@ -557,8 +557,8 @@ protected:
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);
private:
static const size_t kEmptyBufferSize;