QNI: Clarify Feature enum entries' documentation

Saying properties are not available depending on feature support
is misleading. It is available even if not supported, it's just not useful.

Pick-to: 6.2
Change-Id: I6325c50867bb873258c70280adb8d75125db2096
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
Mårten Nordheim 2021-11-03 12:19:14 +01:00
parent 762a3d73f5
commit 2d39509d4a

View File

@ -442,17 +442,21 @@ QNetworkInformationBackendFactory::~QNetworkInformationBackendFactory()
This can be used in QNetworkInformation::load(). This can be used in QNetworkInformation::load().
\value Reachability \value Reachability
If the plugin supports this feature then If the plugin supports this feature then the \c reachability property
the \c reachability property will be available. will provide useful results. Otherwise it will always return
\c{Reachability::Unknown}.
See also QNetworkInformation::Reachability. See also QNetworkInformation::Reachability.
\value CaptivePortal \value CaptivePortal
If the plugin supports this feature then If the plugin supports this feature then the \c isBehindCaptivePortal
the \c isBehindCaptivePortal property will be available. property will provide useful results. Otherwise it will always return
\c{false}.
\value TransportMedium \value TransportMedium
If the plugin supports this feature then the \c transportMedium If the plugin supports this feature then the \c transportMedium
property will be available. property will provide useful results. Otherwise it will always return
\c{TransportMedium::Unknown}.
See also QNetworkInformation::TransportMedium.
*/ */
/*! /*!