KMIME Library
#include "kmime_export.h"
#include "kmime_header_parsing.h"
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QRegExp>
#include <QtCore/QDateTime>
#include <QtCore/QMap>
#include <QtCore/QList>
#include <QtCore/QByteArray>
#include <kdatetime.h>
Go to the source code of this file.
Enumerations | |
enum | contentCategory { CCsingle , CCcontainer , CCmixedPart , CCalternativePart } |
enum | KMime::Headers::contentDisposition { KMime::Headers::CDInvalid , KMime::Headers::CDinline , KMime::Headers::CDattachment , KMime::Headers::CDparallel } |
enum | KMime::Headers::contentEncoding { KMime::Headers::CE7Bit , KMime::Headers::CE8Bit , KMime::Headers::CEquPr , KMime::Headers::CEbase64 , KMime::Headers::CEuuenc , KMime::Headers::CEbinary } |
Functions | |
Base * | KMime::Headers::createHeader (const QByteArray &type) |
static const QByteArray | KMime::Headers::Latin1 ("ISO-8859-1") |
Detailed Description
This file is part of the API for handling MIME data and defines the various header classes:
- header's base class defining the common interface
- generic base classes for different types of fields
- incompatible, Structured-based field classes
- compatible, Unstructured-based field classes
Defines the various headers classes.
Definition in file kmime_headers.h.
Enumeration Type Documentation
◆ contentCategory
enum KMime::Headers::contentCategory |
Definition at line 64 of file kmime_headers.h.
◆ contentDisposition
Various possible values for the "Content-Disposition" header.
Enumerator | |
---|---|
CDInvalid | Default, invalid value. |
CDinline | inline |
CDattachment | attachment |
CDparallel | parallel (invalid, do not use) |
Definition at line 86 of file kmime_headers.h.
◆ contentEncoding
Various possible values for the "Content-Transfer-Encoding" header.
Enumerator | |
---|---|
CE7Bit | 7bit |
CE8Bit | 8bit |
CEquPr | quoted-printable |
CEbase64 | base64 |
CEuuenc | uuencode |
CEbinary | binary |
Definition at line 74 of file kmime_headers.h.
Function Documentation
◆ createHeader()
Base * KMime::Headers::createHeader | ( | const QByteArray & | type | ) |
Creates a header based on.
- Parameters
-
type. If type is a known header type, the right object type will be created, otherwise a null pointer is returned.
Definition at line 2263 of file kmime_headers.cpp.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.