QMailStore Class Reference
|
Constant | Value | Description |
---|---|---|
QMailStore::NoRemovalRecord | 1 | Do not create a QMailMessageRemovalRecord upon message removal. |
QMailStore::CreateRemovalRecord | 2 | Create a QMailMessageRemovalRecord upon message removal. |
This enum defines the meta data list return option for QMailStore::messagesMetaData()
Constant | Value | Description |
---|---|---|
QMailStore::ReturnAll | 0 | Return all meta data objects that match the selection criteria, including duplicates. |
QMailStore::ReturnDistinct | 1 | Return distinct meta data objects that match the selection criteria, excluding duplicates. |
Destroys this QMailStore object.
Returns the QMailAcount defined by a QMailAccountId id from the store.
Signal that is emitted when changes to messages and folders in the mail store affect the content of the accounts in the list ids.
See also messagesAdded(), messagesUpdated(), messagesRemoved(), foldersAdded(), foldersUpdated(), and foldersRemoved().
Signal that is emitted when the accounts in the list ids are added to the store.
See also accountsRemoved() and accountsUpdated().
Signal that is emitted when the accounts in the list ids are removed from the store.
See also accountsAdded() and accountsUpdated().
Signal that is emitted when the accounts in the list ids are updated within the store.
See also accountsAdded() and accountsRemoved().
Adds a new QMailAccount object account into the messsage store, with the configuration details optionally specified by config. Returns true if the operation completed successfully, false otherwise.
Adds a new QMailFolder object folder into the message store, performing respective integrity checks. Returns true if the operation completed successfully, false otherwise.
Adds a new QMailMessage object msg into the message store, performing respective integrity checks. Returns true if the operation completed successfully, false otherwise.
This is an overloaded member function, provided for convenience.
Adds a new QMailMessageMetaData object metaData into the message store, performing respective integrity checks. Returns true if the operation completed successfully, false otherwise.
Returns true if the running process is in the act of emitting an asynchronous QMailStore signal caused by another process. This can only be true when called from a slot invoked by a QMailStore signal.
Returns the count of the number of accounts which pass the filtering criteria defined in QMailAccountKey key. If key is empty a count of all accounts is returned.
Returns the count of the number of folders which pass the filtering criteria defined in QMailFolderKey key. If key is empty a count of all folders is returned.
Returns the count of the number of messages which pass the filtering criteria defined in QMailMessageKey key. If key is empty a count of all messages is returned.
Forces any queued event notifications to immediately be synchronously emitted, and processed synchronously by recipient processes.
Any events occurring before flushIpcNotifications() is invoked will be processed by recipient processes before any IPC packets generated after the invocation.
Returns the QMailFolder defined by a QMailFolderId id from the message store.
Signal that is emitted when changes to messages in the mail store affect the content of the folders in the list ids.
See also messagesAdded(), messagesUpdated(), and messagesRemoved().
Returns the status bitmask needed to test the result of QMailFolder::status() against the QMailFolder status flag registered with the identifier name.
See also registerFolderStatusFlag() and QMailFolder::statusMask().
Signal that is emitted when the folders in the list ids are added to the mail store.
See also foldersRemoved() and foldersUpdated().
Signal that is emitted when the folders in the list ids are removed from the mail store.
See also foldersAdded() and foldersUpdated().
Signal that is emitted when the folders in the list ids are updated within the mail store.
See also foldersAdded() and foldersRemoved().
Returns true if the QMailStore object was correctly initialized.
Returns an instance of the QMailStore object.
Returns the QMailMessage defined by a QMailMessageId id from the message store.
This is an overloaded member function, provided for convenience.
Returns the QMailMessage defined by the unique identifier uid from the account with id accountId.
Returns the meta data for the message identified by the QMailMessageId id from the message store.
This is an overloaded member function, provided for convenience.
Returns the meta data for the message identified by the unique identifier uid from the account with id accountId.
Retrieves a list of QMailMessageRemovalRecord objects containing information about messages that have been removed from local storage. Records are retrived for messages whose account Id's match accountId and whose optional mailbox matches fromMailbox. This information is primarily for synchronization of local changes to remote message storage services such as IMAP servers.
Returns a list of QMailMessageRemovalRecord objects if successfully completed, or an empty list for an error or no data.
Signal that is emitted when QMailMessageRemovalRecords are added to the store, affecting the accounts listed in ids.
See also messageRemovalRecordsRemoved().
Signal that is emitted when QMailMessageRemovalRecords are removed from the store, affecting the accounts listed in ids.
See also messageRemovalRecordsAdded().
Returns the status bitmask needed to test the result of QMailMessage::status() against the QMailMessage status flag registered with the identifier name.
See also registerMessageStatusFlag() and QMailMessage::statusMask().
Signal that is emitted when the messages in the list ids are added to the mail store.
See also messagesRemoved() and messagesUpdated().
Retrieves a list of QMailMessageMetaData objects containing meta data elements specified by properties, for messages which match the criteria defined by key. If option is ReturnAll then duplicate objects are included in the list; otherwise duplicate objects are excluded from the returned list.
Returns a list of QMailMessageMetaData objects if successfully completed, or an empty list for an error or no data.
Signal that is emitted when the messages in the list ids are removed from the mail store.
See also messagesAdded() and messagesUpdated().
Signal that is emitted when the messages in the list ids are updated within the mail store.
See also messagesAdded() and messagesRemoved().
Erases message deletion records from the account with id accountId and server uid listed in serverUids. If serverUids is empty, all message deletion records for the specified account are deleted.
Returns true if the operation completed successfully, false otherwise.
Returns the QMailAccountIds of accounts in the store. If key is not empty only accounts matching the parameters set by key will be returned, otherwise all accounts identifiers will be returned. If sortKey is not empty, the identifiers will be sorted by the parameters set by sortKey.
Returns the QMailFolderIds of folders in the message store. If key is not empty only folders matching the parameters set by key will be returned, otherwise all folder identifiers will be returned. If sortKey is not empty, the identifiers will be sorted by the parameters set by sortKey.
Returns the QMailMessageIds of messages in the message store. If key is not empty only messages matching the parameters set by key will be returned, otherwise all message identifiers will be returned. If sortKey is not empty, the identifiers will be sorted by the parameters set by sortKey.
Registers a status flag for QMailFolder objects, with the identifier name. Returns true if the flag is already registered, or if it is successfully registered; otherwise returns false.
See also folderStatusMask().
Registers a status flag for QMailMessage objects, with the identifier name. Returns true if the flag is already registered, or if it is successfully registered; otherwise returns false.
See also messageStatusMask().
Removes a QMailAccount with QMailAccountId id from the store. Also removes any folder, message and message removal records associated with the removed account. Returns true if the operation completed successfully, false otherwise.
Removes all QMailAccounts identified by the key key from the store. Also removes any folder, message and message removal records associated with the removed account. Returns true if the operation completed successfully, false otherwise.
Removes a QMailFolder with QMailFolderId id from the message store. Also removes any sub-folders of the identified folder, and any messages contained in any of the folders removed. If option is QMailStore::CreateRemovalRecord then removal records will be created for each removed message. Returns true if the operation completed successfully, false otherwise.
Removes all QMailFolders identified by the key key from the message store. Also removes any sub-folders of the removed folders, and any messages contained in any of the folders removed. If option is QMailStore::CreateRemovalRecord then removal records will be created for each removed message. Returns true if the operation completed successfully, false otherwise.
Removes a QMailMessage with QMailMessageId id from the message store. If option is QMailStore::CreateRemovalRecord then a removal record will be created for the removed message. Returns true if the operation completed successfully, false otherwise.
Removes all QMailMessages identified by the key key from the message store. If option is QMailStore::CreateRemovalRecord then removal records will be created for each removed message. Returns true if the operation completed successfully, false otherwise.
Updates the QMailMessage with QMailMessageId id to move the message back to the previous folder it was contained by.
Returns true if the operation completed successfully, false otherwise.
This is an overloaded member function, provided for convenience.
Updates all QMailMessages identified by the key key to move the messages back to the previous folder they were contained by.
Returns true if the operation completed successfully, false otherwise.
Returns the total size of the messages which pass the filtering criteria defined in QMailMessageKey key. If key is empty the total size of all messages is returned.
Returns true if the QMailStore was correctly initialized.
Updates the existing QMailAccount account on the store, with the configuration details optionally specified by config. Returns true if the operation completed successfully, false otherwise.
Updates the existing QMailFolder folder on the message store. Returns true if the operation completed successfully, false otherwise.
Updates the existing QMailMessage msg on the message store. Returns true if the operation completed successfully, or false otherwise.
This is an overloaded member function, provided for convenience.
Updates the meta data of the existing message on the message store, to match metaData. Returns true if the operation completed successfully, or false otherwise.
Updates the message properties defined in properties to match the respective element contained in the data, for all messages which match the criteria defined by key.
Returns true if the operation completed successfully, or false otherwise.
This is an overloaded member function, provided for convenience.
Updates message status flags set in status according to set, for messages which match the criteria defined by key.
Returns true if the operation completed successfully, or false otherwise.
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