File indexing completed on 2025-01-19 04:46:43

0001 /*
0002    SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <PimCommon/CustomToolsPlugin>
0010 #include <QVariant>
0011 class GrammalectePlugin : public PimCommon::CustomToolsPlugin
0012 {
0013     Q_OBJECT
0014 public:
0015     explicit GrammalectePlugin(QObject *parent = nullptr, const QList<QVariant> & = QList<QVariant>());
0016     ~GrammalectePlugin() override;
0017 
0018     PimCommon::CustomToolsViewInterface *createView(KActionCollection *ac, PimCommon::CustomToolsWidgetNg *parent) override;
0019     [[nodiscard]] QString customToolName() const override;
0020     [[nodiscard]] bool hasConfigureDialog() const override;
0021     void showConfigureDialog(QWidget *parent) override;
0022 
0023 private:
0024     Q_DISABLE_COPY(GrammalectePlugin)
0025 };