KMIME Library
kmime_message.cpp
142 static const QString &message_rfc822 = KGlobal::staticQString( QLatin1String( "message/rfc822" ) );
virtual KMime::Headers::Base * headerByType(const char *type)
Returns the first header of type type, if it exists.
Definition: kmime_message.cpp:80
virtual QByteArray assembleHeaders()
Reimplement this method if you need to assemble additional headers in a derived class.
Definition: kmime_content.cpp:267
QByteArray subType() const
Returns the mime sub-type (second part of the mimetype).
Definition: kmime_headers.cpp:1760
bool isMultipart() const
Returns true if the associated MIME entity is a mulitpart container.
Definition: kmime_headers.cpp:1824
List contents() const
For multipart contents, this will return a list of all multipart child contents.
Definition: kmime_content.cpp:526
virtual void setHeader(Headers::Base *h)
Sets the specified header to this Content.
Definition: kmime_content.cpp:725
virtual void clear()
Clears the content, deleting all headers and sub-Contents.
Definition: kmime_message.cpp:68
virtual void setHeader(KMime::Headers::Base *h)
Sets the specified header to this Content.
Definition: kmime_message.cpp:86
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_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 bool isTopLevel() const
Returns true if this is the top-level node in the MIME tree.
Definition: kmime_content.cpp:928
Headers::ContentType * contentType(bool create=true)
Returns the Content-Type header.
virtual QByteArray assembleHeaders()
Reimplement this method if you need to assemble additional headers in a derived class.
Definition: kmime_message.cpp:54
virtual bool isTopLevel() const
Returns true if this is the top-level node in the MIME tree.
Definition: kmime_message.cpp:98
virtual bool removeHeader(const char *type)
Searches for the first header of type type, and deletes it, removing it from this Content...
Definition: kmime_content.cpp:744
virtual void clear()
Clears the content, deleting all headers and sub-Contents.
Definition: kmime_content.cpp:279
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 void from7BitString(const QByteArray &s)
Parses the given string.
Definition: kmime_headers.cpp:320
virtual Headers::Base * headerByType(const char *type)
Returns the first header of type type, if it exists.
Definition: kmime_content.cpp:697
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.