Detailed Description
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.
Member Function Documentation
QLandmarkRemoveRequest::QLandmarkRemoveRequest ( QLandmarkManager * manager, QObject * parent = 0 )
Constructs a landmark remove request with the given manager and parent.
QLandmarkRemoveRequest::~QLandmarkRemoveRequest ()
Destroys the request object.
Returns the mapping of input landmark ID list indices to the errors which occurred.
QList<QLandmarkId> QLandmarkRemoveRequest::landmarkIds () const
Returns the list of identifiers of landmarks which will be removed.
See also setLandmarkIds().
void QLandmarkRemoveRequest::setLandmark ( const QLandmark & landmark )
Convenience function that sets a single landmark to be removed. This function is the equivalent of calling setLandmarkIds() with the ID of landmark.
void QLandmarkRemoveRequest::setLandmarkId ( const QLandmarkId & landmarkId )
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().
void QLandmarkRemoveRequest::setLandmarkIds ( const QList<QLandmarkId> & landmarkIds )
Sets the list of landmarkIds of landmarks which will be removed.
See also landmarkIds() and setLandmarkId().
void QLandmarkRemoveRequest::setLandmarks ( const QList<QLandmark> & landmarks )
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().