diff options
author | MÃ¥rten Nordheim <marten.nordheim@qt.io> | 2022-04-05 12:26:20 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-04-07 12:32:23 +0000 |
commit | d8bf785558cd4e9d71c4a5468acee538ca6e2d1d (patch) | |
tree | ae4f8122a80f561a7635aa68cea861c5b3e30db7 | |
parent | f101b6b931ac324881384f182234e3b62ec362ea (diff) |
Network[doc]: Update Qt6-changes with QNetworkInformation details
I always meant to remove the note and update it with a link, but forgot.
Qt 6.2 details only so it can be easily cherry-picked there.
Change-Id: I4db3919b71971a997ac8a988951b01c984a8a791
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
(cherry picked from commit 188cbc041791b65376d1e99c50f9535225e10d85)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/network/doc/src/qt6-changes.qdoc | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/network/doc/src/qt6-changes.qdoc b/src/network/doc/src/qt6-changes.qdoc index 765fdeaa56..b7881e3cc2 100644 --- a/src/network/doc/src/qt6-changes.qdoc +++ b/src/network/doc/src/qt6-changes.qdoc @@ -88,8 +88,17 @@ void networkSessionConnected(); \endcode - \note Qt 6.0 does not provide replacements for these deleted - classes and functions. + QNetworkInformation, initially introduced in Qt 6.1, aims to replace some + aspects of the bearer management API. It works by providing a unified API + which subscribes to changes to the network as notified by the operating + system. + + QNetworkInformation::reachability(), introduced in Qt 6.1, replaces the + QNetworkAccessManager::networkAccessible() function, while adding more + detailed information about the reachability of the network. See its + documentation for more details. + + In Qt 6.2 QNetworkInformation gained the ability to detect captive portals. \section2 Deleted enumerators |