Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Unmaintained
Network Management
Commits
8fa2cf50
Commit
8fa2cf50
authored
Feb 04, 2012
by
Lamarque Souza
Browse files
Fix wifi hidden network support. A new QtNetworkManager/libnm-qt snapshot
is also required. BUG: 209464
parent
592af948
Changes
4
Hide whitespace changes
Inline
Side-by-side
plasma_nm_version.h
View file @
8fa2cf50
#ifndef PLASMA_NM_VERSION_H
#define PLASMA_NM_VERSION_H
static
const
char
*
plasmaNmVersion
=
"0.9.1_rc1 (master 2012020
1
)"
;
static
const
char
*
plasmaNmVersion
=
"0.9.1_rc1 (master 2012020
4
)"
;
#endif
settings/configshell/main.cpp
View file @
8fa2cf50
/*
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
...
...
settings/configshell/manageconnection.cpp
View file @
8fa2cf50
/*
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
(
Q
String
,
uint
,
int
)),
this
,
SLOT
(
activatableAdded
(
Q
String
,
uint
,
int
)));
connect
(
&
m_manager
,
SIGNAL
(
ActivatableAdded
(
Q
VariantMap
)),
this
,
SLOT
(
activatableAdded
(
Q
VariantMap
)));
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"
,
p
ath
,
p
roperties
[
"path"
].
toString
()
,
"org.kde.networkmanagement.Activatable"
,
QDBusConnection
::
sessionBus
());
...
...
settings/configshell/manageconnection.h
View file @
8fa2cf50
/*
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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment