File indexing completed on 2024-06-23 05:18:35
0001 /* 0002 SPDX-FileCopyrightText: 2018-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "messagecomposer_export.h" 0010 #include <MessageComposer/PluginEditorBase> 0011 namespace MessageComposer 0012 { 0013 class PluginEditorConvertTextInterface; 0014 /** 0015 * @brief The PluginEditorConvertText class 0016 * @author Laurent Montel <montel@kde.org> 0017 */ 0018 class MESSAGECOMPOSER_EXPORT PluginEditorConvertText : public PluginEditorBase 0019 { 0020 Q_OBJECT 0021 public: 0022 explicit PluginEditorConvertText(QObject *parent = nullptr); 0023 ~PluginEditorConvertText() override; 0024 0025 virtual PluginEditorConvertTextInterface *createInterface(QObject *parent) = 0; 0026 0027 [[nodiscard]] virtual bool canWorkOnHtml() const; 0028 0029 [[nodiscard]] virtual bool hasStatusBarSupport() const; 0030 0031 [[nodiscard]] virtual bool hasPopupMenuSupport() const; 0032 0033 [[nodiscard]] virtual bool hasToolBarSupport() const; 0034 }; 0035 }