Add old-style com.trolltech annotations back into dbus xml files
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 14 Apr 2013 10:28:03 +0000 (12:28 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 14 Apr 2013 10:43:32 +0000 (12:43 +0200)
Looks like the move from com.trolltech to org.qtproject happened only
recently, and with older Qt point releases Quassel will fail to build
that way.

By specifying both annotations, we hopefully silence the warnings in
current Qt while keeping Quassel buildable against older Qt.

interfaces/org.freedesktop.Notifications.xml
interfaces/org.kde.StatusNotifierItem.xml
interfaces/org.kde.StatusNotifierWatcher.xml

index f368515..97f3a9c 100644 (file)
@@ -27,6 +27,7 @@
       <arg name="actions" type="as" direction="in"/>
       <arg name="hints" type="a{sv}" direction="in"/>
       <annotation name="org.qtproject.QtDBus.QtTypeName.In6" value="QVariantMap"/>
+      <annotation name="com.trolltech.QtDBus.QtTypeName.In6" value="QVariantMap"/>
       <arg name="expire_timeout" type="i" direction="in"/>
     </method>
     <method name="CloseNotification">
index fba9b6f..d798bbf 100644 (file)
     <!--struct containing width, height and image data-->
     <property name="IconPixmap" type="(iiay)" access="read">
       <annotation name="org.qtproject.QtDBus.QtTypeName" value="DBusImageVector"/>
+      <annotation name="com.trolltech.QtDBus.QtTypeName" value="DBusImageVector"/>
     </property>
 
     <property name="OverlayIconName" type="s" access="read"/>
 
     <property name="OverlayIconPixmap" type="(iiay)" access="read">
       <annotation name="org.qtproject.QtDBus.QtTypeName" value="DBusImageVector"/>
+      <annotation name="com.trolltech.QtDBus.QtTypeName" value="DBusImageVector"/>
     </property>
 
 
@@ -31,6 +33,7 @@
     <!--same definition as image-->
     <property name="AttentionIconPixmap" type="(iiay)" access="read">
       <annotation name="org.qtproject.QtDBus.QtTypeName" value="DBusImageVector"/>
+      <annotation name="com.trolltech.QtDBus.QtTypeName" value="DBusImageVector"/>
     </property>
 
     <property name="AttentionMovieName" type="s" access="read"/>
@@ -42,6 +45,7 @@
     <!--(iiay) is an image-->
     <property name="ToolTip" type="(s(iiay)ss)" access="read">
       <annotation name="org.qtproject.QtDBus.QtTypeName" value="DBusToolTipStruct"/>
+      <annotation name="com.trolltech.QtDBus.QtTypeName" value="DBusToolTipStruct"/>
     </property>
 
 
index 2eb1a7a..7d75421 100644 (file)
@@ -16,6 +16,7 @@
 
     <property name="RegisteredStatusNotifierItems" type="as" access="read">
        <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QStringList"/>
+       <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="QStringList"/>
     </property>
 
     <property name="IsStatusNotifierHostRegistered" type="b" access="read"/>