Changeset View
Changeset View
Standalone View
Standalone View
plugins/notifications/notificationsdbusinterface.cpp
Show All 24 Lines | |||||
25 | #include <QDBusConnection> | 25 | #include <QDBusConnection> | ||
26 | 26 | | |||
27 | #include <core/device.h> | 27 | #include <core/device.h> | ||
28 | #include <core/kdeconnectplugin.h> | 28 | #include <core/kdeconnectplugin.h> | ||
29 | 29 | | |||
30 | #include "notificationsplugin.h" | 30 | #include "notificationsplugin.h" | ||
31 | #include "sendreplydialog.h" | 31 | #include "sendreplydialog.h" | ||
32 | 32 | | |||
33 | //In older Qt released, qAsConst isnt available | ||||
34 | #include "qtcompat_p.h" | ||||
albertvaka: Inside qtcompat this is already checked, don't do it again. | |||||
35 | | ||||
33 | NotificationsDbusInterface::NotificationsDbusInterface(KdeConnectPlugin* plugin) | 36 | NotificationsDbusInterface::NotificationsDbusInterface(KdeConnectPlugin* plugin) | ||
34 | : QDBusAbstractAdaptor(const_cast<Device*>(plugin->device())) | 37 | : QDBusAbstractAdaptor(const_cast<Device*>(plugin->device())) | ||
35 | , m_device(plugin->device()) | 38 | , m_device(plugin->device()) | ||
36 | , m_plugin(plugin) | 39 | , m_plugin(plugin) | ||
37 | , m_lastId(0) | 40 | , m_lastId(0) | ||
38 | { | 41 | { | ||
39 | 42 | | |||
40 | } | 43 | } | ||
▲ Show 20 Lines • Show All 149 Lines • Show Last 20 Lines |
Inside qtcompat this is already checked, don't do it again.