From b46f37d689d4a59a4915d4c53f482429c9c305c3 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 14 Sep 2026 19:17:23 +0200 Subject: feat(desktop): KDE Connect device actions Ring, clipboard, mount and unpair, all shell-outs since there is no D-Bus module. Actions share one serialized Process and a failure notifies, for the case where the drawer has closed by the time the command returns. Mount runs --mount and then --get-mount-point in one shell, because --mount prints nothing and the path is a second call. --- desktop/modules/kdeconnect/KdeConnectRow.qml | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'desktop/modules/kdeconnect/KdeConnectRow.qml') diff --git a/desktop/modules/kdeconnect/KdeConnectRow.qml b/desktop/modules/kdeconnect/KdeConnectRow.qml index 45daae9..70cc6ce 100644 --- a/desktop/modules/kdeconnect/KdeConnectRow.qml +++ b/desktop/modules/kdeconnect/KdeConnectRow.qml @@ -67,5 +67,35 @@ Rectangle { color: Theme.subtext elide: Text.ElideRight } + + Row { + width: parent.width + spacing: 6 + + Button { + visible: row.device.reachable + text: "Ring" + onClicked: row.mod.ring(row.device.id) + } + + Button { + visible: row.device.reachable + text: "Clipboard" + onClicked: row.mod.clipboard(row.device.id) + } + + Button { + visible: row.device.reachable + text: "Mount" + onClicked: row.mod.mount(row.device.id) + } + + Button { + visible: row.device.paired + text: "Unpair" + danger: true + onClicked: row.mod.unpair(row.device.id) + } + } } } -- cgit v1.2.3