D11104: Add a method for creating simple notifications

Adam Pigg noreply at phabricator.kde.org
Tue Mar 6 22:06:03 UTC 2018


piggz created this revision.
piggz added reviewers: kdeconnect, apol.
piggz requested review of this revision.

REVISION SUMMARY
  Add a helper function to the daemon interface, which must be subclassed
  by the implementations, which creates a simple notification.
  
  For more complex needs, involving interacting with the notification, it
  will still be nescessary to use KNotification directly, but this allows
  for other future implementations to create a simple notification without
  ifdef'ing the code.

REPOSITORY
  R224 KDE Connect

BRANCH
  abstract-notifications

REVISION DETAIL
  https://phabricator.kde.org/D11104

AFFECTED FILES
  core/daemon.h
  daemon/kdeconnectd.cpp
  plugins/battery/batteryplugin.cpp
  plugins/notifications/notificationsplugin.h
  plugins/ping/pingplugin.cpp
  plugins/sftp/sftpplugin.h
  plugins/share/shareplugin.h
  tests/testdaemon.h

To: piggz, kdeconnect, apol
Cc: kdeconnect
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20180306/93ee17e5/attachment.html>


More information about the KDEConnect mailing list