ebc316f703
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 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
kdeconnect_share.json | ||
kdeconnect_share_config.desktop | ||
README | ||
share_config.cpp | ||
share_config.h | ||
share_config.ui | ||
share_debug.h | ||
shareplugin.cpp | ||
shareplugin.h |
It receives a packages with type kdeconnect.share. If they have a payload attached, it will download it as a file with the filename set in the field "filename" (string). If that field is not set it should generate a filename. If the content transferred is text, it can be sent in a field "text" (string) instead of an attached payload. In that case, this plugin opens a text editor with the content instead of saving it as a file. If the content transferred is a url, it can be sent in a field "url" (string). In that case, this plugin opens that url in the default browser.