kdeconnect-kde/plugins/ping
Adam Pigg ebc316f703 Add a method for creating simple notifications
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.

Reviewers: kdeconnect, apol

Reviewed By: apol

Subscribers: kdeconnect

Differential Revision: https://phabricator.kde.org/D11104
2018-03-18 12:52:22 +01:00
..
CMakeLists.txt Add a method for creating simple notifications 2018-03-18 12:52:22 +01:00
kdeconnect_ping.json Remove unused "Encoding": "UTF-8" from plugins' metadata JSON 2018-03-17 23:32:27 +01:00
pingplugin.cpp Add a method for creating simple notifications 2018-03-18 12:52:22 +01:00
pingplugin.h Rename NetworkPackage -> NetworkPacket 2018-03-05 20:03:23 +01:00
README Updated ping readme 2014-10-10 15:01:31 -07:00

This plugin displays a notification to the user each time a package with type
"kdeconnect.ping" is received. If the package has something in the "message"
field, that will be displayed in the notification body.