The QLandmarkSortOrder class serves as a base class for the different sort order types. More...
#include <QLandmarkSortOrder>
Inherited by QLandmarkNameSort.
enum | SortType { DefaultSort, NameSort } |
QLandmarkSortOrder () | |
QLandmarkSortOrder ( const QLandmarkSortOrder & other ) | |
virtual | ~QLandmarkSortOrder () |
Qt::SortOrder | direction () const |
void | setDirection ( Qt::SortOrder direction ) |
SortType | type () const |
bool | operator!= ( const QLandmarkSortOrder & other ) const |
QLandmarkSortOrder & | operator= ( const QLandmarkSortOrder & other ) |
bool | operator== ( const QLandmarkSortOrder & other ) const |
The QLandmarkSortOrder class serves as a base class for the different sort order types.
The sort orders define how a list of landmarks should be ordered when they searched using a QLandmarkManager or one of the landmark request classes.
Defines the type of sort order.
Constant | Value | Description |
---|---|---|
QLandmarkSortOrder::DefaultSort | 0 | The default sort order that does no sorting. |
QLandmarkSortOrder::NameSort | 1 | Sorts landmarks by name. |
Constructs a landmark sort order.
The type of the sort order is InvalidSort.
Constructs a copy of other.
Destroys the sort order
Returns the direction of the sort order.
See also setDirection().
Sets the direction of the sort order.
See also direction().
Returns the type of sort.
Returns true if this sort order is not identical to other.
See also operator==().
Assigns other to this sort order and returns a reference to this sort order.
Returns true if this sort order is identical to other.
See also operator!=().