QGeoPositionInfoSourceFactoryV2 Class
The QGeoPositionInfoSourceFactoryV2 class extends QGeoPositionInfoSourceFactory, adding factory methods taking a parameters argument. More...
Header: | #include <QGeoPositionInfoSourceFactoryV2> |
qmake: | QT += positioning |
Since: | Qt 5.14 |
Inherits: | QGeoPositionInfoSourceFactory |
This class was introduced in Qt 5.14.
Public Functions
virtual QGeoAreaMonitorSource * | areaMonitorWithParameters(QObject *parent, const QVariantMap ¶meters) = 0 |
virtual QGeoPositionInfoSource * | positionInfoSourceWithParameters(QObject *parent, const QVariantMap ¶meters) = 0 |
virtual QGeoSatelliteInfoSource * | satelliteInfoSourceWithParameters(QObject *parent, const QVariantMap ¶meters) = 0 |
Detailed Description
This interface has the priority over the older one with plugins implementing it, when creating a positioning source (position, satellite or area monitor)
Member Function Documentation
[pure virtual]
QGeoAreaMonitorSource *QGeoPositionInfoSourceFactoryV2::areaMonitorWithParameters(QObject *parent, const QVariantMap ¶meters)
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 *QGeoPositionInfoSourceFactoryV2::positionInfoSourceWithParameters(QObject *parent, const QVariantMap ¶meters)
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 *QGeoPositionInfoSourceFactoryV2::satelliteInfoSourceWithParameters(QObject *parent, const QVariantMap ¶meters)
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.