QGeoPositionInfoSourceFactory Class ReferenceThe QGeoPositionInfoSourceFactory class is a factory class used as the plugin interface for external providers of positioning data. More... #include <QGeoPositionInfoSourceFactory> This class was introduced in Qt Mobility 1.2. Public Functions
Detailed DescriptionThe QGeoPositionInfoSourceFactory class is a factory class used as the plugin interface for external providers of positioning data. Implementers must provide a unique combination of sourceName() and sourceVersion() per plugin. 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. Default pluginsNormally, the platform default position source will always overrule any plugin-based position source during a call to createDefaultSource(). However, a limited measure is available where needed to change this behaviour, using a system-wide configuration file. The configuration file is in the system's default QSettings format, under Nokia/QtLocationPosAndSat (for example, on most Linux variants this is /etc/xdg/Nokia/QtLocationPosAndSat.conf). To set a default plugin source, set the value position.plugin.operator.whitelist to a string of the format "name,filename,hash,size" where name is the same as returned by the plugin's sourceName() function, size is the size of the shared library and hash is the library's SHA1 hash in hex format. Member Function Documentation
|
Publicité
Best OfActualités les plus luesSemaine
Mois
Année
![]()
![]() Le blog Digia au hasard![]() Déploiement d'applications Qt Commercial sur les tablettes Windows 8Le blog Digia est l'endroit privilégié pour la communication sur l'édition commerciale de Qt, où des réponses publiques sont apportées aux questions les plus posées au support. Lire l'article.
CommunautéRessources
Liens utilesContact
Qt dans le magazine |
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtmobility-1.2 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com