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.