QtMobility Reference Documentation

QLandmarkRemoveRequest Class Reference

The QLandmarkRemoveRequest class allows a client to asynchronously request that certain landmarks be removed from a landmark manager. More...

 #include <QLandmarkRemoveRequest>

Inherits: QLandmarkAbstractRequest.

This class was introduced in Qt Mobility 1.1.

Public Functions

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 )

Additional Inherited Members

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.

QMap<int, QLandmarkManager::Error> QLandmarkRemoveRequest::errorMap () const

Returns the mapping of input landmark ID list indices to the errors which occurred.

This function was introduced in Qt Mobility 1.1.

QList<QLandmarkId> QLandmarkRemoveRequest::landmarkIds () const

Returns the list of identifiers of landmarks which will be removed.

This function was introduced in Qt Mobility 1.1.

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.

This function was introduced in Qt Mobility 1.1.

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.

This function was introduced in Qt Mobility 1.1.

See also setLandmarkIds().

void QLandmarkRemoveRequest::setLandmarkIds ( const QList<QLandmarkId> & landmarkIds )

Sets the list of landmarkIds of landmarks which will be removed.

This function was introduced in Qt Mobility 1.1.

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.

This function was introduced in Qt Mobility 1.1.

See also setLandmarkIds().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.