Dbus interface work in progress
This commit is contained in:
parent
6e53c5b9c7
commit
55eacba63b
2 changed files with 15 additions and 0 deletions
8
daemon/device.cpp
Normal file
8
daemon/device.cpp
Normal file
|
@ -0,0 +1,8 @@
|
|||
#include "device.h"
|
||||
|
||||
Device::Device(const QString& id, const QString& name) {
|
||||
mDeviceId = id;
|
||||
mDeviceName = name;
|
||||
QDBusConnection::sessionBus().registerObject("module/androidshine/Devices/"+id, this);
|
||||
|
||||
}
|
7
kcm.sh
Executable file
7
kcm.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
#Source bashrc to define environment variables
|
||||
#http://techbase.kde.org/Getting_Started/Build/Environment
|
||||
. ~/.bashrc
|
||||
|
||||
kcmshell4 kdeconnect-kcm &
|
Loading…
Reference in a new issue