diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2022-04-05 12:26:20 +0200 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2022-04-07 14:05:03 +0200 |
commit | 188cbc041791b65376d1e99c50f9535225e10d85 (patch) | |
tree | 92a6d2945d488de2514d18380087669479fd03d3 /src/network/doc/src/qt6-changes.qdoc | |
parent | 8aa3cf21da696f241ab06504362fe243c3ca32b0 (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.
Pick-to: 6.3 6.2
Change-Id: I4db3919b71971a997ac8a988951b01c984a8a791
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/network/doc/src/qt6-changes.qdoc')
-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 |