File indexing completed on 2025-01-05 04:49:29
0001 /* 0002 SPDX-FileCopyrightText: 2018-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/PluginEditor> 0010 0011 #include <MessageComposer/PluginEditorInterface> 0012 #include <QVariant> 0013 0014 class ShareTextPluginEditor : public MessageComposer::PluginEditor 0015 { 0016 Q_OBJECT 0017 public: 0018 explicit ShareTextPluginEditor(QObject *parent = nullptr, const QList<QVariant> & = QList<QVariant>()); 0019 ~ShareTextPluginEditor() override; 0020 0021 [[nodiscard]] MessageComposer::PluginEditorInterface *createInterface(QObject *parent = nullptr) override; 0022 [[nodiscard]] bool hasPopupMenuSupport() const override; 0023 };