Merge pull request #6 from Tucos/genversion
[quassel.git] / interfaces / org.kde.StatusNotifierItem.xml
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.StatusNotifierItem">
4
5     <property name="Category" type="s" access="read"/>
6     <property name="Id" type="s" access="read"/>
7     <property name="Title" type="s" access="read"/>
8     <property name="Status" type="s" access="read"/>
9     <property name="WindowId" type="i" access="read"/>
10
11
12     <!-- main icon -->
13     <!-- names are preferred over pixmaps -->
14     <property name="IconName" type="s" access="read"/>
15
16     <!--struct containing width, height and image data-->
17     <property name="IconPixmap" type="(iiay)" access="read">
18       <annotation name="com.trolltech.QtDBus.QtTypeName" value="DBusImageVector"/>
19     </property>
20
21     <property name="OverlayIconName" type="s" access="read"/>
22
23     <property name="OverlayIconPixmap" type="(iiay)" access="read">
24       <annotation name="com.trolltech.QtDBus.QtTypeName" value="DBusImageVector"/>
25     </property>
26
27
28     <!-- Requesting attention icon -->
29     <property name="AttentionIconName" type="s" access="read"/>
30
31     <!--same definition as image-->
32     <property name="AttentionIconPixmap" type="(iiay)" access="read">
33       <annotation name="com.trolltech.QtDBus.QtTypeName" value="DBusImageVector"/>
34     </property>
35
36     <property name="AttentionMovieName" type="s" access="read"/>
37
38
39
40     <!-- tooltip data -->
41
42     <!--(iiay) is an image-->
43     <property name="ToolTip" type="(s(iiay)ss)" access="read">
44       <annotation name="com.trolltech.QtDBus.QtTypeName" value="DBusToolTipStruct"/>
45     </property>
46
47
48     <!-- interaction: the systemtray wants the application to do something -->
49     <method name="ContextMenu">
50         <!-- we're passing the coordinates of the icon, so the app knows where to put the popup window -->
51         <arg name="x" type="i" direction="in"/>
52         <arg name="y" type="i" direction="in"/>
53     </method>
54
55     <method name="Activate">
56         <arg name="x" type="i" direction="in"/>
57         <arg name="y" type="i" direction="in"/>
58     </method>
59
60     <method name="SecondaryActivate">
61         <arg name="x" type="i" direction="in"/>
62         <arg name="y" type="i" direction="in"/>
63     </method>
64
65     <method name="Scroll">
66       <arg name="delta" type="i" direction="in"/>
67       <arg name="orientation" type="s" direction="in"/>
68     </method>
69
70     <!-- Signals: the client wants to change something in the status-->
71     <signal name="NewTitle">
72     </signal>
73
74     <signal name="NewIcon">
75     </signal>
76
77     <signal name="NewAttentionIcon">
78     </signal>
79
80     <signal name="NewOverlayIcon">
81     </signal>
82
83     <signal name="NewToolTip">
84     </signal>
85
86     <signal name="NewStatus">
87       <arg name="status" type="s"/>
88     </signal>
89
90   </interface>
91 </node>