Changeset View
Changeset View
Standalone View
Standalone View
plugins/notifications/notificationsplugin.h
Show All 38 Lines | 38 | class NotificationsPlugin | |||
---|---|---|---|---|---|
39 | : public KdeConnectPlugin | 39 | : public KdeConnectPlugin | ||
40 | { | 40 | { | ||
41 | Q_OBJECT | 41 | Q_OBJECT | ||
42 | 42 | | |||
43 | public: | 43 | public: | ||
44 | explicit NotificationsPlugin(QObject *parent, const QVariantList &args); | 44 | explicit NotificationsPlugin(QObject *parent, const QVariantList &args); | ||
45 | ~NotificationsPlugin() override; | 45 | ~NotificationsPlugin() override; | ||
46 | 46 | | |||
47 | public Q_SLOTS: | | |||
48 | bool receivePackage(const NetworkPackage& np) override; | 47 | bool receivePackage(const NetworkPackage& np) override; | ||
49 | void connected() override; | 48 | void connected() override; | ||
50 | 49 | | |||
51 | protected: | 50 | protected: | ||
52 | NotificationsDbusInterface* notificationsDbusInterface; | 51 | NotificationsDbusInterface* notificationsDbusInterface; | ||
53 | NotificationsListener* notificationsListener; | 52 | NotificationsListener* notificationsListener; | ||
54 | 53 | | |||
55 | }; | 54 | }; | ||
56 | 55 | | |||
57 | #endif | 56 | #endif |