The QLandmarkRemoveRequest class allows a client to asynchronously request that certain landmarks be removed from a landmark manager. More...
#include <QLandmarkRemoveRequest>
Inherits QLandmarkAbstractRequest.
QLandmarkRemoveRequest ( QLandmarkManager * manager, QObject * parent = 0 ) | |
~QLandmarkRemoveRequest () | |
QMap<int, QLandmarkManager::Error> | errorMap () const |
QList<QLandmarkId> | landmarkIds () const |
void | setLandmark ( const QLandmark & landmark ) |
void | setLandmarkId ( const QLandmarkId & landmarkId ) |
void | setLandmarkIds ( const QList<QLandmarkId> & landmarkIds ) |
void | setLandmarks ( const QList<QLandmark> & landmarks ) |
The QLandmarkRemoveRequest class allows a client to asynchronously request that certain landmarks be removed from a landmark manager.
For a QLandmarkRemoveRequest, the resultsAvailable() signal will be emitted when either an individual items error out (individaul errors may be retrieved by calling errorMap()), or when an overall operation error occurs(which may be retrieved by calling error()).
Please see the class documentation for QLandmarkAbstractRequest for more information about the usage of request classes and ownership semantics.
Constructs a landmark remove request with the given manager and parent.
Destroys the request object.
Returns the mapping of input landmark ID list indices to the errors which occurred.
Returns the list of identifiers of landmarks which will be removed.
See also setLandmarkIds().
Convenience function that sets a single landmark to be removed. This function is the equivalent of calling setLandmarkIds() with the ID of landmark.
Convenience function to set the landmarkId of a single landmark to be removed. It is the equivalent of calling setLandmarkIds() with a single landmarkId in the ID list.
See also setLandmarkIds().
Sets the list of landmarkIds of landmarks which will be removed.
See also landmarkIds() and setLandmarkId().
Convenience function to set the list of landmarks which will be removed. This function is the equivalent of calling setLandmarkIds() with the IDs of the landmarks.
See also setLandmarkIds().