diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-02-15 23:30:38 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-03-19 02:11:20 (GMT) |
commit | 331ad8eb0aedb4baefcaf6f08a8e0ce440a32b06 (patch) | |
tree | 3ac789066de67ad2fdb89a06d0156ea15a58bb89 /doc/src/snippets/code | |
parent | 39818f933b958d504b9cc18487658209d1df22da (diff) | |
download | Qt-331ad8eb0aedb4baefcaf6f08a8e0ce440a32b06.zip Qt-331ad8eb0aedb4baefcaf6f08a8e0ce440a32b06.tar.gz Qt-331ad8eb0aedb4baefcaf6f08a8e0ce440a32b06.tar.bz2 |
Rename networkAccess property to networkAccessible.
Add unit test and update docs.
Diffstat (limited to 'doc/src/snippets/code')
-rw-r--r-- | doc/src/snippets/code/src_network_access_qnetworkaccessmanager.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/src/snippets/code/src_network_access_qnetworkaccessmanager.cpp b/doc/src/snippets/code/src_network_access_qnetworkaccessmanager.cpp index 5db6676..1853650 100644 --- a/doc/src/snippets/code/src_network_access_qnetworkaccessmanager.cpp +++ b/doc/src/snippets/code/src_network_access_qnetworkaccessmanager.cpp @@ -69,3 +69,12 @@ networkAccessManager->setConfiguration(manager.defaultConfiguration()); //! [3] networkAccessManager->setConfiguration(QNetworkConfiguration()); //! [3] + +//! [4] +networkAccessManager->setNetworkAccessible(QNetworkAccessManager::NotAccessible); +//! [4] + +//! [5] +networkAccessManager->setNetworkAccessible(QNetworkAccessManager::Accessible); +//! [5] + |