summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-02-15 05:17:55 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-02-15 05:17:55 (GMT)
commit4089401868dd62972a750c3e668a2998071de97c (patch)
tree74e37f4f239e459d9ba876899c7941a55718804e /src/network
parent1afc8234c3a0ab38671f6078cf6a865ba81c73f7 (diff)
downloadQt-4089401868dd62972a750c3e668a2998071de97c.zip
Qt-4089401868dd62972a750c3e668a2998071de97c.tar.gz
Qt-4089401868dd62972a750c3e668a2998071de97c.tar.bz2
Use snippets.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/bearer/qnetworkconfigmanager.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/network/bearer/qnetworkconfigmanager.cpp b/src/network/bearer/qnetworkconfigmanager.cpp
index 8ca2537..2e37e01 100644
--- a/src/network/bearer/qnetworkconfigmanager.cpp
+++ b/src/network/bearer/qnetworkconfigmanager.cpp
@@ -296,14 +296,7 @@ QNetworkConfiguration QNetworkConfigurationManager::configurationFromIdentifier(
This is equivalent to the following code snippet:
- \code
- QNetworkConfigurationManager mgr;
- QList<QNetworkConfiguration> activeConfigs = mgr.allConfigurations(QNetworkConfiguration::Active)
- if (activeConfigs.count() > 0)
- Q_ASSERT(mgr.isOnline())
- else
- Q_ASSERT(!mgr.isOnline())
- \endcode
+ \snippet doc/src/snippets/code/src_network_bearer_qnetworkconfigmanager.cpp 0
\sa onlineStateChanged()
*/