#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) |
Protected Attributes | |
| ObsAddressList * | a_ddrList |
Detailed Description
Represents a "To" header.
Definition at line 150 of file kmime_headers.h.
Member Function Documentation
| TQCString To::as7BitString | ( | bool | = true | ) | [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.
| TQString To::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.
| virtual void KMime::Headers::To::clear | ( | ) | [inline, virtual] |
| void To::from7BitString | ( | const TQCString & | ) | [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.
| void To::fromUnicodeString | ( | const TQString & | , |
| const TQCString & | |||
| ) | [virtual] |
Parse the given string and set the charset.
Reimplemented from KMime::Headers::Base.
Definition at line 868 of file kmime_headers.cpp.
| virtual bool KMime::Headers::To::isEmpty | ( | ) | [inline, virtual] |
Do we have data?
Reimplemented from KMime::Headers::Base.
Definition at line 164 of file kmime_headers.h.
| virtual const char* KMime::Headers::To::type | ( | ) | [inline, virtual] |
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.
The documentation for this class was generated from the following files:
