Changeset View
Changeset View
Standalone View
Standalone View
plugins/clipboard/clipboardplugin.h
Show All 31 Lines | |||||
32 | class ClipboardPlugin | 32 | class ClipboardPlugin | ||
33 | : public KdeConnectPlugin | 33 | : public KdeConnectPlugin | ||
34 | { | 34 | { | ||
35 | Q_OBJECT | 35 | Q_OBJECT | ||
36 | 36 | | |||
37 | public: | 37 | public: | ||
38 | explicit ClipboardPlugin(QObject *parent, const QVariantList &args); | 38 | explicit ClipboardPlugin(QObject *parent, const QVariantList &args); | ||
39 | 39 | | |||
40 | public Q_SLOTS: | | |||
41 | bool receivePackage(const NetworkPackage& np) override; | 40 | bool receivePackage(const NetworkPackage& np) override; | ||
42 | void connected() override { } | 41 | void connected() override { } | ||
43 | 42 | | |||
44 | private Q_SLOTS: | 43 | private Q_SLOTS: | ||
45 | void propagateClipboard(const QString& content); | 44 | void propagateClipboard(const QString& content); | ||
46 | 45 | | |||
47 | }; | 46 | }; | ||
48 | 47 | | |||
49 | #endif | 48 | #endif |