KMIME Library
kmime_message.h
This file is part of the API for handling MIME data and defines the BoolFlags class.
virtual KMime::Headers::References * references(bool create=true)
Returns the References header.
virtual bool isTopLevel() const
Returns true if this is the top-level node in the MIME tree.
Definition kmime_message.cpp:98
virtual KMime::Headers::Organization * organization(bool create=true)
Returns the Organization header.
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:103
virtual KMime::Headers::Sender * sender(bool create=true)
Returns the Sender header.
virtual QByteArray assembleHeaders()
Reimplement this method if you need to assemble additional headers in a derived class.
Definition kmime_message.cpp:54
virtual KMime::Headers::Subject * subject(bool create=true)
Returns the Subject header.
virtual KMime::Headers::InReplyTo * inReplyTo(bool create=true)
Returns the In-Reply-To header.
virtual KMime::Headers::Base * headerByType(const char *type)
Returns the first header of type type, if it exists.
Definition kmime_message.cpp:80
virtual KMime::Headers::UserAgent * userAgent(bool create=true)
Returns the User-Agent header.
virtual void clear()
Clears the content, deleting all headers and sub-Contents.
Definition kmime_message.cpp:68
virtual bool removeHeader(const char *type)
Searches for the first header of type type, and deletes it, removing it from this Content.
Definition kmime_message.cpp:92
virtual KMIME_DEPRECATED KMime::Headers::Base * getHeaderByType(const char *type)
Tries to find a type header in the Content and returns it.
Definition kmime_message.cpp:74
virtual void setHeader(KMime::Headers::Base *h)
Sets the specified header to this Content.
Definition kmime_message.cpp:86
virtual KMime::Headers::MessageID * messageID(bool create=true)
Returns the Message-ID header.
virtual KMime::Headers::ReplyTo * replyTo(bool create=true)
Returns the Reply-To header.
This file is part of the API for handling MIME data and defines the Content class.
This file is part of the API for handling MIME data and defines the various header classes:
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.