File indexing completed on 2025-01-05 04:49:28
0001 /* 0002 SPDX-FileCopyrightText: 2017-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 InsertShorturlPluginEditor : public MessageComposer::PluginEditor 0015 { 0016 Q_OBJECT 0017 public: 0018 explicit InsertShorturlPluginEditor(QObject *parent = nullptr, const QList<QVariant> & = QList<QVariant>()); 0019 ~InsertShorturlPluginEditor() override; 0020 0021 [[nodiscard]] MessageComposer::PluginEditorInterface *createInterface(QObject *parent = nullptr) override; 0022 0023 [[nodiscard]] bool hasPopupMenuSupport() const override; 0024 [[nodiscard]] bool hasConfigureDialog() const override; 0025 void showConfigureDialog(QWidget *parent = nullptr) override; 0026 Q_SIGNALS: 0027 void configChanged(); 0028 };