KMime
kmime_content.h
Go to the documentation of this file.
543 [[deprecated("use append/prependContent instead")]] void addContent(Content *content, bool prepend = false);
584 [[deprecated("use takeContent instead")]] void removeContent(Content *content, bool del = false);
A class to uniquely identify message parts (Content) in a hierarchy.
Definition kmime_contentindex.h:41
Headers::ContentDescription * contentDescription(bool create=true)
Returns the Content-Description header.
bool removeHeader()
Searches for the first header of type T, and deletes it, removing it from this Content.
Definition kmime_content.h:730
Headers::ContentType * contentType(bool create=true)
Returns the Content-Type header.
Headers::ContentTransferEncoding * contentTransferEncoding(bool create=true)
Returns the Content-Transfer-Encoding header.
Headers::ContentDisposition * contentDisposition(bool create=true)
Returns the Content-Disposition header.
T * header(bool create=false)
Returns the first header of type T, if it exists.
Definition kmime_content.h:717
Headers::ContentID * contentID(bool create=true)
Returns the Content-ID header.
Headers::Base * headerByType(const char *type) const
Returns the first header of type type, if it exists.
Definition kmime_content.cpp:642
Headers::ContentLocation * contentLocation(bool create=true)
Returns the Content-Location header.
void appendHeader(Headers::Base *h)
Appends the specified header to the headers of this Content.
Definition kmime_content.cpp:676
Represents a "Content-Description" header.
Definition kmime_headers.h:1226
Represents a "Content-Disposition" header.
Definition kmime_headers.h:1128
Represents a "Content-Location" header.
Definition kmime_headers.h:1235
Represents a "Content-Transfer-Encoding" header.
Definition kmime_headers.h:838
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:52
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.