diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-03-01 07:45:35 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-03-02 05:42:32 (GMT) |
commit | d042a00b5828961e1e1fa82017717b5f72dde9ef (patch) | |
tree | 600353f03174c0bfe80d964c5a6d2500e5df235d /src/network/bearer/qnetworkconfigmanager.cpp | |
parent | ef30a6f336d55c813423bf139d8363f50181179f (diff) | |
download | Qt-d042a00b5828961e1e1fa82017717b5f72dde9ef.zip Qt-d042a00b5828961e1e1fa82017717b5f72dde9ef.tar.gz Qt-d042a00b5828961e1e1fa82017717b5f72dde9ef.tar.bz2 |
Bearer management changes from Qt Mobility (fca9891).
fca98911b75ce12e70d93cfc2932a9759758a605
Diffstat (limited to 'src/network/bearer/qnetworkconfigmanager.cpp')
-rw-r--r-- | src/network/bearer/qnetworkconfigmanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/network/bearer/qnetworkconfigmanager.cpp b/src/network/bearer/qnetworkconfigmanager.cpp index e960323..9ff197b 100644 --- a/src/network/bearer/qnetworkconfigmanager.cpp +++ b/src/network/bearer/qnetworkconfigmanager.cpp @@ -302,6 +302,11 @@ QNetworkConfiguration QNetworkConfigurationManager::defaultConfiguration() const be used to update each configuration's state. Note that such an update may require some time. It's completion is signalled by updateCompleted(). In the absence of a configuration update this function returns the best estimate at the time of the call. + Therefore, if WLAN configurations are of interest, it is recommended that + updateConfigurations() is called once after QNetworkConfigurationManager + instantiation (WLAN scans are too time consuming to perform in constructor). + After this the data is kept automatically up-to-date as the system reports + any changes. */ QList<QNetworkConfiguration> QNetworkConfigurationManager::allConfigurations(QNetworkConfiguration::StateFlags filter) const { |