File indexing completed on 2024-11-17 04:44:13

0001 /*
0002    SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <MessageComposer/PluginEditorInit>
0010 
0011 #include <MessageComposer/PluginEditorInterface>
0012 #include <QVariant>
0013 
0014 class ExternalComposerPluginEditor : public MessageComposer::PluginEditorInit
0015 {
0016     Q_OBJECT
0017 public:
0018     explicit ExternalComposerPluginEditor(QObject *parent = nullptr, const QList<QVariant> & = QList<QVariant>());
0019     ~ExternalComposerPluginEditor() override;
0020 
0021     [[nodiscard]] MessageComposer::PluginEditorInitInterface *createInterface(QObject *parent = nullptr) override;
0022 
0023     [[nodiscard]] bool hasConfigureDialog() const override;
0024     void showConfigureDialog(QWidget *parent) override;
0025 };