Changeset View
Changeset View
Standalone View
Standalone View
runners/baloo/org.kde.krunner1.xml
- This file was added.
1 | <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||||
---|---|---|---|---|---|
2 | <node> | ||||
3 | <interface name="org.kde.krunner1"> | ||||
4 | | ||||
5 | <!-- | ||||
6 | Returns a list of actions supported by this runner. | ||||
7 | For example, a song match returned by a music player runner can be queued, added to the playlist, or played. | ||||
8 | This should be constant | ||||
9 | Structure is: | ||||
10 | - ID | ||||
11 | - Text | ||||
12 | - IconName | ||||
13 | --> | ||||
14 | <method name="Actions"> | ||||
15 | <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="RemoteActions" /> | ||||
16 | <arg name="matches" type="a(sss)" direction="out"> | ||||
17 | </arg> | ||||
18 | </method> | ||||
19 | | ||||
20 | <!-- | ||||
21 | Execute an action | ||||
22 | --> | ||||
23 | <method name="Run"> | ||||
24 | <!-- | ||||
25 | The Unique ID from Match. | ||||
26 | --> | ||||
27 | <arg name="matchId" type="s" direction="in"/> | ||||
28 | <!-- | ||||
29 | The action ID to run. For the default action this will be empty. | ||||
30 | --> | ||||
31 | <arg name="actionId" type="s" direction="in"/> | ||||
32 | </method> | ||||
33 | <!-- | ||||
34 | Fetch matching results for a given query. | ||||
35 | | ||||
36 | Note: Multiple Match calls may be made with new queries before a call has returned | ||||
37 | has returned. | ||||
38 | --> | ||||
39 | <method name="Match"> | ||||
40 | <arg name="query" type="s" direction="in"/> | ||||
41 | <!-- | ||||
42 | Return a list of items that match the | ||||
43 | Structure is: | ||||
44 | - Id | ||||
45 | - Text | ||||
46 | - IconName | ||||
47 | - Type (see PlasmaQuery::Type) | ||||
48 | - Relevance | ||||
49 | - Properties (VariantMap) | ||||
50 | --> | ||||
51 | <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="RemoteMatches"/> | ||||
52 | <arg name="matches" type="a(sssuda{sv})" direction="out"/> | ||||
53 | </method> | ||||
54 | </interface> | ||||
55 | </node> |