Commit 8a1ed7ce authored by Lorn Potter's avatar Lorn Potter

fix proper signalling

parent 7857f08c
......@@ -69,8 +69,8 @@ void ConnectionAgentPlugin::connectToConnectiond(QString)
}
connect(connManagerInterface,SIGNAL(connectionRequest()),
this,SLOT(onConnectionRequested()));
connect(connManagerInterface,SIGNAL(wlanConfigurationNeeded()),
this,SIGNAL(wlanConfigurationNeeded()));
connect(connManagerInterface,SIGNAL(configurationNeeded(QString)),
this,SIGNAL(configurationNeeded(QString)));
connect(connManagerInterface,SIGNAL(userInputCanceled()),
this,SIGNAL(userInputCanceled()));
......@@ -147,12 +147,6 @@ void ConnectionAgentPlugin::connectiondUnregistered(QString)
}
}
void ConnectionAgentPlugin::onConfigurationNeeded(const QString &type)
{
qDebug() << Q_FUNC_INFO;
Q_EMIT configurationNeeded(type);
}
void ConnectionAgentPlugin::onConnectionState(const QString &state, const QString &type)
{
qDebug() << Q_FUNC_INFO << state << type;
......
......@@ -53,7 +53,6 @@ private slots:
void onRequestBrowser(const QString &url);
void onUserInputRequested(const QString &service, const QVariantMap &fields);
void onConnectionRequested();
void onConfigurationNeeded(const QString &type);
void onConnectionState(const QString &state, const QString &type);
void connectToConnectiond(const QString = QString());
......
......@@ -59,7 +59,7 @@ Q_SIGNALS: // SIGNALS
void requestBrowser(const QString &url);
void userInputCanceled();
void userInputRequested(const QString &service, const QVariantMap &fields);
void wlanConfigurationNeeded();
void configurationNeeded(const QString &type);
};
namespace com {
......
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