The QLandmarkFetchByIdRequest class allows a client to asynchronously request a list of landmarks by id from a landmark manager. More...
#include <QLandmarkFetchByIdRequest>
Inherits: QLandmarkAbstractRequest.
This class was introduced in Qt Mobility 1.1.
QLandmarkFetchByIdRequest ( QLandmarkManager * manager, QObject * parent = 0 ) | |
~QLandmarkFetchByIdRequest () | |
QMap<int, QLandmarkManager::Error> | errorMap () const |
QList<QLandmarkId> | landmarkIds () const |
QList<QLandmark> | landmarks () const |
void | setLandmarkId ( const QLandmarkId & landmarkId ) |
void | setLandmarkIds ( const QList<QLandmarkId> & landmarkIds ) |
The QLandmarkFetchByIdRequest class allows a client to asynchronously request a list of landmarks by id from a landmark manager.
For a QLandmarkFetchByIdRequest, the resultsAvailable() signal will be emitted when the resultant landmarks (which may be retrieved by calling landmarks()) are updated, whenever indiviual items error out(individual errors may be retrieved by calling errorMap()), or when an overall operation error occurs(which may be retrieved by calling error()).
Please see the class documentation for QLandmarkAbstractRequest for more information about the usage of request classes and ownership semantics.
Creates a new request object with the given manager parent.
Destroys the request object.
Returns the mapping of input landmark ID list indices to the errors which occurred.
This function was introduced in Qt Mobility 1.1.
Returns a list of identifiers of landmarks which are to be retrieved by this request.
This function was introduced in Qt Mobility 1.1.
See also setLandmarkIds().
Returns the list of landmarks fetched by this request.
This function was introduced in Qt Mobility 1.1.
Convenience function that sets a single landmark, specified by landmarkId, to be retrieved by this request.
This function was introduced in Qt Mobility 1.1.
Sets the landmarkIds to be retrieved by this request.
This function was introduced in Qt Mobility 1.1.
See also landmarkIds().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.