This signal is emitted after an error occurred. ![]() void QGeoPositionInfoSource:: error( QGeoPositionInfoSource::Error positioningError) Returns the type of error that last occurred. ![]() QGeoPositionInfoSource::Error QGeoPositionInfoSource:: error() const QGeoPositionInfoSource *QGeoPositionInfoSource:: createSource(const QString & sourceName, QObject * parent)Ĭreates and returns a position source with the given parent, by loading the plugin named sourceName. Returns 0 if the system has no default position source, no valid plugins could be found or the user does not have the permission to access the current position. QGeoPositionInfoSource *QGeoPositionInfoSource:: createDefaultSource( QObject * parent)Ĭreates and returns a position source with the given parent that reads from the system's default sources of location data, or the plugin with the highest available priority. This includes any default backend plugin for the current platform. Returns a list of available source plugins. QStringList QGeoPositionInfoSource:: availableSources() ![]() QGeoPositionInfoSource:: ~QGeoPositionInfoSource()ĭestroys the position source. Member Function Documentation QGeoPositionInfoSource:: QGeoPositionInfoSource( QObject * parent)Ĭreates a position source with the specified parent.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |