diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-02-26 16:03:40 +0100 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-04-09 14:29:20 +0000 |
commit | 5457317c0ffbbb7e0c285a6899709be78f693b87 (patch) | |
tree | a7734905041606c26f6d4a9f7cfefdb277e6a53c /src/positioning | |
parent | 498db2f51ae0c509e57473207c34253f78e6f429 (diff) | |
download | qtlocation-5457317c0ffbbb7e0c285a6899709be78f693b87.tar.gz |
Add QGeoPositionInfoSource::supportedPositioningMethodsChanged
The signal is meant to be emitted by backends
Task-number: QTBUG-66427
Change-Id: I8bc123e358dc76489b5eac85f397cd7f40072335
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/positioning')
-rw-r--r-- | src/positioning/qgeopositioninfosource.cpp | 8 | ||||
-rw-r--r-- | src/positioning/qgeopositioninfosource.h | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/positioning/qgeopositioninfosource.cpp b/src/positioning/qgeopositioninfosource.cpp index 02aa1aa3..cafb4f8a 100644 --- a/src/positioning/qgeopositioninfosource.cpp +++ b/src/positioning/qgeopositioninfosource.cpp @@ -476,4 +476,12 @@ QStringList QGeoPositionInfoSource::availableSources() \value UnknownSourceError An unidentified error occurred. */ +/*! + \fn void QGeoPositionInfoSource::supportedPositioningMethodsChanged() + + This signal is emitted after the supportedPositioningMethods change. + + \since Qt 5.12 +*/ + QT_END_NAMESPACE diff --git a/src/positioning/qgeopositioninfosource.h b/src/positioning/qgeopositioninfosource.h index 24784462..7fe02270 100644 --- a/src/positioning/qgeopositioninfosource.h +++ b/src/positioning/qgeopositioninfosource.h @@ -101,6 +101,7 @@ Q_SIGNALS: void positionUpdated(const QGeoPositionInfo &update); void updateTimeout(); void error(QGeoPositionInfoSource::Error); + void supportedPositioningMethodsChanged(); private: Q_DISABLE_COPY(QGeoPositionInfoSource) |