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()).
Please see the class documentation for QLandmarkAbstractRequest for more information about the usage of request classes and ownership semantics.
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::setCategories ( const QList<QLandmarkCategory> & categories )
Convenience function to set the list of categories which will be removed. This function effectively calls setCategoryIds() with the IDs of the categories.
See also setCategory() and setCategoryIds().
void QLandmarkCategoryRemoveRequest::setCategory ( const QLandmarkCategory & category )
Convenience function that sets a single category to be removed. This function effectively calls setCategoryIds() with the ID of category.
See also setCategories() and setCategoryId().
void QLandmarkCategoryRemoveRequest::setCategoryId ( const QLandmarkCategoryId & categoryId )
Convenience function to set the categoryId of a single category to be removed. It is the equivalent of calling setCategoryIds() with a single categoryId in the ID list.
See also setCategory() and setCategoryIds().
void QLandmarkCategoryRemoveRequest::setCategoryIds ( const QList<QLandmarkCategoryId> & categoryIds )
Sets the list of categoryIds of categories which will be removed.
See also categoryIds(), setCategories(), and setCategoryId().