Changeset View
Changeset View
Standalone View
Standalone View
plugins/ping/pingplugin.h
Show All 34 Lines | |||||
35 | 35 | | |||
36 | public: | 36 | public: | ||
37 | explicit PingPlugin(QObject *parent, const QVariantList &args); | 37 | explicit PingPlugin(QObject *parent, const QVariantList &args); | ||
38 | ~PingPlugin() override; | 38 | ~PingPlugin() override; | ||
39 | 39 | | |||
40 | Q_SCRIPTABLE void sendPing(); | 40 | Q_SCRIPTABLE void sendPing(); | ||
41 | Q_SCRIPTABLE void sendPing(const QString& customMessage); | 41 | Q_SCRIPTABLE void sendPing(const QString& customMessage); | ||
42 | 42 | | |||
43 | public Q_SLOTS: | | |||
44 | bool receivePackage(const NetworkPackage& np) override; | 43 | bool receivePackage(const NetworkPackage& np) override; | ||
45 | void connected() override; | 44 | void connected() override {} | ||
46 | 45 | | |||
47 | private: | 46 | QString dbusPath() const override; | ||
48 | QString dbusPath() const; | | |||
49 | }; | 47 | }; | ||
50 | 48 | | |||
51 | #endif | 49 | #endif |