Qt Mobility Reference Documentation

QLandmarkCategoryFetchByIdRequest Class Reference

The QLandmarkCategoryFetchByIdRequest class allows a client to asynchronously request a list of categories by id from a landmark manager. More...

 #include <QLandmarkCategoryFetchByIdRequest>

Inherits QLandmarkAbstractRequest.


Public Functions

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 )

Additional Inherited Members


Detailed Description

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


Member Function Documentation

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

Creates a new a request object with the given manager and parent.

QLandmarkCategoryFetchByIdRequest::~QLandmarkCategoryFetchByIdRequest ()

Destroys the request object.

QList<QLandmarkCategory> QLandmarkCategoryFetchByIdRequest::categories () const

Returns the list of categories fetched by this request

QList<QLandmarkCategoryId> QLandmarkCategoryFetchByIdRequest::categoryIds () const

Returns a list of identifiers of categories which are to be retrieed by this request.

See also setCategoryIds().

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

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

void QLandmarkCategoryFetchByIdRequest::setCategoryId ( const QLandmarkCategoryId & categoryId )

Sets a single categoryId which is to be retrieved by this request.

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

Sets the categoryIds which are to be retrieved by this request.

See also categoryIds().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.