Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QMailMessageContentType class encapsulates the parsing of the RFC 2822 'Content-Type' header field. More...
#include <QMailMessageContentType>
This class is under development and is subject to change.
Inherits QMailMessageHeaderField.
The QMailMessageContentType class encapsulates the parsing of the RFC 2822 'Content-Type' header field.
QMailMessageContentType provides simplified access to the various components of the 'Content-Type' header field. Components of the header field not exposed by member functions can be accessed using the functions inherited from QMailMessageHeaderField.
Creates a content type object from the data in type.
Creates a content type object from the content of field.
Returns the value of the 'boundary' parameter, if present; otherwise returns an empty QByteArray.
See also setBoundary().
Returns the value of the 'charset' parameter, if present; otherwise returns an empty QByteArray.
See also setCharset().
Returns the value of the 'name' parameter, if present; otherwise returns an empty QByteArray.
See also setName().
Sets the value of the 'boundary' parameter to boundary.
See also boundary().
Sets the value of the 'charset' parameter to charset.
See also charset().
Sets the value of the 'name' parameter to name.
See also name().
Sets the sub-type information of the 'Content-Type' header field to subType. If no primary type has been set, then setting the sub-type has no effect.
See also subType() and setType().
Sets the primary type information of the 'Content-Type' header field to type. If type is empty, then any pre-existing sub-type information will be cleared.
See also type() and setSubType().
Returns the sub-type information of the 'Content-Type' header field.
For example: if content() returns "text/plain", then subType() returns "plain"
See also setSubType().
Returns the primary type information of the content type header field.
For example: if content() returns "text/plain", then type() returns "text"
See also setType().
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |