f740a8bda8
This makes it easier to read, because we do not have to handle a list of files that get added to the targets. In other KDE projects, we also prefer the target centric approach. In case one wants to reuse the same category in multiple places, it would be best to create a small static lib. But for now, this is not needed. |
||
---|---|---|
.. | ||
clipboard_config.cpp | ||
clipboard_config.h | ||
clipboard_config.ui | ||
clipboardlistener.cpp | ||
clipboardlistener.h | ||
clipboardplugin.cpp | ||
clipboardplugin.h | ||
CMakeLists.txt | ||
kdeconnect_clipboard.json | ||
kdeconnect_clipboard_config.qml | ||
README |
When the clipboard changes, it sends a package with type kdeconnect.clipboard and the field "content" (string) containing the new clipboard content. When it receivest a package of the same kind, it should update the system clipboard with the received content, so the clipboard in both devices always have the same content. This plugin is symmetric to its counterpart in the other device: both have the same behaviour.