The QLandmarkCategoryFetchByIdRequest class allows a client to asynchronously request a list of categories by id from a landmark manager. More...
#include <QLandmarkCategoryFetchByIdRequest>
Inherits QLandmarkAbstractRequest.
QLandmarkCategoryFetchByIdRequest ( QLandmarkManager * manager, QObject * parent = 0 ) | |
~QLandmarkCategoryFetchByIdRequest () | |
QList<QLandmarkCategory> | categories () const |
QList<QLandmarkCategoryId> | categoryIds () const |
QMap<int, QLandmarkManager::Error> | errorMap () const |
void | setCategoryId ( const QLandmarkCategoryId & categoryId ) |
void | setCategoryIds ( const QList<QLandmarkCategoryId> & categoryIds ) |
The QLandmarkCategoryFetchByIdRequest class allows a client to asynchronously request a list of categories by id from a landmark manager.
For a QLandmarkCategoryFetchByIdRequest, the resultsAvailable() signal will be emitted as resultant categories are found (these are retrievable via the callings categories()), whenever individual items error out(individual errors may be retrieved by calling errorMap()), as well as if an overall operation error occurred(which may be retrieved by calling QLandmarkAbstractRequest::error()).
Creates a new a request object with the given manager and parent.
Destroys the request object.
Returns the list of categories fetched by this request
Returns a list of identifiers of categories which are to be retrieed by this request.
See also setCategoryIds().
Returns the mapping of input landmark id list indices to the errors which occurred.
Sets a single categoryId which is to be retrieved by this request.
Sets the categoryIds which are to be retrieved by this request.
See also categoryIds().