summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-02-08 00:50:14 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-02-08 07:49:22 (GMT)
commit992af6c30d5e1216bf7a6db2521c16f0b508e396 (patch)
tree4774c2fdb43c47b06b9a92b501cf4f0b80bdc3f4 /src/plugins/bearer
parent5096692696b18df82914fc1f63597e00c24fa5d2 (diff)
downloadQt-992af6c30d5e1216bf7a6db2521c16f0b508e396.zip
Qt-992af6c30d5e1216bf7a6db2521c16f0b508e396.tar.gz
Qt-992af6c30d5e1216bf7a6db2521c16f0b508e396.tar.bz2
Missed this in a previous commit.
Diffstat (limited to 'src/plugins/bearer')
-rw-r--r--src/plugins/bearer/qbearerengine_impl.h2
-rw-r--r--src/plugins/bearer/qnetworksession_impl.cpp15
2 files changed, 10 insertions, 7 deletions
diff --git a/src/plugins/bearer/qbearerengine_impl.h b/src/plugins/bearer/qbearerengine_impl.h
index 3772639..740def3 100644
--- a/src/plugins/bearer/qbearerengine_impl.h
+++ b/src/plugins/bearer/qbearerengine_impl.h
@@ -73,7 +73,7 @@ public:
virtual quint64 startTime(const QString &) { return Q_UINT64_C(0); }
Q_SIGNALS:
- void connectionError(const QString &id, ConnectionError error);
+ void connectionError(const QString &id, QBearerEngineImpl::ConnectionError error);
};
QT_END_NAMESPACE
diff --git a/src/plugins/bearer/qnetworksession_impl.cpp b/src/plugins/bearer/qnetworksession_impl.cpp
index 8f95e77..de1c91a 100644
--- a/src/plugins/bearer/qnetworksession_impl.cpp
+++ b/src/plugins/bearer/qnetworksession_impl.cpp
@@ -119,8 +119,8 @@ void QNetworkSessionPrivateImpl::syncStateWithInterface()
activeConfig = publicConfig;
engine = getEngineFromId(activeConfig.identifier());
if (engine) {
- connect(engine, SIGNAL(connectionError(QString,QBearerEngine::ConnectionError)),
- this, SLOT(connectionError(QString,QBearerEngine::ConnectionError)),
+ connect(engine, SIGNAL(connectionError(QString,QBearerEngineImpl::ConnectionError)),
+ this, SLOT(connectionError(QString,QBearerEngineImpl::ConnectionError)),
Qt::QueuedConnection);
}
break;
@@ -298,15 +298,18 @@ void QNetworkSessionPrivateImpl::updateStateFromServiceNetwork()
if (activeConfig != config) {
if (engine) {
- disconnect(engine, SIGNAL(connectionError(QString,QBearerEngine::ConnectionError)),
- this, SLOT(connectionError(QString,QBearerEngine::ConnectionError)));
+ disconnect(engine,
+ SIGNAL(connectionError(QString,QBearerEngineImpl::ConnectionError)),
+ this,
+ SLOT(connectionError(QString,QBearerEngineImpl::ConnectionError)));
}
activeConfig = config;
engine = getEngineFromId(activeConfig.identifier());
if (engine) {
- connect(engine, SIGNAL(connectionError(QString,QBearerEngine::ConnectionError)),
- this, SLOT(connectionError(QString,QBearerEngine::ConnectionError)),
+ connect(engine,
+ SIGNAL(connectionError(QString,QBearerEngineImpl::ConnectionError)),
+ this, SLOT(connectionError(QString,QBearerEngineImpl::ConnectionError)),
Qt::QueuedConnection);
}
emit newConfigurationActivated();