The QLandmarkIdFetchRequest class allows a client to asynchronously request a list of landmark identifiers from a landmark manager. More...
#include <QLandmarkIdFetchRequest>
Inherits QLandmarkAbstractRequest.
QLandmarkIdFetchRequest ( QLandmarkManager * manager, QObject * parent = 0 ) | |
~QLandmarkIdFetchRequest () | |
QLandmarkFilter | filter () const |
QList<QLandmarkId> | landmarkIds () const |
int | limit () const |
int | offset () const |
void | setFilter ( const QLandmarkFilter & filter ) |
void | setLimit ( int limit ) |
void | setOffset ( int offset ) |
void | setSorting ( const QList<QLandmarkSortOrder> & sorting ) |
void | setSorting ( const QLandmarkSortOrder & sorting ) |
QList<QLandmarkSortOrder> | sorting () const |
The QLandmarkIdFetchRequest class allows a client to asynchronously request a list of landmark identifiers from a landmark manager.
For a QLandmarkIdFetchRequest, the resultsAvailable() signal will be emitted when the resultant identifiers (which may be retrieved by calling ids()), are updated, as well as if the overall operation error (which may be retrieved by calling error()) is updated.
Creates a new landmark id fetch request object with the given manager and parent.
Destroys the request object.
Returns the filter which will be used to select the landmarks whose identifiers will be returned.
By default, the filter's type will be a LandmarkFilter::DefaultFilter and thus match all landmarks.
See also setFilter().
Returns the list of identifiers of landmarks which matched the filter.
Returns the maximum number of landmark ids to be returned.
See also setLimit().
Returns the index offset for the request.
See also setOffset().
Sets the filter which will be used to select landmark identifiers.
See also filter().
Sets the maximum number of landmarks to be returned to limit.
See also limit().
Sets the index offset for the request.
See also offset().
Sets the sort ordering of the request to sorting. This function will only have an effect on the results if invoked prior to calling QLandmarkAbstractRequest::start().
See also sorting().
Sets the sort ordering of the request to a single sorting. This function will only have an effect on the results if invoked prior to calling QLandmarkAbstractRequest::start().
Returns the sort ordering which is used to sort the result.
See also setSorting().