diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2013-10-30 09:09:30 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-30 13:50:38 +0100 |
commit | d40892e1798d6c9db355f363f61f7a0488752816 (patch) | |
tree | 2d26e87eeba1ae90836dfb1e1453620dd7eaa621 | |
parent | 2d2a2fc62d23af51e1e00106f92cc736eb9558b8 (diff) | |
download | qtlocation-d40892e1798d6c9db355f363f61f7a0488752816.tar.gz |
Improve QGeoSatelliteInfoSource API docs
1.) Clarifies the timeout behavior of startUpdates()
2.) Specify error() signal behavior when timing out during requestUpdate()
Change-Id: Id643465891a6a08ba04c25c1439fda34bd5a79b0
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
-rw-r--r-- | src/positioning/qgeosatelliteinfosource.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/positioning/qgeosatelliteinfosource.cpp b/src/positioning/qgeosatelliteinfosource.cpp index 85c2e0df..19ba248a 100644 --- a/src/positioning/qgeosatelliteinfosource.cpp +++ b/src/positioning/qgeosatelliteinfosource.cpp @@ -270,6 +270,11 @@ QStringList QGeoSatelliteInfoSource::availableSources() Starts emitting updates at regular intervals. The updates will be provided whenever new satellite information becomes available. + If satellite information cannot be retrieved or some other + form of timeout has occurred the satellitesInViewUpdated() + and satellitesInUseUpdated() signals may emitted with + empty parameter lists. + \sa satellitesInViewUpdated(), satellitesInUseUpdated() */ @@ -302,12 +307,18 @@ QStringList QGeoSatelliteInfoSource::availableSources() Emitted if requestUpdate() was called and the current satellite information could not be retrieved within the specified timeout. + + While the triggering of this signal may be considered an error condition, + it does not imply the emission of the \c error() signal. Only the emission of + \c requestTimeout() is required to indicate a timeout. */ /*! \fn QGeoSatelliteInfoSource::Error QGeoSatelliteInfoSource::error() const = 0 Returns the last error that occurred. + + This signal is not emitted when a requestTimeout() has occurred. */ /*! |