The QLandmarkCategoryRemoveRequest class allows a client to asynchronously request that certain categories be removed from a landmark manager. More...
#include <QLandmarkCategoryRemoveRequest>
Inherits QLandmarkAbstractRequest.
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 ) |
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()).
Constructs a category remove request with the given manager and parent.
Destroys the request object.
Returns the list of identifiers of categories which will be removed.
See also setCategoryIds().
Returns the mapping of input category id list indices to the errors which occurred.
Convenience function to set the categoryId of a sisngle category to be removed.
See also setCategoryIds().
Sets the list of categoryIds of categories which will be removed.
See also categoryIds() and setCategoryId().