Messagelib

plugineditorconverttext.h
1/*
2 SPDX-FileCopyrightText: 2018-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "messagecomposer_export.h"
10#include <MessageComposer/PluginEditorBase>
11namespace MessageComposer
12{
13class PluginEditorConvertTextInterface;
14/**
15 * @brief The PluginEditorConvertText class
16 * @author Laurent Montel <montel@kde.org>
17 */
18class MESSAGECOMPOSER_EXPORT PluginEditorConvertText : public PluginEditorBase
19{
20 Q_OBJECT
21public:
22 explicit PluginEditorConvertText(QObject *parent = nullptr);
23 ~PluginEditorConvertText() override;
24
25 [[nodiscard]] virtual PluginEditorConvertTextInterface *createInterface(QObject *parent) = 0;
26
27 [[nodiscard]] virtual bool canWorkOnHtml() const;
28
29 [[nodiscard]] virtual bool hasStatusBarSupport() const;
30
31 [[nodiscard]] virtual bool hasPopupMenuSupport() const;
32
33 [[nodiscard]] virtual bool hasToolBarSupport() const;
34};
35}
The PluginEditorBase class.
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 12 2024 11:49:55 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.