D6116: Add new stateChanged() signal to active connection

Jan Grulich noreply at phabricator.kde.org
Tue Jun 6 11:45:52 UTC 2017


jgrulich created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.

REVISION SUMMARY
  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/D6116

AFFECTED FILES
  src/activeconnection.cpp
  src/activeconnection.h
  src/activeconnection_p.h
  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/561eff13/attachment.html>


More information about the Kde-frameworks-devel mailing list