/* SPDX-FileCopyrightText: 2009 Chani Armitage SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef CONTEXTTEST_HEADER #define CONTEXTTEST_HEADER #include "ui_config.h" #include #include class ContextTest : public Plasma::ContainmentActions { Q_OBJECT public: ContextTest(QObject *parent, const QVariantList &args); void init(const KConfigGroup &config); QList contextualActions() override; void performNextAction() override; void performPreviousAction() override; QWidget *createConfigurationInterface(QWidget *parent) override; void configurationAccepted() override; void restore(const KConfigGroup &config) override; void save(KConfigGroup &config) override; private: Ui::Config m_ui; QString m_text; }; #endif