The QMessageAccountSortOrder class defines the parameters used for sorting a subset of queried accounts from the messaging store. More...
#include <QMessageAccountSortOrder>
This class was introduced in Qt Mobility 1.0.
QMessageAccountSortOrder () | |
QMessageAccountSortOrder ( const QMessageAccountSortOrder & other ) | |
virtual | ~QMessageAccountSortOrder () |
bool | isEmpty () const |
bool | isSupported () const |
QMessageAccountSortOrder | byName ( Qt::SortOrder order = Qt::AscendingOrder ) |
The QMessageAccountSortOrder class defines the parameters used for sorting a subset of queried accounts from the messaging store.
A QMessageAccountSortOrder is composed of a account property to sort and a sort order. The QMessageAccountSortOrder class is used in conjunction with the QMessageManager::queryAccounts() function to sort account results according to the criteria defined by the sort order.
See also QMessageManager and QMessageAccountFilter.
Create a QMessageAccountSortOrder with specifying matching parameters.
A default-constructed sort order (one for which isEmpty() returns true) sorts no accounts.
The result of combining an empty sort order with a non-empty sort order is the same as the original non-empty sort order.
The result of combining two empty sort orders is an empty sort order.
Constructs a copy of other.
This function was introduced in Qt Mobility 1.0.
Destroys the sort order.
Returns an sort order that sorts accounts by name, according to order.
This function was introduced in Qt Mobility 1.0.
See also QMessageAccount::name().
Returns true if the sort order remains empty after default construction; otherwise returns false.
This function was introduced in Qt Mobility 1.0.
Returns true if the sort order is supported on the current platform; otherwise returns false.
This function was introduced in Qt Mobility 1.0.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.