KMime
kmime_util.cpp
284 if (ct && ct->isMultipart() && !ct->isSubtype("related")) {// && !ct->isSubtype("alternative")) {
Headers::ContentType * contentType(bool create=true)
Returns the Content-Type header.
Content * topLevel() const
Returns the toplevel content object, 0 if there is no such object.
Definition kmime_content.cpp:838
Content * parent() const
Returns the parent content object, or 0 if the content doesn't have a parent.
Definition kmime_content.cpp:833
Headers::ContentDisposition * contentDisposition(bool create=true)
Returns the Content-Disposition header.
QList< Content * > contents() const
For multipart contents, this will return a list of all multipart child contents.
Definition kmime_content.cpp:454
QString filename() const
Returns the suggested filename for the associated MIME part.
Definition kmime_headers.cpp:2049
bool isMediatype(const char *mediatype) const
Tests if the media type equals mediatype.
Definition kmime_headers.cpp:1681
bool isSubtype(const char *subtype) const
Tests if the mime sub-type equals subtype.
Definition kmime_headers.cpp:1688
bool isMultipart() const
Returns true if the associated MIME entity is a multipart container.
Definition kmime_headers.cpp:1721
Content * mainBodyPart(const QByteArray &type=QByteArray())
Returns the first main body part of a given type, taking multipart/mixed and multipart/alternative no...
Definition kmime_message.cpp:39
contentEncoding
Various possible values for the "Content-Transfer-Encoding" header.
Definition kmime_headers.h:52
contentDisposition
Various possible values for the "Content-Disposition" header.
Definition kmime_headers.h:64
QString name(StandardShortcut id)
char at(qsizetype i) const const
bool contains(QByteArrayView bv) const const
qsizetype indexOf(QByteArrayView bv, qsizetype from) const const
QByteArray & replace(QByteArrayView before, QByteArrayView after)
QByteArray & setNum(double n, char format, int precision)
QByteArray toLower() const const
char toLatin1() const const
qint64 applicationPid()
void append(QList< T > &&value)
T & last()
const QChar at(qsizetype position) const const
QChar * data()
qsizetype length() const const
QString toLower() const const
QString toUpper() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:20:12 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:20:12 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.