Qt Mobility Reference Documentation

QLandmarkCategoryIdFetchRequest Class Reference

The QLandmarkCategoryIdFetchRequest class allows a client to asynchronously request a list of category identifiers from a landmark manager. More...

 #include <QLandmarkCategoryIdFetchRequest>

Inherits QLandmarkAbstractRequest.


Public Functions

QLandmarkCategoryIdFetchRequest ( QLandmarkManager * manager, QObject * parent = 0 )
~QLandmarkCategoryIdFetchRequest ()
QList<QLandmarkCategoryId> categoryIds () const
void setSorting ( const QLandmarkNameSort & nameSort )
QLandmarkNameSort sorting () const

Additional Inherited Members


Detailed Description

The QLandmarkCategoryIdFetchRequest class allows a client to asynchronously request a list of category identifiers from a landmark manager.

For a QLandmarkCategoryIdFetchRequest, the resultsAvailable() signal will be emitted as resultant category identifiers are found (these are retrievable via the callings ids()), as well as if an overall operation error occurred(which may be retrieved by calling QLandmarkAbstractRequest::error()).


Member Function Documentation

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

Creates a new category identifier fetch request object with the given manager aand parent.

QLandmarkCategoryIdFetchRequest::~QLandmarkCategoryIdFetchRequest ()

Destroys the request object.

QList<QLandmarkCategoryId> QLandmarkCategoryIdFetchRequest::categoryIds () const

Returns the list of category identifiers that have been found during the request.

void QLandmarkCategoryIdFetchRequest::setSorting ( const QLandmarkNameSort & nameSort )

Sets nameSort to specify the sorting of the returned category ids.

See also sorting().

QLandmarkNameSort QLandmarkCategoryIdFetchRequest::sorting () const

Returns the sorting of the categories. By default the sorting is case insensitive and in ascending order according to the category name.

See also setSorting().


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