Commit f6dad3c0 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Update D-Bus xml files to use "Out*" for signal type Qt annotations

Since Qt 5.6.3/5.7.1 qdbusxml2cpp favours as name for signals argument
annotations the name "org.qtproject.QtDBus.QtTypeName.Out*", matching
the "out" direction nature of the arguments.
".In*" is still supported for backward compat, but with a warning.
parent 654a8659
......@@ -17,7 +17,7 @@
<signal name="rankingChanged">
<arg name="topActivities" type="as" direction="out" />
<arg name="activities" type="a(sd)" direction="out" />
<annotation name="org.qtproject.QtDBus.QtTypeName.In1" value="ActivityDataList" />
<annotation name="org.qtproject.QtDBus.QtTypeName.Out1" value="ActivityDataList" />
</signal>
</interface>
......
......@@ -20,7 +20,7 @@
<arg type="s" name="interface_name"/>
<arg type="a{sv}" name="changed_properties"/>
<arg type="as" name="invalidated_properties"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.In1" value="QVariantMap"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.Out1" value="QVariantMap"/>
</signal>
</interface>
</node>
......
......@@ -21,7 +21,7 @@
<signal name="jobUrlsChanged">
<arg type="as" direction="out"/>
<annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="QList&lt;QString&gt;"/>
<annotation name="com.qtproject.QtDBus.QtTypeName.Out0" value="QList&lt;QString&gt;"/>
</signal>
</interface>
......
......@@ -2,8 +2,8 @@
<property name="Version" type="u" access="read"/>
<property name="Status" type="s" access="read"/>
<signal name="ItemsPropertiesUpdated">
<annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="DBusMenuItemList"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.In1" value="DBusMenuItemKeysList"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="DBusMenuItemList"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.Out1" value="DBusMenuItemKeysList"/>
<arg type="a(ia{sv})" direction="out"/>
<arg type="a(ias)" direction="out"/>
</signal>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment