DBus.Connections QML Type
A QML type that is used to watch signals in a service.
DBus.Connections {
busType: DBus.BusType.Session
service: "org.kde.plasmashell"
path: "/PlasmaShell"
interface: "org.kde.PlasmaShell"
enabled: true
function wallpaperChanged(values: var) {
console.log("screenNum", values[0])
}
function colorChanged(values: var) {
console.log("changedColor", values[0])
}
}
Edited by Fushan Wen