KMime::Headers::AddressField Class Reference
This class encapsulates an address-field, containing an email-address and a real name. More...
#include <kmime_headers.h>
Inheritance diagram for KMime::Headers::AddressField:

Public Member Functions | |
AddressField (Content *p) | |
AddressField (Content *p, const QCString &s) | |
AddressField (Content *p, const QString &s, const QCString &cs) | |
AddressField (const AddressField &a) | |
AddressField & | operator= (const AddressField &a) |
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 () |
bool | hasName () |
bool | hasEmail () |
QString | name () |
QCString | nameAs7Bit () |
QCString | email () |
void | setName (const QString &s) |
void | setNameFrom7Bit (const QCString &s) |
void | setEmail (const QCString &s) |
Protected Attributes | |
QString | n_ame |
QCString | e_mail |
Detailed Description
This class encapsulates an address-field, containing an email-address and a real name.Definition at line 850 of file kmime_headers.h.
Member Function Documentation
|
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 579 of file kmime_headers.cpp. |
|
Return the encoded header. The parameter specifies whether the header-type should be included. Reimplemented from KMime::Headers::Base. Definition at line 634 of file kmime_headers.cpp. Referenced by KMime::Headers::To::as7BitString(). |
|
Parse the given string and set the charset.
Reimplemented from KMime::Headers::Base. Definition at line 659 of file kmime_headers.cpp. |
|
Return the decoded content of the header without the header-type.
Reimplemented from KMime::Headers::Base. Definition at line 714 of file kmime_headers.cpp. Referenced by KMime::Headers::To::asUnicodeString(). |
|
Delete.
Reimplemented from KMime::Headers::Base. Definition at line 866 of file kmime_headers.h. |
|
Do we have data?
Reimplemented from KMime::Headers::Base. Definition at line 867 of file kmime_headers.h. |
The documentation for this class was generated from the following files: