QMailMessageMetaData Class Reference
|
Constant | Value | Description |
---|---|---|
QMailMessageMetaData::UnknownContent | 0 | The content of the message has not been specified. |
QMailMessageMetaData::NoContent | 1 | The message does not contain content and is completely described by its meta data. |
QMailMessageMetaData::PlainTextContent | 2 | Plain text content. |
QMailMessageMetaData::RichTextContent | 3 | Text content described via QTextBrowser rich text markup. |
QMailMessageMetaData::HtmlContent | 4 | Content marked up via HyperText Markup Language. |
QMailMessageMetaData::ImageContent | 5 | Image content. |
QMailMessageMetaData::AudioContent | 6 | Audio content. |
QMailMessageMetaData::VideoContent | 7 | Video content. |
QMailMessageMetaData::MultipartContent | 8 | Content consisting of multiple individual parts related according to RFC 2046. |
QMailMessageMetaData::SmilContent | 9 | Dynamic content described via Synchronized Multimedia Integration Language. |
QMailMessageMetaData::VoicemailContent | 10 | Content that should be presented as a recorded audio message from a contact. |
QMailMessageMetaData::VideomailContent | 11 | Content that should be presented as a recorded video message from a contact. |
QMailMessageMetaData::VCardContent | 12 | A contact description, as defined by RFC 2425. |
QMailMessageMetaData::VCalendarContent | 13 | A scheduling element description as defined by the vCalendar 1.0 specification. |
QMailMessageMetaData::ICalendarContent | 14 | A scheduling element description as defined by RFC 2445. |
QMailMessageMetaData::UserContent | 64 | The first value that can be used for application-specific purposes. |
This enum type is used to describe the type of a message.
Constant | Value | Description |
---|---|---|
QMailMessageMetaData::Mms | 0x1 | The message is an MMS. |
QMailMessageMetaData::Sms | 0x4 | The message is an SMS. |
QMailMessageMetaData::Email | 0x8 | The message is an Email. |
QMailMessageMetaData::Instant | 0x20 | The message is an instant message. |
QMailMessageMetaData::System | 0x10 | The message is a system report. |
QMailMessageMetaData::None | 0 | Indicates no message type. |
QMailMessageMetaData::AnyType | Mms | Sms | Email | System | Instant | Indicates any type of message. |
Constructs an empty message meta data object.
Constructs a message meta data object from data stored in the message store with QMailMessageId id.
Constructs a message meta data object from data stored in the message store with the unique identifier uid from the account with id accountId.
Returns the type of content contained within the message.
See also setContent().
Returns the timestamp contained in the origination date header field of the message, if present; otherwise returns an empty string.
See also setDate().
Returns the originating address of the message.
See also setFrom().
Returns the name of the originating account for the message.
See also setFromAccount().
Returns the name of the originating mailbox for the message.
See also setFromMailbox().
Returns the Qt Extended unique QMailMessageId of the message.
See also setId().
Returns an indication of the size of the message. This measure should be used only in comparing the relative size of messages with respect to transmission.
Returns the MessageType of the message.
See also setMessageType().
Returns the id of the originating account for the message.
See also setParentAccountId().
Return the QMailFolderId of the folder that contains the message.
See also setParentFolderId().
Return the QMailFolderId of the folder that contained the message before it was moved into the current parent folder.
See also setPreviousParentFolderId().
Returns the identifier for the message on the originating server.
See also setServerUid().
Sets the type of content contained within the message to type. It is the caller's responsibility to ensure that this value matches the actual content.
See also content().
Sets the origination date header field specifying the timestamp of the message to timeStamp.
See also date().
Sets the from address, that is the originating address of the message to from.
See also from().
Sets the name of the originating account for the message to account.
See also fromAccount().
Sets the name of the originating mailbox for the message to mailBox.
See also fromMailbox().
Sets the QMailMessageId of the message to id. id should be different for each message known to Qtopia.
See also id().
Sets the MessageType of the message to type.
See also messageType().
Sets the id of the originating account for the message to id.
See also parentAccountId().
Sets the QMailFolderId of the folder that contains the message to id.
See also parentFolderId().
Sets the QMailFolderId of the folder that contained the message before it was moved into the current parent folder to id.
See also previousParentFolderId().
Sets the originating server identifier for the message to server. The identifier specified should be unique.
See also serverUid().
Sets the complete size of the message as found on the server to size.
See also size().
Sets the status value for the message to newStatus.
See also status() and statusMask().
This is an overloaded member function, provided for convenience.
Sets the status flags indicated in mask to set.
See also status() and statusMask().
Sets the subject of the message to subject.
See also subject().
Sets the list of primary recipients for the message to toList.
See also to().
This is an overloaded member function, provided for convenience.
Sets the list of primary recipients for the message to contain address.
Returns the complete size of the message as indicated on the originating server.
See also setSize().
Returns the status value for the message.
See also setStatus() and statusMask().
Returns the status bitmask needed to test the result of QMailMessageMetaData::status() against the QMailMessageMetaData status flag registered with the identifier flagName.
See also status() and QMailStore::messageStatusMask().
Returns the subject of the message, if present; otherwise returns an empty string.
See also setSubject().
Returns the list of primary recipients for the message.
See also setTo() and QMailAddress.
The status mask needed for testing the value of the registered status flag named "Downloaded" against the result of QMailMessage::status().
This flag indicates that the entire content of the message has been retrieved from the originating server.
The status mask needed for testing the value of the registered status flag named "Forwarded" against the result of QMailMessage::status().
This flag indicates that a message forwarding the content of this message has been created.
The status mask needed for testing the value of the registered status flag named "Incoming" against the result of QMailMessage::status().
This flag indicates that the message has been sent from an external source to an account whose messages are retrieved to Qt Extended.
The status mask needed for testing the value of the registered status flag named "New" against the result of QMailMessage::status().
This flag indicates that the meta data of the message has not yet been displayed to the user.
The status mask needed for testing the value of the registered status flag named "Outgoing" against the result of QMailMessage::status().
This flag indicates that the message originates within Qt Extended, for transmission to an external message sink.
The status mask needed for testing the value of the registered status flag named "Read" against the result of QMailMessage::status().
This flag indicates that the content of this message has been displayed to the user.
The status mask needed for testing the value of the registered status flag named "ReadElsewhere" against the result of QMailMessage::status().
This flag indicates that the content of this message has been reported as having been displayed to the user by some other client.
The status mask needed for testing the value of the registered status flag named "Removed" against the result of QMailMessage::status().
This flag indicates that the message has been deleted from or moved on the originating server.
The status mask needed for testing the value of the registered status flag named "Replied" against the result of QMailMessage::status().
This flag indicates that a message replying to the source of this message has been created, in response to this message.
The status mask needed for testing the value of the registered status flag named "RepliedAll" against the result of QMailMessage::status().
This flag indicates that a message replying to the source of this message and all its recipients, has been created in response to this message.
The status mask needed for testing the value of the registered status flag named "Sent" against the result of QMailMessage::status().
This flag indicates that the message has been delivered to an external message sink.
The status mask needed for testing the value of the registered status flag named "UnloadedData" against the result of QMailMessage::status().
This flag indicates that the meta data of the message is not loaded in entirety.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtextended4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com