KMime
util.cpp
266 if (ct && ct->isMultipart() && !ct->isSubtype("related")) {// && !ct->isSubtype("alternative")) {
Headers::ContentType * contentType(bool create=true)
Returns the Content-Type header.
Content * parent()
Returns the parent content object, or 0 if the content doesn't have a parent.
Definition content.cpp:759
Headers::ContentDisposition * contentDisposition(bool create=true)
Returns the Content-Disposition header.
Content * topLevel()
Returns the toplevel content object, 0 if there is no such object.
Definition content.cpp:769
QList< Content * > contents()
For multipart contents, this will return a list of all multipart child contents.
Definition content.cpp:468
QString filename() const
Returns the suggested filename for the associated MIME part.
Definition headers.cpp:2000
bool isMediatype(const char *mediatype) const
Tests if the media type equals mediatype.
Definition headers.cpp:1636
bool isSubtype(const char *subtype) const
Tests if the mime sub-type equals subtype.
Definition headers.cpp:1643
bool isMultipart() const
Returns true if the associated MIME entity is a multipart container.
Definition headers.cpp:1676
Content * mainBodyPart(const QByteArray &type=QByteArray())
Returns the first main body part of a given type, taking multipart/mixed and multipart/alternative no...
Definition message.cpp:36
contentEncoding
Various possible values for the "Content-Transfer-Encoding" header.
Definition headers.h:52
contentDisposition
Various possible values for the "Content-Disposition" header.
Definition headers.h:64
QString name(StandardAction id)
QByteArray & replace(QByteArrayView before, QByteArrayView after)
QByteArray & setNum(double n, char format, int precision)
QByteArray toLower() const const
qint64 applicationPid()
void append(QList< T > &&value)
T & last()
QChar * data()
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 Sat Dec 21 2024 17:05:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:05:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.