![]() |
Home · All Classes · All Functions · | ![]() |
The QMessageAccountOrdering class defines the parameters used for sorting a subset of queried accounts from the messaging store. More...
#include <QMessageAccountOrdering>
This class is under development and is subject to change.
QMessageAccountOrdering () | |
QMessageAccountOrdering ( const QMessageAccountOrdering & other ) | |
virtual | ~QMessageAccountOrdering () |
bool | isEmpty () const |
bool | isSupported () const |
QMessageAccountOrdering | byName ( Qt::SortOrder order = Qt::AscendingOrder ) |
The QMessageAccountOrdering class defines the parameters used for sorting a subset of queried accounts from the messaging store.
A QMessageAccountOrdering is composed of a account property to sort and a sort order. The QMessageAccountOrdering class is used in conjunction with the QMessageStore::queryAccounts() function to sort account results according to the criteria defined by the ordering.
See also QMessageStore and QMessageAccountFilter.
Create a QMessageAccountOrdering with specifying matching parameters.
A default-constructed ordering (one for which isEmpty() returns true) sorts no accounts.
The result of combining an empty ordering with a non-empty ordering is the same as the original non-empty ordering.
The result of combining two empty keys is an empty ordering.
Constructs a copy of other.
Destroys the ordering.
Returns an ordering that sorts accounts by name, according to order.
See also QMessageAccount::name().
Returns true if the ordering remains empty after default construction; otherwise returns false.
Returns true if the ordering is supported on the current platform; otherwise returns false.
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.0.0 (Technical Preview) |