The QMessageFolderSortOrder class defines the parameters used for sorting a subset of queried folders from the messaging store. More...
#include <QMessageFolderSortOrder>
This class was introduced in Qt Mobility 1.0.
QMessageFolderSortOrder () | |
QMessageFolderSortOrder ( const QMessageFolderSortOrder & other ) | |
virtual | ~QMessageFolderSortOrder () |
bool | isEmpty () const |
bool | isSupported () const |
QMessageFolderSortOrder | operator+ ( const QMessageFolderSortOrder & other ) const |
QMessageFolderSortOrder & | operator+= ( const QMessageFolderSortOrder & other ) |
QMessageFolderSortOrder | byName ( Qt::SortOrder order = Qt::AscendingOrder ) |
QMessageFolderSortOrder | byPath ( Qt::SortOrder order = Qt::AscendingOrder ) |
The QMessageFolderSortOrder class defines the parameters used for sorting a subset of queried folders from the messaging store.
A QMessageFolderSortOrder is composed of a folder property to sort and a sort order. The QMessageFolderSortOrder class is used in conjunction with the QMessageManager::queryFolders() function to sort folder results according to the criteria defined by the sort order.
See also QMessageManager and QMessageFolderFilter.
Create a QMessageFolderSortOrder with specifying matching parameters.
A default-constructed sort order (one for which isEmpty() returns true) sorts no folders.
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 a sort order that sorts folders by display name, according to order.
This function was introduced in Qt Mobility 1.0.
See also QMessageFolder::name().
Returns a sort order that sorts messages by path according to order.
This function was introduced in Qt Mobility 1.0.
See also QMessageFolder::path().
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.
Returns a sort order that which is the result of concatenating the vaue of this sort order and the value of other.
This function determines sorting precedence.
This function was introduced in Qt Mobility 1.0.
Appends the value of the sort order other with the value of this sort order and assigns the result to this sort order.
This function determines sorting precedence.
This function was introduced in Qt Mobility 1.0.