#include <kmime_headers.h>
Public Member Functions | |
| AddressField (Content *p) | |
| AddressField (Content *p, const TQCString &s) | |
| AddressField (Content *p, const TQString &s, const TQCString &cs) | |
| AddressField (const AddressField &a) | |
| AddressField & | operator= (const AddressField &a) |
| 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 () |
| bool | hasName () |
| bool | hasEmail () |
| TQString | name () |
| TQCString | nameAs7Bit () |
| TQCString | email () |
| void | setName (const TQString &s) |
| void | setNameFrom7Bit (const TQCString &s) |
| void | setEmail (const TQCString &s) |
| 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 () |
| virtual const char * | type () |
| bool | is (const char *t) |
| bool | isMimeHeader () |
| bool | isXHeader () |
Protected Attributes | |
| TQString | n_ame |
| TQCString | e_mail |
| 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
This class encapsulates an address-field, containing an email-address and a real name.
Definition at line 67 of file kmime_headers.h.
Constructor & Destructor Documentation
◆ AddressField() [1/5]
|
inline |
Definition at line 70 of file kmime_headers.h.
◆ AddressField() [2/5]
|
inline |
Definition at line 71 of file kmime_headers.h.
◆ AddressField() [3/5]
|
inline |
Definition at line 72 of file kmime_headers.h.
◆ AddressField() [4/5]
|
inline |
Definition at line 73 of file kmime_headers.h.
◆ AddressField() [5/5]
|
inline |
Definition at line 74 of file kmime_headers.h.
◆ ~AddressField()
|
inline |
Definition at line 75 of file kmime_headers.h.
Member Function Documentation
◆ as7BitString()
|
virtual |
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.
◆ asUnicodeString()
|
virtual |
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.
◆ clear()
|
inlinevirtual |
◆ email()
|
inline |
Definition at line 90 of file kmime_headers.h.
◆ 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 579 of file kmime_headers.cpp.
◆ fromUnicodeString()
|
virtual |
Parse the given string and set the charset.
Reimplemented from KMime::Headers::Base.
Definition at line 659 of file kmime_headers.cpp.
◆ hasEmail()
|
inline |
Definition at line 87 of file kmime_headers.h.
◆ hasName()
|
inline |
Definition at line 86 of file kmime_headers.h.
◆ isEmpty()
|
inlinevirtual |
Do we have data?
Reimplemented from KMime::Headers::Base.
Definition at line 84 of file kmime_headers.h.
◆ name()
|
inline |
Definition at line 88 of file kmime_headers.h.
◆ nameAs7Bit()
| TQCString AddressField::nameAs7Bit | ( | ) |
Definition at line 727 of file kmime_headers.cpp.
◆ operator=()
|
inline |
Definition at line 77 of file kmime_headers.h.
◆ setEmail()
|
inline |
Definition at line 93 of file kmime_headers.h.
◆ setName()
|
inline |
Definition at line 91 of file kmime_headers.h.
◆ setNameFrom7Bit()
| void AddressField::setNameFrom7Bit | ( | const TQCString & | s | ) |
Definition at line 733 of file kmime_headers.cpp.
Member Data Documentation
◆ e_mail
|
protected |
Definition at line 97 of file kmime_headers.h.
◆ n_ame
|
protected |
Definition at line 96 of file kmime_headers.h.
The documentation for this class was generated from the following files:
