Commit d17ba188 authored by Pekka Vuorela's avatar Pekka Vuorela

reorder code

parent 35ad1f47
...@@ -56,7 +56,6 @@ QConnectionAgent::QConnectionAgent(QObject *parent) : ...@@ -56,7 +56,6 @@ QConnectionAgent::QConnectionAgent(QObject *parent) :
{ {
qDebug() << Q_FUNC_INFO; qDebug() << Q_FUNC_INFO;
connect(netman,SIGNAL(availabilityChanged(bool)),this,SLOT(connmanAvailabilityChanged(bool)));
new ConnAdaptor(this); new ConnAdaptor(this);
QDBusConnection dbus = QDBusConnection::sessionBus(); QDBusConnection dbus = QDBusConnection::sessionBus();
...@@ -71,6 +70,7 @@ QConnectionAgent::QConnectionAgent(QObject *parent) : ...@@ -71,6 +70,7 @@ QConnectionAgent::QConnectionAgent(QObject *parent) :
connect(this,SIGNAL(configurationNeeded(QString)),this,SLOT(openConnectionDialog(QString))); connect(this,SIGNAL(configurationNeeded(QString)),this,SLOT(openConnectionDialog(QString)));
connect(netman,SIGNAL(availabilityChanged(bool)),this,SLOT(connmanAvailabilityChanged(bool)));
connect(netman,SIGNAL(servicesListChanged(QStringList)),this,SLOT(servicesListChanged(QStringList))); connect(netman,SIGNAL(servicesListChanged(QStringList)),this,SLOT(servicesListChanged(QStringList)));
connect(netman,SIGNAL(stateChanged(QString)),this,SLOT(networkStateChanged(QString))); connect(netman,SIGNAL(stateChanged(QString)),this,SLOT(networkStateChanged(QString)));
connect(netman,SIGNAL(offlineModeChanged(bool)),this,SLOT(offlineModeChanged(bool))); connect(netman,SIGNAL(offlineModeChanged(bool)),this,SLOT(offlineModeChanged(bool)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment