summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2016-11-01 21:39:18 -0700
committerThiago Macieira <thiago.macieira@intel.com>2016-11-02 17:49:00 +0000
commit219e7b84ac048ff585c36f47a1c783af9ae4e4bc (patch)
tree055abb561060a252807c80dbb986cd24e895de36
parent1c0b494ae0d780230e2ed410ef74353dc1a2ea77 (diff)
downloadqtlocation-219e7b84ac048ff585c36f47a1c783af9ae4e4bc.tar.gz
Fix the direction of arguments in signals
Signal arguments are "out", not "in". There was a bug in qdbusxml2cpp that required the wrong one (in), but it's been corrected. Adapt so qdbusxml2cpp doesn't print annoying warnings. Change-Id: Ic46ff326a6ba46bc877cfffd148321381b15ae19 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-rw-r--r--src/plugins/position/geoclue/org.freedesktop.Geoclue.Position.xml2
-rw-r--r--src/plugins/position/geoclue/org.freedesktop.Geoclue.Satellite.xml4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/position/geoclue/org.freedesktop.Geoclue.Position.xml b/src/plugins/position/geoclue/org.freedesktop.Geoclue.Position.xml
index ce5c80de..8f7f70d4 100644
--- a/src/plugins/position/geoclue/org.freedesktop.Geoclue.Position.xml
+++ b/src/plugins/position/geoclue/org.freedesktop.Geoclue.Position.xml
@@ -18,7 +18,7 @@
<arg name="longitude" type="d"/>
<arg name="altitude" type="d"/>
<arg name="accuracy" type="(idd)"/>
- <annotation name="org.qtproject.QtDBus.QtTypeName.In5" value="Accuracy"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out5" value="Accuracy"/>
</signal>
</interface>
</node>
diff --git a/src/plugins/position/geoclue/org.freedesktop.Geoclue.Satellite.xml b/src/plugins/position/geoclue/org.freedesktop.Geoclue.Satellite.xml
index 2ed112c9..b892e26f 100644
--- a/src/plugins/position/geoclue/org.freedesktop.Geoclue.Satellite.xml
+++ b/src/plugins/position/geoclue/org.freedesktop.Geoclue.Satellite.xml
@@ -26,8 +26,8 @@
<arg name="satelliteVisible" type="i" />
<arg name="usedPrn" type="ai" />
<arg name="satInfo" type="a(iiii)" />'
- <annotation name="org.qtproject.QtDBus.QtTypeName.In3" value="QList&lt;qint32&gt;"/>
- <annotation name="org.qtproject.QtDBus.QtTypeName.In4" value="QList&lt;QGeoSatelliteInfo&gt;"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out3" value="QList&lt;qint32&gt;"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out4" value="QList&lt;QGeoSatelliteInfo&gt;"/>
</signal>
</interface>
</node>