Add 'twitch.tv/membership' capability for Twitch.tv
[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="org.qtproject.QtDBus.QtTypeName" value="DBusImageVector"/>
19       <annotation name="com.trolltech.QtDBus.QtTypeName" value="DBusImageVector"/>
20     </property>
21
22     <property name="OverlayIconName" type="s" access="read"/>
23
24     <property name="OverlayIconPixmap" type="(iiay)" access="read">
25       <annotation name="org.qtproject.QtDBus.QtTypeName" value="DBusImageVector"/>
26       <annotation name="com.trolltech.QtDBus.QtTypeName" value="DBusImageVector"/>
27     </property>
28
29
30     <!-- Requesting attention icon -->
31     <property name="AttentionIconName" type="s" access="read"/>
32
33     <!--same definition as image-->
34     <property name="AttentionIconPixmap" type="(iiay)" access="read">
35       <annotation name="org.qtproject.QtDBus.QtTypeName" value="DBusImageVector"/>
36       <annotation name="com.trolltech.QtDBus.QtTypeName" value="DBusImageVector"/>
37     </property>
38
39     <property name="AttentionMovieName" type="s" access="read"/>
40
41
42
43     <!-- tooltip data -->
44
45     <!--(iiay) is an image-->
46     <property name="ToolTip" type="(s(iiay)ss)" access="read">
47       <annotation name="org.qtproject.QtDBus.QtTypeName" value="DBusToolTipStruct"/>
48       <annotation name="com.trolltech.QtDBus.QtTypeName" value="DBusToolTipStruct"/>
49     </property>
50
51
52     <!-- interaction: the systemtray wants the application to do something -->
53     <method name="ContextMenu">
54         <!-- we're passing the coordinates of the icon, so the app knows where to put the popup window -->
55         <arg name="x" type="i" direction="in"/>
56         <arg name="y" type="i" direction="in"/>
57     </method>
58
59     <method name="Activate">
60         <arg name="x" type="i" direction="in"/>
61         <arg name="y" type="i" direction="in"/>
62     </method>
63
64     <method name="SecondaryActivate">
65         <arg name="x" type="i" direction="in"/>
66         <arg name="y" type="i" direction="in"/>
67     </method>
68
69     <method name="Scroll">
70       <arg name="delta" type="i" direction="in"/>
71       <arg name="orientation" type="s" direction="in"/>
72     </method>
73
74     <!-- Signals: the client wants to change something in the status-->
75     <signal name="NewTitle">
76     </signal>
77
78     <signal name="NewIcon">
79     </signal>
80
81     <signal name="NewAttentionIcon">
82     </signal>
83
84     <signal name="NewOverlayIcon">
85     </signal>
86
87     <signal name="NewToolTip">
88     </signal>
89
90     <signal name="NewStatus">
91       <arg name="status" type="s"/>
92     </signal>
93
94   </interface>
95 </node>