QGeoPositionInfoSourceFactory Class

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

頭: #include <QGeoPositionInfoSourceFactory>
qmake: QT += positioning
Since: Qt 5.2

公共函數

virtual ~QGeoPositionInfoSourceFactory ()
virtual QGeoAreaMonitorSource * areaMonitor (QObject * parent ) = 0
virtual QGeoPositionInfoSource * positionInfoSource (QObject * parent ) = 0
virtual QGeoSatelliteInfoSource * satelliteInfoSource (QObject * parent ) = 0

詳細描述

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

The other functions must be overridden by all plugins, other than sourcePriority() which defaults to returning 0. Higher values of priority will be preferred to lower ones.

成員函數文檔編製

[虛擬] QGeoPositionInfoSourceFactory:: ~QGeoPositionInfoSourceFactory ()

Destroys the position info source factory.

[pure virtual] QGeoAreaMonitorSource *QGeoPositionInfoSourceFactory:: areaMonitor ( QObject * parent )

返迴新的 QGeoAreaMonitorSource associated with this plugin with parent parent . 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 )

返迴新的 QGeoPositionInfoSource associated with this plugin with parent parent . 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 )

返迴新的 QGeoSatelliteInfoSource associated with this plugin with parent parent . Can also return 0, in which case the plugin loader will use the factory with the next highest priority.