mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 02:42:52 +00:00
bluedevil: add new files from bluedevil
This commit is contained in:
parent
7e830bdd87
commit
01cb5bbe6e
2 changed files with 34 additions and 0 deletions
23
bluedevil/src/fileitemactionplugin/kded_bluedevil.xml
Normal file
23
bluedevil/src/fileitemactionplugin/kded_bluedevil.xml
Normal 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>
|
11
bluedevil/src/fileitemactionplugin/types.h
Normal file
11
bluedevil/src/fileitemactionplugin/types.h
Normal 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
|
Loading…
Add table
Reference in a new issue