libkmime
ContentType Class Reference
#include <kmime_headers_obs.h>
List of all members.
Detailed Description
Represents a "Content-Type" header.
Definition at line 236 of file kmime_headers_obs.h.
|
Public Member Functions |
|
| ContentType (Content *p) |
|
| ContentType (Content *p, const QCString &s) |
|
| ContentType (Content *p, const QString &s) |
|
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 bool | isEmpty () |
|
virtual const char * | type () |
|
QCString | mimeType () |
|
QCString | mediaType () |
|
QCString | subType () |
|
void | setMimeType (const QCString &s) |
|
bool | isMediatype (const char *s) |
|
bool | isSubtype (const char *s) |
|
bool | isText () |
|
bool | isPlainText () |
|
bool | isHTMLText () |
|
bool | isImage () |
|
bool | isMultipart () |
|
bool | isPartial () |
|
QCString | charset () |
|
void | setCharset (const QCString &s) |
|
QCString | boundary () |
|
void | setBoundary (const QCString &s) |
|
QString | name () |
|
void | setName (const QString &s, const QCString &cs) |
|
QCString | id () |
|
void | setId (const QCString &s) |
|
int | partialNumber () |
|
int | partialCount () |
|
void | setPartialParams (int total, int number) |
|
contentCategory | category () |
|
void | setCategory (contentCategory c) |
Protected Member Functions |
|
QCString | getParameter (const char *name) |
|
void | setParameter (const QCString &name, const QCString &value, bool doubleQuotes=false) |
Protected Attributes |
|
QCString | m_imeType |
|
QCString | p_arams |
|
contentCategory | c_ategory |
The documentation for this class was generated from the following file: