diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-02-15 05:17:55 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-02-15 05:17:55 (GMT) |
commit | 4089401868dd62972a750c3e668a2998071de97c (patch) | |
tree | 74e37f4f239e459d9ba876899c7941a55718804e /src/network | |
parent | 1afc8234c3a0ab38671f6078cf6a865ba81c73f7 (diff) | |
download | Qt-4089401868dd62972a750c3e668a2998071de97c.zip Qt-4089401868dd62972a750c3e668a2998071de97c.tar.gz Qt-4089401868dd62972a750c3e668a2998071de97c.tar.bz2 |
Use snippets.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/bearer/qnetworkconfigmanager.cpp | 9 |
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() */ |