KMIME Library
kmime_content.h
Go to the documentation of this file.
A class to uniquely identify message parts (Content) in a hierarchy.
Definition kmime_contentindex.h:55
Headers::ContentDescription * contentDescription(bool create=true)
Returns the Content-Description header.
Headers::ContentType * contentType(bool create=true)
Returns the Content-Type header.
virtual void setHeader(Headers::Base *h)
Sets the specified header to this Content.
Definition kmime_content.cpp:748
virtual Headers::Base * headerByType(const char *type)
Returns the first header of type type, if it exists.
Definition kmime_content.cpp:720
Headers::ContentTransferEncoding * contentTransferEncoding(bool create=true)
Returns the Content-Transfer-Encoding header.
Headers::ContentDisposition * contentDisposition(bool create=true)
Returns the Content-Disposition header.
KMIME_DEPRECATED T * headerInstance(T *ptr, bool create)
Returns the first header of type T, if it exists.
T * header(bool create=false)
Returns the first header of type T, if it exists.
Definition kmime_content.h:836
Headers::ContentID * contentID(bool create=true)
Returns the Content-ID header.
Headers::ContentLocation * contentLocation(bool create=true)
Returns the Content-Location header.
Represents a "Content-Description" header.
Definition kmime_headers.h:1287
Represents a "Content-Disposition" header.
Definition kmime_headers.h:1183
Represents a "Content-Location" header.
Definition kmime_headers.h:1296
Represents a "Content-Transfer-Encoding" header.
Definition kmime_headers.h:891
Represents an arbitrary header, that can contain any header-field.
Definition kmime_headers.h:1240
The KAutoDeleteHash class is a convenience QHash subclass that provides automatic deletion of the val...
Definition kautodeletehash.h:50
This file is part of the API for handling MIME data and defines the ContentIndex class.
This file is part of the API for handling MIME data and defines the various header classes:
contentEncoding
Various possible values for the "Content-Transfer-Encoding" header.
Definition kmime_headers.h:74
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.