Changeset View
Changeset View
Standalone View
Standalone View
plugins/runcommand/runcommandplugin.h
Show All 33 Lines | 33 | class Q_DECL_EXPORT RunCommandPlugin | |||
---|---|---|---|---|---|
34 | : public KdeConnectPlugin | 34 | : public KdeConnectPlugin | ||
35 | { | 35 | { | ||
36 | Q_OBJECT | 36 | Q_OBJECT | ||
37 | 37 | | |||
38 | public: | 38 | public: | ||
39 | explicit RunCommandPlugin(QObject *parent, const QVariantList &args); | 39 | explicit RunCommandPlugin(QObject *parent, const QVariantList &args); | ||
40 | ~RunCommandPlugin() override; | 40 | ~RunCommandPlugin() override; | ||
41 | 41 | | |||
42 | | ||||
43 | public Q_SLOTS: | | |||
44 | bool receivePackage(const NetworkPackage& np) override; | 42 | bool receivePackage(const NetworkPackage& np) override; | ||
45 | void connected() override; | 43 | void connected() override; | ||
46 | 44 | | |||
47 | private Q_SLOTS: | 45 | private Q_SLOTS: | ||
48 | void configChanged(); | 46 | void configChanged(); | ||
49 | 47 | | |||
50 | private: | 48 | private: | ||
51 | void sendConfig(); | 49 | void sendConfig(); | ||
52 | 50 | | |||
53 | }; | 51 | }; | ||
54 | 52 | | |||
55 | #endif | 53 | #endif |