Fix notification icon not appearing in Unity
[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     <!-- An additional path to add to the theme search path to find the icons specified above. -->
12     <property name="IconThemePath" type="s" access="read"/>
13     <property name="Menu" type="o" access="read"/>
14     <property name="ItemIsMenu" type="b" access="read"/>
15
16     <!-- main icon -->
17     <!-- names are preferred over pixmaps -->
18     <property name="IconName" type="s" access="read"/>
19
20     <!--struct containing width, height and image data-->
21     <property name="IconPixmap" type="(iiay)" access="read">
22       <annotation name="org.qtproject.QtDBus.QtTypeName" value="DBusImageVector"/>
23       <annotation name="com.trolltech.QtDBus.QtTypeName" value="DBusImageVector"/>
24     </property>
25
26     <property name="OverlayIconName" type="s" access="read"/>
27
28     <property name="OverlayIconPixmap" type="(iiay)" access="read">
29       <annotation name="org.qtproject.QtDBus.QtTypeName" value="DBusImageVector"/>
30       <annotation name="com.trolltech.QtDBus.QtTypeName" value="DBusImageVector"/>
31     </property>
32
33
34     <!-- Requesting attention icon -->
35     <property name="AttentionIconName" type="s" access="read"/>
36
37     <!--same definition as image-->
38     <property name="AttentionIconPixmap" type="(iiay)" access="read">
39       <annotation name="org.qtproject.QtDBus.QtTypeName" value="DBusImageVector"/>
40       <annotation name="com.trolltech.QtDBus.QtTypeName" value="DBusImageVector"/>
41     </property>
42
43     <property name="AttentionMovieName" type="s" access="read"/>
44
45
46
47     <!-- tooltip data -->
48
49     <!--(iiay) is an image-->
50     <property name="ToolTip" type="(s(iiay)ss)" access="read">
51       <annotation name="org.qtproject.QtDBus.QtTypeName" value="DBusToolTipStruct"/>
52       <annotation name="com.trolltech.QtDBus.QtTypeName" value="DBusToolTipStruct"/>
53     </property>
54
55
56     <!-- interaction: the systemtray wants the application to do something -->
57     <method name="ContextMenu">
58         <!-- we're passing the coordinates of the icon, so the app knows where to put the popup window -->
59         <arg name="x" type="i" direction="in"/>
60         <arg name="y" type="i" direction="in"/>
61     </method>
62
63     <method name="Activate">
64         <arg name="x" type="i" direction="in"/>
65         <arg name="y" type="i" direction="in"/>
66     </method>
67
68     <method name="SecondaryActivate">
69         <arg name="x" type="i" direction="in"/>
70         <arg name="y" type="i" direction="in"/>
71     </method>
72
73     <method name="Scroll">
74       <arg name="delta" type="i" direction="in"/>
75       <arg name="orientation" type="s" direction="in"/>
76     </method>
77
78     <!-- Signals: the client wants to change something in the status-->
79     <signal name="NewTitle">
80     </signal>
81
82     <signal name="NewIcon">
83     </signal>
84
85     <signal name="NewAttentionIcon">
86     </signal>
87
88     <signal name="NewOverlayIcon">
89     </signal>
90
91     <signal name="NewToolTip">
92     </signal>
93
94     <signal name="NewStatus">
95       <arg name="status" type="s"/>
96     </signal>
97
98   </interface>
99 </node>