#include <kmime_headers.h>
Public Member Functions | |
| To (Content *p) | |
| To (Content *p, const TQCString &s) | |
| To (Content *p, const TQString &s, const TQCString &cs) | |
| virtual void | from7BitString (const TQCString &s) |
| virtual TQCString | as7BitString (bool incType=true) |
| virtual void | fromUnicodeString (const TQString &s, const TQCString &cs) |
| virtual TQString | asUnicodeString () |
| virtual void | clear () |
| virtual bool | isEmpty () |
| virtual const char * | type () |
| void | addAddress (const AddressField &a) |
| void | emails (TQStrList *l) |
| void | names (TQStringList *l) |
| void | displayNames (TQStringList *l) |
| Public Member Functions inherited from KMime::Headers::Base | |
| Base () | |
| Base (KMime::Content *parent) | |
| virtual | ~Base () |
| KMime::Content * | parent () |
| void | setParent (KMime::Content *p) |
| TQCString | rfc2047Charset () |
| void | setRFC2047Charset (const TQCString &cs) |
| TQCString | defaultCS () |
| bool | forceCS () |
| bool | is (const char *t) |
| bool | isMimeHeader () |
| bool | isXHeader () |
Protected Attributes | |
| ObsAddressList * | a_ddrList |
| Protected Attributes inherited from KMime::Headers::Base | |
| const char * | e_ncCS |
| Content * | p_arent |
Additional Inherited Members | |
| Public Types inherited from KMime::Headers::Base | |
| typedef TQPtrList< Base > | List |
| Protected Member Functions inherited from KMime::Headers::Base | |
| TQCString | typeIntro () |
Detailed Description
Represents a "To" header.
Definition at line 150 of file kmime_headers.h.
Constructor & Destructor Documentation
◆ To() [1/4]
|
inline |
Definition at line 153 of file kmime_headers.h.
◆ To() [2/4]
|
inline |
Definition at line 154 of file kmime_headers.h.
◆ To() [3/4]
|
inline |
Definition at line 155 of file kmime_headers.h.
◆ To() [4/4]
|
inline |
Definition at line 156 of file kmime_headers.h.
◆ ~To()
|
inline |
Definition at line 157 of file kmime_headers.h.
Member Function Documentation
◆ addAddress()
| void To::addAddress | ( | const AddressField & | a | ) |
Definition at line 903 of file kmime_headers.cpp.
◆ as7BitString()
|
virtual |
Return the encoded header.
The parameter specifies whether the header-type should be included.
Reimplemented from KMime::Headers::Base.
Definition at line 849 of file kmime_headers.cpp.
◆ asUnicodeString()
|
virtual |
Return the decoded content of the header without the header-type.
Reimplemented from KMime::Headers::Base.
Definition at line 887 of file kmime_headers.cpp.
◆ clear()
|
inlinevirtual |
◆ displayNames()
| void To::displayNames | ( | TQStringList * | l | ) |
Definition at line 934 of file kmime_headers.cpp.
◆ emails()
| void To::emails | ( | TQStrList * | l | ) |
Definition at line 916 of file kmime_headers.cpp.
◆ from7BitString()
|
virtual |
Parse the given string.
Take care of RFC2047-encoded strings. A default charset is given. If the last parameter is true the default charset is used in any case
Reimplemented from KMime::Headers::Base.
Definition at line 825 of file kmime_headers.cpp.
◆ fromUnicodeString()
|
virtual |
Parse the given string and set the charset.
Reimplemented from KMime::Headers::Base.
Definition at line 868 of file kmime_headers.cpp.
◆ isEmpty()
|
inlinevirtual |
Do we have data?
Reimplemented from KMime::Headers::Base.
Definition at line 164 of file kmime_headers.h.
◆ names()
| void To::names | ( | TQStringList * | l | ) |
Definition at line 925 of file kmime_headers.cpp.
◆ type()
|
inlinevirtual |
Return the type of this header (e.g.
"From")
Reimplemented from KMime::Headers::Base.
Reimplemented in KMime::Headers::BCC, and KMime::Headers::CC.
Definition at line 166 of file kmime_headers.h.
Member Data Documentation
◆ a_ddrList
|
protected |
Definition at line 174 of file kmime_headers.h.
The documentation for this class was generated from the following files:
