IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QGeoPositionInfoSourceFactory Class

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

This class was introduced in Qt 5.2.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QGeoPositionInfoSourceFactory Class

  • Header: QGeoPositionInfoSourceFactory

  • Since: Qt 5.2

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Positioning)

    target_link_libraries(mytarget PRIVATE Qt6::Positioning)

  • qmake: QT += positioning

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.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+