kdeconnect-kde/daemon/device.cpp

9 lines
214 B
C++
Raw Normal View History

2013-06-25 17:06:51 +01:00
#include "device.h"
Device::Device(const QString& id, const QString& name) {
mDeviceId = id;
mDeviceName = name;
QDBusConnection::sessionBus().registerObject("module/kdeconnect/Devices/"+id, this);
2013-06-25 17:06:51 +01:00
}