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

Detailed Description
Represents a "Content-Disposition" header.
Definition at line 1115 of file kmime_headers.h.
Public Member Functions | |
CDisposition () | |
CDisposition (Content *p) | |
CDisposition (Content *p, const QCString &s) | |
CDisposition (Content *p, const QString &s, const QCString &cs) | |
~CDisposition () | |
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 const char * | type () |
contentDisposition | disposition () |
void | setDisposition (contentDisposition d) |
bool | isAttachment () |
QString | filename () |
void | setFilename (const QString &s) |
Protected Attributes | |
contentDisposition | d_isp |
QString | f_ilename |
Member Function Documentation
void CDisposition::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 1556 of file kmime_headers.cpp.
QCString CDisposition::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 1573 of file kmime_headers.cpp.
void CDisposition::fromUnicodeString | ( | const QString & | s, | |
const QCString & | cs | |||
) | [virtual] |
Parse the given string and set the charset.
Reimplemented from KMime::Headers::Base.
Definition at line 1599 of file kmime_headers.cpp.
QString CDisposition::asUnicodeString | ( | ) | [virtual] |
Return the decoded content of the header without the header-type.
Reimplemented from KMime::Headers::Base.
Definition at line 1616 of file kmime_headers.cpp.
virtual void KMime::Headers::CDisposition::clear | ( | ) | [inline, virtual] |
virtual const char* KMime::Headers::CDisposition::type | ( | ) | [inline, virtual] |
Return the type of this header (e.g.
"From")
Reimplemented from KMime::Headers::Base.
Definition at line 1129 of file kmime_headers.h.
The documentation for this class was generated from the following files: