summaryrefslogtreecommitdiffstats
path: root/src/network/bearer/qnetworkconfigmanager_p.cpp
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2009-12-10 07:10:53 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-01-04 01:15:57 (GMT)
commit6f0a0af87c2063cd1dac75134f5cd05291a9196d (patch)
treee1cf0a83e4faebb227787a97c097ee5afc70e0b3 /src/network/bearer/qnetworkconfigmanager_p.cpp
parentb22d0a9c4d6e3309287aefdc1a300e2fc566c2c7 (diff)
downloadQt-6f0a0af87c2063cd1dac75134f5cd05291a9196d.zip
Qt-6f0a0af87c2063cd1dac75134f5cd05291a9196d.tar.gz
Qt-6f0a0af87c2063cd1dac75134f5cd05291a9196d.tar.bz2
Convert NLA plugin to be incremental.
Diffstat (limited to 'src/network/bearer/qnetworkconfigmanager_p.cpp')
-rw-r--r--src/network/bearer/qnetworkconfigmanager_p.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/network/bearer/qnetworkconfigmanager_p.cpp b/src/network/bearer/qnetworkconfigmanager_p.cpp
index 6f833f3..495be4a 100644
--- a/src/network/bearer/qnetworkconfigmanager_p.cpp
+++ b/src/network/bearer/qnetworkconfigmanager_p.cpp
@@ -198,7 +198,7 @@ void QNetworkConfigurationManagerPrivate::updateConfigurations()
if (nmWifi) {
sessionEngines.append(nmWifi);
connect(nmWifi, SIGNAL(updateCompleted()),
- this, SIGNAL(configurationUpdateComplete()));
+ this, SLOT(updateConfigurations()));
connect(nmWifi, SIGNAL(configurationAdded(QNetworkConfigurationPrivatePointer)),
this, SLOT(configurationAdded(QNetworkConfigurationPrivatePointer)));
connect(nmWifi, SIGNAL(configurationRemoved(QNetworkConfigurationPrivatePointer)),
@@ -217,7 +217,7 @@ void QNetworkConfigurationManagerPrivate::updateConfigurations()
if (generic) {
sessionEngines.append(generic);
connect(generic, SIGNAL(updateCompleted()),
- this, SIGNAL(configurationUpdateComplete()));
+ this, SLOT(updateConfigurations()));
connect(generic, SIGNAL(configurationAdded(QNetworkConfigurationPrivatePointer)),
this, SLOT(configurationAdded(QNetworkConfigurationPrivatePointer)));
connect(generic, SIGNAL(configurationRemoved(QNetworkConfigurationPrivatePointer)),
@@ -235,6 +235,14 @@ void QNetworkConfigurationManagerPrivate::updateConfigurations()
QNetworkSessionEngine *nla = nlaPlugin->create(QLatin1String("nla"));
if (nla) {
sessionEngines.append(nla);
+ connect(nla, SIGNAL(updateCompleted()),
+ this, SLOT(updateConfigurations()));
+ connect(nla, SIGNAL(configurationAdded(QNetworkConfigurationPrivatePointer)),
+ this, SLOT(configurationAdded(QNetworkConfigurationPrivatePointer)));
+ connect(nla, SIGNAL(configurationRemoved(QNetworkConfigurationPrivatePointer)),
+ this, SLOT(configurationRemoved(QNetworkConfigurationPrivatePointer)));
+ connect(nla, SIGNAL(configurationChanged(QNetworkConfigurationPrivatePointer)),
+ this, SLOT(configurationChanged(QNetworkConfigurationPrivatePointer)));
}
}
}