The QLandmarkExportRequest class allows a client to asynchronously request that a landmark manager export a set of landmarks. More...
#include <QLandmarkExportRequest>
Inherits: QLandmarkAbstractRequest.
This class was introduced in Qt Mobility 1.1.
QLandmarkExportRequest ( QLandmarkManager * manager, QObject * parent = 0 ) | |
~QLandmarkExportRequest () | |
QIODevice * | device () const |
QString | fileName () const |
QString | format () const |
QList<QLandmarkId> | landmarkIds () const |
void | setDevice ( QIODevice * device ) |
void | setFileName ( const QString & fileName ) |
void | setFormat ( const QString & format ) |
void | setLandmarkIds ( const QList<QLandmarkId> & landmarkIds ) |
void | setTransferOption ( QLandmarkManager::TransferOption option ) |
QLandmarkManager::TransferOption | transferOption () const |
The QLandmarkExportRequest class allows a client to asynchronously request that a landmark manager export a set of landmarks.
For a QLandmarkExportRequest, the QLandmarkAbstractRequest::stateChanged() signal will be emitted when the request is complete. The resultsAvailable() signal will be emitted if an overall operational error occurs.
If no landmarks identifiers are set using setLandmarkIds() or an empty list is passed in, then all the landmarks will be exported.
Please see the class documentation for QLandmarkAbstractRequest for more information about the usage of request classes and ownership semantics.
Constructs a landmark export request with the given manager and parent.
Destroys the request object.
Returns the device to which landmarks are written.
This function was introduced in Qt Mobility 1.1.
See also setDevice().
If the currently assigned device is a QFile, or if setFileName() has been called, this function returns the name of the file to be written to. In all other cases, it returns an empty string.
This function was introduced in Qt Mobility 1.1.
See also setFileName() and setDevice().
Returns the data format for the export operation.
This function was introduced in Qt Mobility 1.1.
See also setFormat().
Returns the list of identifiers of landmarks that will be exported. By default the list of identifiers is empty, indicating that all landmarks should be exported.
This function was introduced in Qt Mobility 1.1.
See also setLandmarkIds().
Sets the device to which landmarks are written.
This function was introduced in Qt Mobility 1.1.
See also device().
Sets the name of the file to be written to fileName. Internally, QLandmarkExportRequest will create a QFile use this as the device to export to.
This function was introduced in Qt Mobility 1.1.
See also fileName() and setDevice().
Sets the data format for the export operation.
This function was introduced in Qt Mobility 1.1.
See also format().
Sets the landmarks to be exported by specifying a list of landmarkIds.
This function was introduced in Qt Mobility 1.1.
See also landmarkIds().
Sets the transfer option of the export request. The transfer option defines how categories are treated during the export operation.
This function was introduced in Qt Mobility 1.1.
See also transferOption().
Returns the transfer option of the export request. The transfer option defines how categories are treated during the export operation. The default option is QLandmarkManager::IncludeCategoryData.
This function was introduced in Qt Mobility 1.1.
See also setTransferOption().
© 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.