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