| Home · All Classes · Grouped Classes · Annotated · Functions |
The QMailStore class represents the main interface for storage and retrieval of messages and folders on the message store. More...
#include <QMailStore>
The QMailStore class represents the main interface for storage and retrieval of messages and folders on the message store.
The QMailStore class is accessed through a singleton interface and provides functions for adding, updating and deleting of QMailFolders and QMailMessages on the message store.
QMailStore also provides functions for querying and counting of QMailFolders and QMailMessages when used in conjunction with QMailMessageKey and QMailFolderKey classes.
See also QMailMessage, QMailFolder, QMailMessageKey, and QMailFolderKey.
Destroys this QMailStore object.
Adds a new QMailFolder object a into the message store, performing respective integrity checks. Returns true if the operation completed successfully, false otherwise.
Adds a new QMailMessage object m into the message store, performing respective integrity checks. Returns true if the operation completed successfully, false otherwise.
Returns the count of the number of folders which pass the filtering criteria defined in QMailFolderKey k.
This is an overloaded member function, provided for convenience.
Returns the count of all the folders in the message store.
Returns the count of the number of messages which pass the filtering criteria defined in QMailMessageKey k.
This is an overloaded member function, provided for convenience.
Returns the count of all the messages in the message store
Returns the QMailFolder defined by a QMailId id from the message store.
Returns an instance of the QMailStore object.
Returns the QMailMessage defined by a QMailId id from the message store.
Returns the QMailMessage header defined by a QMailId id from the message store.
Returns the QMailId's of all folders in the message store
This is an overloaded member function, provided for convenience.
Returns the QMailId's of all folders in the message store sorted by the QMailFolderSortKey sortKey.
This is an overloaded member function, provided for convenience.
Returns a list of QMailId's which pass the query criteria defined in QMailFolderKey k.
This is an overloaded member function, provided for convenience.
Returns a list of QMailId's which pass the query criteria defined in QMailFolderKey key and the QMailFolderSortKey sortKey.
Returns the QMailId's of all messages in the message store
This is an overloaded member function, provided for convenience.
Returns the QMailId's of all messages in the message store sorted by the QMailMessageSortKey sortKey.
This is an overloaded member function, provided for convenience.
Returns a list of QMailId's which pass the query criteria defined in QMailMessageKey k.
This is an overloaded member function, provided for convenience.
Returns a list of QMailId's which pass the query criteria defined in QMailFolderKey key and the QMailFolderSortKey sortKey.
Removes a QMailFolder with QMailId id from the message store. This action also removes the sub-folder and messages of the folder. Returns true if the operation completed successfully, false otherwise.
Removes a QMailMessage with QMailId id from the message store. Returns true if the operation completed successfully, false otherwise.
Updates the existing QMailFolder f on the message store. Returns true if the operation completed successfully, false otherwise.
Updates the existing QMailMessage m on the message store. Returns true if the operation completed successfully, or false otherwise.
| Copyright © 2007 Trolltech | Trademarks | Qtopia 4.3.0 |