Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QMailMessageContentDisposition class encapsulates the parsing of the RFC 2822 'Content-Disposition' header field. More...
#include <QMailMessageContentDisposition>
This class is under development and is subject to change.
Inherits QMailMessageHeaderField.
The QMailMessageContentDisposition class encapsulates the parsing of the RFC 2822 'Content-Disposition' header field.
QMailMessageContentDisposition provides simplified access to the various components of the 'Content-Disposition' header field. Components of the header field not exposed by member functions can be accessed using the functions inherited from QMailMessageHeaderField.
This enum type is used to describe the disposition of a message part.
Constant | Value | Description |
---|---|---|
QMailMessageContentDisposition::Attachment | 2 | The part data should be presented as an attachment. |
QMailMessageContentDisposition::Inline | 1 | The part data should be presented inline. |
QMailMessageContentDisposition::None | 0 | The disposition of the part is unknown. |
Creates a disposition header field object from the data in type.
Creates a 'Content-Disposition' header field object with the type type.
Creates a disposition header field object from the content of field.
Returns the value of the 'creation-date' parameter, if present; otherwise returns an uninitialised time stamp.
See also setCreationDate().
Returns the value of the 'filename' parameter, if present; otherwise returns an empty QByteArray.
See also setFilename().
Returns the value of the 'modification-date' parameter, if present; otherwise returns an uninitialised time stamp.
See also setModificationDate().
Returns the value of the 'read-date' parameter, if present; otherwise returns an uninitialised time stamp.
See also setReadDate().
Sets the value of the 'creation-date' parameter to timeStamp.
See also creationDate().
Sets the value of the 'filename' parameter to filename.
See also filename().
Sets the value of the 'modification-date' parameter to timeStamp.
See also modificationDate().
Sets the value of the 'read-date' parameter to timeStamp.
See also readDate().
Sets the value of the 'size' parameter to size.
See also size().
Sets the disposition type of this field to type.
See also type().
Returns the value of the 'size' parameter, if present; otherwise returns -1.
See also setSize().
Returns the disposition type of this header field.
See also setType().
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |