Commit 8fa2cf50 authored by Lamarque Souza's avatar Lamarque Souza
Browse files

Fix wifi hidden network support. A new QtNetworkManager/libnm-qt snapshot

is also required.

BUG: 209464
parent 592af948
#ifndef PLASMA_NM_VERSION_H
#define PLASMA_NM_VERSION_H
static const char * plasmaNmVersion = "0.9.1_rc1 (master 20120201)";
static const char * plasmaNmVersion = "0.9.1_rc1 (master 20120204)";
#endif
/*
Copyright 2008 Will Stephenson <wstephenson@kde.org>
Copyright 2011-2012 Lamarque Souza <lamarque@kde.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
......
/*
Copyright 2011 Lamarque Souza <lamarque@kde.org>
Copyright 2011-212 Lamarque V. Souza <lamarque@kde.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
......@@ -53,7 +53,7 @@ ManageConnection::ManageConnection(Knm::Connection *con): m_manager("org.kde.net
if (addConnection) {
connect(mSystemSettings, SIGNAL(addConnectionCompleted(bool,QString)), SLOT(addConnectionCompleted(bool,QString)));
connect(&m_manager, SIGNAL(ActivatableAdded(QString,uint,int)), this, SLOT(activatableAdded(QString,uint,int)));
connect(&m_manager, SIGNAL(ActivatableAdded(QVariantMap)), this, SLOT(activatableAdded(QVariantMap)));
mSystemSettings->addConnection(con);
}
......@@ -90,12 +90,10 @@ void ManageConnection::addConnectionCompleted(bool valid, const QString &errorMe
}
}
void ManageConnection::activatableAdded(QString path, uint type, int index)
void ManageConnection::activatableAdded(const QVariantMap &properties)
{
Q_UNUSED(type)
Q_UNUSED(index)
QDBusInterface activatable("org.kde.networkmanagement",
path,
properties["path"].toString(),
"org.kde.networkmanagement.Activatable",
QDBusConnection::sessionBus());
......
/*
Copyright 2011 Lamarque Souza <lamarque@kde.org>
Copyright 2011-2012 Lamarque V. Souza <lamarque@kde.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
......@@ -39,7 +39,7 @@ public:
private Q_SLOTS:
void addConnectionCompleted(bool valid, const QString &errorMessage);
void updateConnectionCompleted();
void activatableAdded(QString, uint, int);
void activatableAdded(const QVariantMap &properties);
private:
NMDBusSettingsConnectionProvider * mSystemSettings;
QDBusInterface m_manager;
......
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