KMIME Library
KMime::Headers::Generic Class Reference
#include <kmime_headers.h>
Inheritance diagram for KMime::Headers::Generic:
Public Member Functions | |
Generic (const char *t) | |
Generic (const char *t, Content *p) | |
Generic (const char *t, Content *p, const QByteArray &s) | |
Generic (const char *t, Content *p, const QString &s, const QByteArray &cs) | |
virtual void | clear () |
virtual bool | isEmpty () const |
void | setType (const char *type) |
virtual const char * | type () const |
Public Member Functions inherited from KMime::Headers::Generics::Unstructured | |
Unstructured (Content *p=0) | |
Unstructured (Content *p, const QByteArray &s) | |
Unstructured (Content *p, const QString &s, const QByteArray &cs) | |
virtual QByteArray | as7BitString (bool withHeaderType=true) const |
virtual QString | asUnicodeString () const |
virtual void | from7BitString (const QByteArray &s) |
virtual void | fromUnicodeString (const QString &s, const QByteArray &b) |
Public Member Functions inherited from KMime::Headers::Base | |
Base (KMime::Content *parent=0) | |
virtual | ~Base () |
QByteArray | defaultCharset () const |
bool | forceDefaultCharset () const |
bool | is (const char *t) const |
bool | isMimeHeader () const |
bool | isXHeader () const |
KMime::Content * | parent () const |
QByteArray | rfc2047Charset () const |
void | setParent (KMime::Content *parent) |
void | setRFC2047Charset (const QByteArray &cs) |
Additional Inherited Members | |
Public Types inherited from KMime::Headers::Base | |
typedef QList < KMime::Headers::Base * > | List |
Protected Member Functions inherited from KMime::Headers::Base | |
QByteArray | typeIntro () const |
Detailed Description
Represents an arbitrary header, that can contain any header-field.
Adds a type over Unstructured.
- See also
- Unstructured
Definition at line 1239 of file kmime_headers.h.
Member Function Documentation
|
virtual |
Deletes.
Reimplemented from KMime::Headers::Generics::Unstructured.
Definition at line 1263 of file kmime_headers.cpp.
|
virtual |
Checks if this header contains any data.
Reimplemented from KMime::Headers::Generics::Unstructured.
Definition at line 1271 of file kmime_headers.cpp.
|
virtual |
Returns the type of this header (e.g.
"From").
Reimplemented from KMime::Headers::Base.
Definition at line 1276 of file kmime_headers.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.