diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2021-03-15 15:27:15 +0100 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2021-03-23 10:44:01 +0100 |
commit | f8b6d5bcaefa8386dae6e2ddcc60f55257f911fe (patch) | |
tree | d677c59e180d66d7b90c052d6a9d0a9a05a632bb /src/positioning/qgeopositioninfosource.cpp | |
parent | 5dc9fb4149e124d01c8fe6d9ace735320af895d2 (diff) | |
download | qtlocation-f8b6d5bcaefa8386dae6e2ddcc60f55257f911fe.tar.gz |
QtPositioning: fix QDoc warnings
Fix some QDoc warnings and update some code samples
Task-number: QTBUG-89856
Change-Id: I12ac2f3ac58d2701e1458d7d28f9c1c19fb1244a
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/positioning/qgeopositioninfosource.cpp')
-rw-r--r-- | src/positioning/qgeopositioninfosource.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/positioning/qgeopositioninfosource.cpp b/src/positioning/qgeopositioninfosource.cpp index 99818587..51284538 100644 --- a/src/positioning/qgeopositioninfosource.cpp +++ b/src/positioning/qgeopositioninfosource.cpp @@ -488,16 +488,16 @@ QGeoPositionInfoSource::QGeoPositionInfoSource(QGeoPositionInfoSourcePrivate &dd If setUpdateInterval() has not been called, the source will emit updates as soon as they become available. - An errorOccurred() signal with the \l {QGeoPositionInfoSource::Error::} + An errorOccurred() signal with the \l {QGeoPositionInfoSource::} {UpdateTimeoutError} will be emitted if this QGeoPositionInfoSource subclass determines that it will not be able to provide regular updates. This could happen if a satellite fix is lost or if a hardware error is detected. Position updates will recommence if the data becomes available later on. - The \l {QGeoPositionInfoSource::Error::}{UpdateTimeoutError} error will not + The \l {QGeoPositionInfoSource::}{UpdateTimeoutError} error will not be emitted again until after the periodic updates resume. \note Since Qt6 this method always resets the last error to - \l {QGeoPositionInfoSource::Error::}{NoError} before starting the updates. + \l {QGeoPositionInfoSource::}{NoError} before starting the updates. On iOS, starting from version 8, Core Location framework requires additional entries in the application's Info.plist with keys NSLocationAlwaysUsageDescription or @@ -523,7 +523,7 @@ QGeoPositionInfoSource::QGeoPositionInfoSource(QGeoPositionInfoSourcePrivate &dd this information. If the current position cannot be found within the given \a timeout (in milliseconds) or if \a timeout is less than the value returned by minimumUpdateInterval(), an errorOccurred() signal with the - \l {QGeoPositionInfoSource::Error::}{UpdateTimeoutError} is emitted. + \l {QGeoPositionInfoSource::}{UpdateTimeoutError} is emitted. If the timeout is zero, the timeout defaults to a reasonable timeout period as appropriate for the source. @@ -537,7 +537,7 @@ QGeoPositionInfoSource::QGeoPositionInfoSource(QGeoPositionInfoSourcePrivate &dd given timeout. \note Since Qt6 this method always resets the last error to - \l {QGeoPositionInfoSource::Error::}{NoError} before requesting + \l {QGeoPositionInfoSource::}{NoError} before requesting the position. */ |