components/dbus: add DBusMethodCall
This QML type is used to call a DBus method.
Example:
const args = [
"appname",
0,
"firefox",
"title",
"body",
["1", "action 1", "2", "action 2"],
{"desktop-entry": "systemsettings"},
-1
]
const msg = {service: "org.freedesktop.Notifications", path: "/org/freedesktop/Notifications", iface: "org.freedesktop.Notifications", member: "Notify", arguments: args} as DBus.dbusMessage
const asyncReply = DBus.SessionBus.asyncCall(msg)
asyncReply.finished.connect(callback)
Closes #120 (closed)
Edited by Fushan Wen