QNI: Add missing transportMedium documentation

I forgot

Fixes: QTBUG-97409
Change-Id: I5ee94b2cc4c70b6408bb9bb9368c6876f3179783
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
bb10
Mårten Nordheim 2021-10-11 07:23:38 +02:00
parent 826765f654
commit dc01509878
1 changed files with 30 additions and 0 deletions

View File

@ -449,6 +449,10 @@ QNetworkInformationBackendFactory::~QNetworkInformationBackendFactory()
\value CaptivePortal
If the plugin supports this feature then
the \c isBehindCaptivePortal property will be available.
\value TransportMedium
If the plugin supports this feature then the \c transportMedium
property will be available.
*/
/*!
@ -474,6 +478,32 @@ QNetworkInformationBackendFactory::~QNetworkInformationBackendFactory()
\sa QNetworkInformation::reachability
*/
/*!
\enum QNetworkInformation::TransportMedium
\since 6.3
Lists the currently recognized media with which one can connect to the
internet.
\value Unknown
Returned if either the OS reports no active medium, the active medium is
not recognized by Qt, or the TransportMedium feature is not supported.
\value Ethernet
Indicates that the currently active connection is using ethernet.
Note: This value may also be returned when Windows is connected to a
Bluetooth personal area network.
\value Cellular
Indicates that the currently active connection is using a cellular
network.
\value WiFi
Indicates that the currently active connection is using Wi-Fi.
\value Bluetooth
Indicates that the currently active connection is connected using
Bluetooth.
\sa QNetworkInformation::transportMedium
*/
/*!
\internal ctor
*/