Qt Mobility 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.


Public Functions

QLandmarkRemoveRequest ( QLandmarkManager * manager, QObject * parent = 0 )
~QLandmarkRemoveRequest ()
QMap<int, QLandmarkManager::Error> errorMap () const
QList<QLandmarkId> landmarkIds () const
void setLandmarkId ( const QLandmarkId & landmarkId )
void setLandmarkIds ( const QList<QLandmarkId> & landmarkIds )

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()).


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.

QList<QLandmarkId> QLandmarkRemoveRequest::landmarkIds () const

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

See also setLandmarkIds().

void QLandmarkRemoveRequest::setLandmarkId ( const QLandmarkId & landmarkId )

Convenience function to set the landmarkId of a single landmark to be removed.

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().


Copyright © 2009-2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.1.0