diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-02-15 03:03:24 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-02-15 03:03:24 (GMT) |
commit | 21aeae2a2258ab8e5083a0607c3b98579bf6fc58 (patch) | |
tree | e4ae03f88c77e36a1cede9f68fef010cd4575fdd /doc/src | |
parent | 2d23e45c94b6115db2b1efadfe77841f481545ca (diff) | |
download | Qt-21aeae2a2258ab8e5083a0607c3b98579bf6fc58.zip Qt-21aeae2a2258ab8e5083a0607c3b98579bf6fc58.tar.gz Qt-21aeae2a2258ab8e5083a0607c3b98579bf6fc58.tar.bz2 |
Expand documentation for QNAM::setConfiguration() and friends.
Diffstat (limited to 'doc/src')
-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 643d0dd..5db6676 100644 --- a/doc/src/snippets/code/src_network_access_qnetworkaccessmanager.cpp +++ b/doc/src/snippets/code/src_network_access_qnetworkaccessmanager.cpp @@ -60,3 +60,12 @@ connect(reply, SIGNAL(error(QNetworkReply::NetworkError)), connect(reply, SIGNAL(sslErrors(QList<QSslError>)), this, SLOT(slotSslErrors(QList<QSslError>))); //! [1] + +//! [2] +QNetworkConfigurationManager manager; +networkAccessManager->setConfiguration(manager.defaultConfiguration()); +//! [2] + +//! [3] +networkAccessManager->setConfiguration(QNetworkConfiguration()); +//! [3] |