![]() |
Home | ![]() |
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 and QMailMessageContentDispositionFwd.
QMailMessageContentDisposition ( const QByteArray & type ) | |
QMailMessageContentDisposition ( DispositionType type ) | |
QMailMessageContentDisposition ( const QMailMessageHeaderField & field ) | |
QMailTimeStamp | creationDate () const |
QByteArray | filename () const |
QMailTimeStamp | modificationDate () const |
QMailTimeStamp | readDate () const |
void | setCreationDate ( const QMailTimeStamp & timeStamp ) |
void | setFilename ( const QByteArray & filename ) |
void | setModificationDate ( const QMailTimeStamp & timeStamp ) |
void | setReadDate ( const QMailTimeStamp & timeStamp ) |
void | setSize ( int size ) |
void | setType ( DispositionType type ) |
int | size () const |
DispositionType | type () const |
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.
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 © 2010 QtSoftware | Messaging Framework |