Changeset View
Changeset View
Standalone View
Standalone View
libnotificationmanager/dbus/org.kde.JobViewV3.xml
- This file was added.
1 | <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | ||||
---|---|---|---|---|---|
2 | "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||||
3 | <node> | ||||
4 | <interface name="org.kde.JobViewV3"> | ||||
5 | | ||||
6 | <method name="terminate"> | ||||
7 | <!-- TODO does this need a "quiet" argument so we can tell between | ||||
8 | "real" errors the user should see and "errors" like canceled? | ||||
9 | or do we want to keep that on the view's side? --> | ||||
10 | | ||||
11 | <!-- The error code why the job view was terminated. | ||||
12 | 0 means no error. An error can be e.g. ERR_USER_CANCELED --> | ||||
13 | <arg name="errorCode" type="u" direction="in"/> | ||||
14 | <!-- The user-visible error message, e.g. "Network connection lost" --> | ||||
15 | <arg name="errorMessage" type="s" direction="in"/> | ||||
16 | <!-- Custom hints for the server, used for future extension --> | ||||
17 | <arg name="hints" type="a{sv}" direction="in"/> | ||||
18 | <annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/> | ||||
19 | <annotation name="org.qtproject.QtDBus.QtTypeName.In2" value="QVariantMap"/> | ||||
20 | </method> | ||||
21 | | ||||
22 | <method name="update"> | ||||
23 | <arg name="properties" type="a{sv}" direction="in"/> | ||||
24 | <!-- TODO Does this need a invalidatedProperties thing like dbus properties or do we just | ||||
25 | send empty props over for removing stuff, is this even a thing we do? | ||||
26 | There's "clearDescriptionField" which we can just do by sending empty description fields? --> | ||||
27 | <annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/> | ||||
28 | <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QVariantMap"/> | ||||
29 | </method> | ||||
30 | | ||||
31 | <!-- The view requested to be re-sent all properties. | ||||
32 | TODO do we need this, how does it re-register when plasmashell restarts? --> | ||||
33 | <signal name="updateRequested"/> | ||||
34 | | ||||
35 | <signal name="suspendRequested"/> | ||||
36 | <signal name="resumeRequested"/> | ||||
37 | <signal name="cancelRequested"/> | ||||
38 | </interface> | ||||
39 | </node> |