QGeoPositionInfoSourceFactory Class

The QGeoPositionInfoSourceFactory class is a factory class used as the plugin interface for external providers of positioning data. More...

Header: #include <QGeoPositionInfoSourceFactory>
CMake: find_package(Qt6 COMPONENTS Positioning REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::Positioning)
qmake: QT += positioning
Since: Qt 5.2

Public Functions

virtual ~QGeoPositionInfoSourceFactory()
virtual QGeoAreaMonitorSource *areaMonitor(QObject *parent, const QVariantMap &parameters) = 0
virtual QGeoPositionInfoSource *positionInfoSource(QObject *parent, const QVariantMap &parameters) = 0
virtual QGeoSatelliteInfoSource *satelliteInfoSource(QObject *parent, const QVariantMap &parameters) = 0

Detailed Description

Each factory method takes a parameters argument, which allows to configure the created source.

Member Function Documentation

[virtual] QGeoPositionInfoSourceFactory::~QGeoPositionInfoSourceFactory()

Destroys the position info source factory.

[pure virtual] QGeoAreaMonitorSource *QGeoPositionInfoSourceFactory::areaMonitor(QObject *parent, const QVariantMap &parameters)

Returns a new QGeoAreaMonitorSource associated with this plugin with parent parent, and using parameters as configuration parameters. Can also return 0, in which case the plugin loader will use the factory with the next highest priority.

[pure virtual] QGeoPositionInfoSource *QGeoPositionInfoSourceFactory::positionInfoSource(QObject *parent, const QVariantMap &parameters)

Returns a new QGeoPositionInfoSource associated with this plugin with parent parent, and using parameters as configuration parameters. Can also return 0, in which case the plugin loader will use the factory with the next highest priority.

[pure virtual] QGeoSatelliteInfoSource *QGeoPositionInfoSourceFactory::satelliteInfoSource(QObject *parent, const QVariantMap &parameters)

Returns a new QGeoSatelliteInfoSource associated with this plugin with parent parent, and using parameters as configuration parameters. Can also return 0, in which case the plugin loader will use the factory with the next highest priority.

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.