QGeoPositionInfoSourceFactoryV2 Class

The QGeoPositionInfoSourceFactoryV2 class extends QGeoPositionInfoSourceFactory , adding factory methods taking a parameters argument. 更多...

头: #include <QGeoPositionInfoSourceFactoryV2>
qmake: QT += positioning
Since: Qt 5.14
继承: QGeoPositionInfoSourceFactory

该类在 Qt 5.14 引入。

公共函数

virtual QGeoAreaMonitorSource * areaMonitorWithParameters (QObject * parent , const QVariantMap & 参数 ) = 0
virtual QGeoPositionInfoSource * positionInfoSourceWithParameters (QObject * parent , const QVariantMap & 参数 ) = 0
virtual QGeoSatelliteInfoSource * satelliteInfoSourceWithParameters (QObject * parent , const QVariantMap & 参数 ) = 0

详细描述

This interface has the priority over the older one with plugins implementing it, when creating a positioning source (position, satellite or area monitor)

成员函数文档编制

[pure virtual] QGeoAreaMonitorSource *QGeoPositionInfoSourceFactoryV2:: areaMonitorWithParameters ( QObject * parent , const QVariantMap & 参数 )

返回新的 QGeoAreaMonitorSource associated with this plugin with parent parent , and using 参数 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 & 参数 )

返回新的 QGeoPositionInfoSource associated with this plugin with parent parent , and using 参数 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 & 参数 )

返回新的 QGeoSatelliteInfoSource associated with this plugin with parent parent , and using 参数 as configuration parameters. Can also return 0, in which case the plugin loader will use the factory with the next highest priority.