02a2990720
Centralizing the plugins' config will ensure that all the plugins store it the same way (ie: not in random files scattered around, like until now). The base KCM class, together with the already existing base plugin class, will give easy access to all the plugins to this centralized config. Also, now the settings are not shared across devices (that is: every device can have different config for a same plugin). Note: This commit requires KCMUtils 5.9 REVIEW: 122927 |
||
---|---|---|
.. | ||
autoclosingqfile.cpp | ||
autoclosingqfile.h | ||
CMakeLists.txt | ||
kdeconnect_share.desktop | ||
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.