Changeset View
Changeset View
Standalone View
Standalone View
interfaces/dbusinterfaces.cpp
Show First 20 Lines • Show All 170 Lines • ▼ Show 20 Line(s) | |||||
171 | RemoteKeyboardDbusInterface::RemoteKeyboardDbusInterface(const QString& deviceId, QObject* parent): | 171 | RemoteKeyboardDbusInterface::RemoteKeyboardDbusInterface(const QString& deviceId, QObject* parent): | ||
172 | OrgKdeKdeconnectDeviceRemotekeyboardInterface(DaemonDbusInterface::activatedService(), "/modules/kdeconnect/devices/" + deviceId + "/remotekeyboard", QDBusConnection::sessionBus(), parent) | 172 | OrgKdeKdeconnectDeviceRemotekeyboardInterface(DaemonDbusInterface::activatedService(), "/modules/kdeconnect/devices/" + deviceId + "/remotekeyboard", QDBusConnection::sessionBus(), parent) | ||
173 | { | 173 | { | ||
174 | connect(this, &OrgKdeKdeconnectDeviceRemotekeyboardInterface::remoteStateChanged, this, &RemoteKeyboardDbusInterface::remoteStateChanged); | 174 | connect(this, &OrgKdeKdeconnectDeviceRemotekeyboardInterface::remoteStateChanged, this, &RemoteKeyboardDbusInterface::remoteStateChanged); | ||
175 | } | 175 | } | ||
176 | 176 | | |||
177 | RemoteKeyboardDbusInterface::~RemoteKeyboardDbusInterface() = default; | 177 | RemoteKeyboardDbusInterface::~RemoteKeyboardDbusInterface() = default; | ||
178 | 178 | | |||
179 | TelephonyDbusInterface::TelephonyDbusInterface(const QString& deviceId, QObject* parent): | 179 | SmsDbusInterface::SmsDbusInterface(const QString& deviceId, QObject* parent): | ||
180 | OrgKdeKdeconnectDeviceTelephonyInterface(DaemonDbusInterface::activatedService(), "/modules/kdeconnect/devices/" + deviceId + "/telephony", QDBusConnection::sessionBus(), parent) | 180 | OrgKdeKdeconnectDeviceSmsInterface(DaemonDbusInterface::activatedService(), "/modules/kdeconnect/devices/" + deviceId + "/sms", QDBusConnection::sessionBus(), parent) | ||
181 | { | 181 | { | ||
182 | } | 182 | } | ||
183 | 183 | | |||
184 | TelephonyDbusInterface::~TelephonyDbusInterface() = default; | 184 | SmsDbusInterface::~SmsDbusInterface() = default; |