Qt Mobility Reference Documentation

QLandmarkCategoryRemoveRequest Class Reference

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

 #include <QLandmarkCategoryRemoveRequest>

Inherits QLandmarkAbstractRequest.


Public Functions

QLandmarkCategoryRemoveRequest ( QLandmarkManager * manager, QObject * parent = 0 )
~QLandmarkCategoryRemoveRequest ()
QList<QLandmarkCategoryId> categoryIds () const
QMap<int, QLandmarkManager::Error> errorMap () const
void setCategoryId ( const QLandmarkCategoryId & categoryId )
void setCategoryIds ( const QList<QLandmarkCategoryId> & categoryIds )

Additional Inherited Members


Detailed Description

The QLandmarkCategoryRemoveRequest class allows a client to asynchronously request that certain categories be removed from a landmark manager.

For a QLandmarkCategoryRemoveRequest, the resultsAvailable() signal will be emitted when either an individual items error out (individaul errors may be retrieved by calling errorMap()) or an overall operation error occurs(which may be retrieved by calling QLandmarkAbstractRequest::error()).


Member Function Documentation

QLandmarkCategoryRemoveRequest::QLandmarkCategoryRemoveRequest ( QLandmarkManager * manager, QObject * parent = 0 )

Constructs a category remove request with the given manager and parent.

QLandmarkCategoryRemoveRequest::~QLandmarkCategoryRemoveRequest ()

Destroys the request object.

QList<QLandmarkCategoryId> QLandmarkCategoryRemoveRequest::categoryIds () const

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

See also setCategoryIds().

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

Returns the mapping of input category id list indices to the errors which occurred.

void QLandmarkCategoryRemoveRequest::setCategoryId ( const QLandmarkCategoryId & categoryId )

Convenience function to set the categoryId of a sisngle category to be removed.

See also setCategoryIds().

void QLandmarkCategoryRemoveRequest::setCategoryIds ( const QList<QLandmarkCategoryId> & categoryIds )

Sets the list of categoryIds of categories which will be removed.

See also categoryIds() and setCategoryId().


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