From 0abbae240ed3f6395d36669df570bba876bb7121 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Nordheim?= Date: Fri, 12 Jun 2020 12:35:20 +0200 Subject: QNAM: docs cleanup from NetworkAccessible It was removed but some documentation bits were still there, apologies Change-Id: I1888b34fe04e6566349d35a27391d0bd14d622d4 Reviewed-by: Timur Pocheptsov --- src/network/access/qnetworkaccessmanager.cpp | 47 ---------------------- .../src_network_access_qnetworkaccessmanager.cpp | 9 ----- 2 files changed, 56 deletions(-) (limited to 'src/network') diff --git a/src/network/access/qnetworkaccessmanager.cpp b/src/network/access/qnetworkaccessmanager.cpp index 351eca43df..ea05514932 100644 --- a/src/network/access/qnetworkaccessmanager.cpp +++ b/src/network/access/qnetworkaccessmanager.cpp @@ -249,53 +249,6 @@ static void ensureInitialized() \sa QNetworkReply::operation() */ -/*! - \enum QNetworkAccessManager::NetworkAccessibility - \obsolete - - Indicates whether the network is accessible via this network access manager. - - \value UnknownAccessibility The network accessibility cannot be determined. - \value NotAccessible The network is not currently accessible, either because there - is currently no network coverage or network access has been - explicitly disabled by a call to setNetworkAccessible(). - \value Accessible The network is accessible. - - \sa networkAccessible -*/ - -/*! - \property QNetworkAccessManager::networkAccessible - \brief whether the network is currently accessible via this network access manager. - \obsolete - - \since 4.7 - - If the network is \l {NotAccessible}{not accessible} the network access manager will not - process any new network requests, all such requests will fail with an error. Requests with - URLs with the file:// scheme will still be processed. - - By default the value of this property reflects the physical state of the device. Applications - may override it to disable all network requests via this network access manager by calling - - \snippet code/src_network_access_qnetworkaccessmanager.cpp 4 - - Network requests can be re-enabled again, and this property will resume to - reflect the actual device state by calling - - \snippet code/src_network_access_qnetworkaccessmanager.cpp 5 - - \note Calling setNetworkAccessible() does not change the network state. -*/ - -/*! - \fn void QNetworkAccessManager::networkAccessibleChanged(QNetworkAccessManager::NetworkAccessibility accessible) - \obsolete - - This signal is emitted when the value of the \l networkAccessible property changes. - \a accessible is the new network accessibility. -*/ - /*! \fn void QNetworkAccessManager::networkSessionConnected() diff --git a/src/network/doc/snippets/code/src_network_access_qnetworkaccessmanager.cpp b/src/network/doc/snippets/code/src_network_access_qnetworkaccessmanager.cpp index 39a3199bf7..a4e5230b2d 100644 --- a/src/network/doc/snippets/code/src_network_access_qnetworkaccessmanager.cpp +++ b/src/network/doc/snippets/code/src_network_access_qnetworkaccessmanager.cpp @@ -69,12 +69,3 @@ connect(reply, &QNetworkReply::errorOccurred, connect(reply, &QNetworkReply::sslErrors, this, &MyClass::slotSslErrors); //! [1] - -//! [4] -networkAccessManager->setNetworkAccessible(QNetworkAccessManager::NotAccessible); -//! [4] - -//! [5] -networkAccessManager->setNetworkAccessible(QNetworkAccessManager::Accessible); -//! [5] - -- cgit v1.2.3