bluedevil: add new files from bluedevil

This commit is contained in:
Ivailo Monev 2014-12-26 21:11:25 +00:00
parent 7e830bdd87
commit 01cb5bbe6e
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,23 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="org.kde.BlueDevil">
<method name="isOnline">
<arg type="b" direction="out"/>
</method>
<method name="allDevices">
<arg type="aa{ss}" direction="out"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QMapDeviceInfo"/>
</method>
<method name="device">
<arg name="address" type="s" direction="in"/>
<arg type="a{ss}" direction="out"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="DeviceInfo"/>
</method>
<method name="startDiscovering">
<arg name="timeout" type="u" direction="in"/>
</method>
<method name="stopDiscovering">
</method>
</interface>
</node>

View file

@ -0,0 +1,11 @@
#ifndef FILEITEMACTIONPLUGINTYPES
#define FILEITEMACTIONPLUGINTYPES
#include <QMetaType>
typedef QMap<QString, QString> DeviceInfo;
typedef QMap<QString, DeviceInfo> QMapDeviceInfo;
Q_DECLARE_METATYPE(DeviceInfo)
Q_DECLARE_METATYPE(QMapDeviceInfo)
#endif