/** * SPDX-FileCopyrightText: 2015 Albert Vaca * * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ #ifndef RUNCOMMANDPLUGIN_H #define RUNCOMMANDPLUGIN_H #include #include #include #include #include #include #include class Q_DECL_EXPORT RunCommandPlugin : public KdeConnectPlugin { Q_OBJECT public: explicit RunCommandPlugin(QObject* parent, const QVariantList& args); ~RunCommandPlugin() override; bool receivePacket(const NetworkPacket& np) override; void connected() override; private Q_SLOTS: void configChanged(); private: void sendConfig(); }; #endif