D6115: Update introspections (NM 1.8.0)
Jan Grulich
noreply at phabricator.kde.org
Tue Jun 6 11:44:16 UTC 2017
jgrulich created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.
REVISION SUMMARY
Add new stateChanged() signal to active connection
There is a new additional StateChanged() signal coming from NetworkManager with additional reason property so
with that we can now check what was the reason for the changed state. Use this new signal when NM 1.8.0 is present
and emit also the old one for backward compatibility.
There is just one minor problem, with two stateChanged() signals you will need to specify to which signal you want
to connect to when using Qt5 syntax for signals/slots and without that you won't compile current code, i.e. of plasma-nm
REPOSITORY
R282 NetworkManagerQt
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D6115
AFFECTED FILES
src/activeconnection.cpp
src/activeconnection.h
src/activeconnection_p.h
src/dbus/activeconnectioninterface.h
src/dbus/introspection/org.freedesktop.NetworkManager.Connection.Active.xml
src/dbus/introspection/org.freedesktop.NetworkManager.xml
src/fakenetwork/activeconnection.h
src/fakenetwork/fakenetwork.cpp
src/vpnconnection.h
To: jgrulich
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170606/41f53f68/attachment.html>
More information about the Kde-frameworks-devel
mailing list