libkmime
KMime::Headers::To Class Reference
#include <kmime_headers.h>
Inheritance diagram for KMime::Headers::To:

Detailed Description
Represents a "To" header.
Definition at line 937 of file kmime_headers.h.
Public Member Functions | |
To () | |
To (Content *p) | |
To (Content *p, const QCString &s) | |
To (Content *p, const QString &s, const QCString &cs) | |
~To () | |
virtual void | from7BitString (const QCString &s) |
virtual QCString | as7BitString (bool incType=true) |
virtual void | fromUnicodeString (const QString &s, const QCString &cs) |
virtual QString | asUnicodeString () |
virtual void | clear () |
virtual bool | isEmpty () |
virtual const char * | type () |
void | addAddress (const AddressField &a) |
void | emails (QStrList *l) |
void | names (QStringList *l) |
void | displayNames (QStringList *l) |
Protected Attributes | |
ObsAddressList * | a_ddrList |
Member Function Documentation
void To::from7BitString | ( | const QCString & | s | ) | [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.
QCString To::as7BitString | ( | bool | incType = 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.
void To::fromUnicodeString | ( | const QString & | s, | |
const QCString & | cs | |||
) | [virtual] |
Parse the given string and set the charset.
Reimplemented from KMime::Headers::Base.
Definition at line 868 of file kmime_headers.cpp.
QString 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] |
virtual bool KMime::Headers::To::isEmpty | ( | ) | [inline, virtual] |
Do we have data?
Reimplemented from KMime::Headers::Base.
Definition at line 951 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::CC, and KMime::Headers::BCC.
Definition at line 953 of file kmime_headers.h.
The documentation for this class was generated from the following files: