diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-01-04 07:11:20 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-01-04 07:11:20 (GMT) |
commit | c3049983cf0ac72ae4a524a0a365ea88e950bfc0 (patch) | |
tree | fe98cacd122f59566a3f6da0926021ba062644c8 /src/network/bearer/qnetworkconfigmanager_p.cpp | |
parent | c68598b2bd82abee5da2596949e1e95c9a59e584 (diff) | |
download | Qt-c3049983cf0ac72ae4a524a0a365ea88e950bfc0.zip Qt-c3049983cf0ac72ae4a524a0a365ea88e950bfc0.tar.gz Qt-c3049983cf0ac72ae4a524a0a365ea88e950bfc0.tar.bz2 |
Convert Core Wlan plugin to be incremental.
Diffstat (limited to 'src/network/bearer/qnetworkconfigmanager_p.cpp')
-rw-r--r-- | src/network/bearer/qnetworkconfigmanager_p.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/network/bearer/qnetworkconfigmanager_p.cpp b/src/network/bearer/qnetworkconfigmanager_p.cpp index c9b10dd..cb83789 100644 --- a/src/network/bearer/qnetworkconfigmanager_p.cpp +++ b/src/network/bearer/qnetworkconfigmanager_p.cpp @@ -186,6 +186,14 @@ void QNetworkConfigurationManagerPrivate::updateConfigurations() QNetworkSessionEngine *coreWifi = coreWlanPlugin->create(QLatin1String("corewlan")); if (coreWifi) { sessionEngines.append(coreWifi); + connect(coreWifi, SIGNAL(updateCompleted()), + this, SLOT(updateConfigurations())); + connect(coreWifi, SIGNAL(configurationAdded(QNetworkConfigurationPrivatePointer)), + this, SLOT(configurationAdded(QNetworkConfigurationPrivatePointer))); + connect(coreWifi, SIGNAL(configurationRemoved(QNetworkConfigurationPrivatePointer)), + this, SLOT(configurationRemoved(QNetworkConfigurationPrivatePointer))); + connect(coreWifi, SIGNAL(configurationChanged(QNetworkConfigurationPrivatePointer)), + this, SLOT(configurationChanged(QNetworkConfigurationPrivatePointer))); } } } |