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

Detailed Description
Represents a "Content-Transfer-Encoding" header.
Definition at line 1085 of file kmime_headers.h.
Public Member Functions | |
CTEncoding () | |
CTEncoding (Content *p) | |
CTEncoding (Content *p, const QCString &s) | |
CTEncoding (Content *p, const QString &s) | |
~CTEncoding () | |
virtual void | from7BitString (const QCString &s) |
virtual QCString | as7BitString (bool incType=true) |
virtual void | fromUnicodeString (const QString &s, const QCString &) |
virtual QString | asUnicodeString () |
virtual void | clear () |
virtual const char * | type () |
contentEncoding | cte () |
void | setCte (contentEncoding e) |
bool | decoded () |
void | setDecoded (bool d=true) |
bool | needToEncode () |
Protected Attributes | |
contentEncoding | c_te |
bool | d_ecoded |
Member Function Documentation
void CTEncoding::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 1508 of file kmime_headers.cpp.
QCString CTEncoding::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 1523 of file kmime_headers.cpp.
void CTEncoding::fromUnicodeString | ( | const QString & | s, | |
const QCString & | ||||
) | [virtual] |
Parse the given string and set the charset.
Reimplemented from KMime::Headers::Base.
Definition at line 1539 of file kmime_headers.cpp.
QString CTEncoding::asUnicodeString | ( | ) | [virtual] |
Return the decoded content of the header without the header-type.
Reimplemented from KMime::Headers::Base.
Definition at line 1545 of file kmime_headers.cpp.
virtual void KMime::Headers::CTEncoding::clear | ( | ) | [inline, virtual] |
virtual const char* KMime::Headers::CTEncoding::type | ( | ) | [inline, virtual] |
Return the type of this header (e.g.
"From")
Reimplemented from KMime::Headers::Base.
Definition at line 1099 of file kmime_headers.h.
The documentation for this class was generated from the following files: