File indexing completed on 2025-01-05 04:49:29
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 <MessageComposer/PluginEditor> 0010 0011 #include <MessageComposer/PluginEditorInterface> 0012 #include <QVariant> 0013 0014 class QuickTextPluginEditor : public MessageComposer::PluginEditor 0015 { 0016 Q_OBJECT 0017 public: 0018 explicit QuickTextPluginEditor(QObject *parent = nullptr, const QList<QVariant> & = QList<QVariant>()); 0019 ~QuickTextPluginEditor() override; 0020 0021 [[nodiscard]] MessageComposer::PluginEditorInterface *createInterface(QObject *parent = nullptr) override; 0022 [[nodiscard]] bool hasStatusBarSupport() const override; 0023 0024 [[nodiscard]] bool hasConfigureDialog() const override; 0025 void showConfigureDialog(QWidget *parent) override; 0026 0027 [[nodiscard]] bool canProcessKeyEvent() const override; 0028 };