diff options
author | Eric Springer <eric.springer@nokia.com> | 2011-03-09 20:57:57 +1000 |
---|---|---|
committer | Eric Springer <eric.springer@nokia.com> | 2011-03-09 20:58:39 +1000 |
commit | 1d57095e68565c8bd9aa12da930e99bcc243a622 (patch) | |
tree | 48da7d302af9777abb21c051af4f098599abffd8 /src/libraries/qmfclient/qmailstore.h | |
parent | a9f5c686793a2662db5aa24a3680342d1a58a679 (diff) |
Expose the thread stuff to the public API
Diffstat (limited to 'src/libraries/qmfclient/qmailstore.h')
-rw-r--r-- | src/libraries/qmfclient/qmailstore.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libraries/qmfclient/qmailstore.h b/src/libraries/qmfclient/qmailstore.h index b23b60f0..a06c40ef 100644 --- a/src/libraries/qmfclient/qmailstore.h +++ b/src/libraries/qmfclient/qmailstore.h @@ -134,8 +134,7 @@ public: bool removeMessages(const QMailMessageKey& key, MessageRemovalOption option = NoRemovalRecord); bool removeThread(const QMailThreadId &id); - bool removeThreads(const QMailThreadKey& key, QMailStore::MessageRemovalOption option, - QMailThreadIdList *deletedThreads, QMailMessageIdList *deletedMessageIds, QMailMessageIdList *updatedMessageIds, QMailFolderIdList *modifiedFolderIds, QMailAccountIdList *modifiedAccountIds); + bool removeThreads(const QMailThreadKey& key, QMailStore::MessageRemovalOption option = NoRemovalRecord); bool updateAccount(QMailAccount* account, QMailAccountConfiguration* config = 0); bool updateAccountConfiguration(QMailAccountConfiguration* config); @@ -158,6 +157,7 @@ public: const QMailAccountIdList queryAccounts(const QMailAccountKey& key = QMailAccountKey(), const QMailAccountSortKey& sortKey = QMailAccountSortKey(), uint limit = 0, uint offset = 0) const; const QMailFolderIdList queryFolders(const QMailFolderKey& key = QMailFolderKey(), const QMailFolderSortKey& sortKey = QMailFolderSortKey(), uint limit = 0, uint offset = 0) const; const QMailMessageIdList queryMessages(const QMailMessageKey& key = QMailMessageKey(), const QMailMessageSortKey& sortKey = QMailMessageSortKey(), uint limit = 0, uint offset = 0) const; + const QMailThreadIdList queryThreads(const QMailThreadKey &key = QMailThreadKey(), const QMailThreadSortKey &sortKey = QMailThreadSortKey(), uint limit = 0, uint offset = 0) const; QMailAccount account(const QMailAccountId& id) const; QMailAccountConfiguration accountConfiguration(const QMailAccountId& id) const; |