The QLandmarkFetchByIdRequest class allows a client to asynchronously request a list of landmarks by id from a landmark manager. More...
#include <QLandmarkFetchByIdRequest>
Inherits QLandmarkAbstractRequest.
QLandmarkFetchByIdRequest ( QLandmarkManager * manager, QObject * parent = 0 ) | |
~QLandmarkFetchByIdRequest () | |
QMap<int, QLandmarkManager::Error> | errorMap () const |
QList<QLandmarkId> | landmarkIds () const |
QList<QLandmark> | landmarks () const |
void | setLandmarkId ( const QLandmarkId & landmarkId ) |
void | setLandmarkIds ( const QList<QLandmarkId> & landmarkIds ) |
The QLandmarkFetchByIdRequest class allows a client to asynchronously request a list of landmarks by id from a landmark manager.
For a QLandmarkFetchByIdRequest, the resultsAvailable() signal will be emitted when the resultant landmarks (which may be retrieved by calling landmarks()), are updated, whenever indiviual items error out(individual errors may be retrieved by calling errorMap()), or when an overall operation error occurs(which may be retrieved by calling error()).
Creates a new request object with the given manager parent.
Destroys the request object.
Returns the mapping of input landmark id list indices to the errors which occurred.
Returns a list of identifiers of landmarks which are to be retrieed by this request.
See also setLandmarkIds().
Returns the list of landmarks fetched by this request.
Sets a single landmarkId to be retrived by this request.
Sets the landmarkIds to be retrived by this request.
See also landmarkIds().