Messagelib

plugineditorconverttext.h
1 /*
2  SPDX-FileCopyrightText: 2018-2022 Laurent Montel <[email protected]>
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>
11 namespace MessageComposer
12 {
13 class PluginEditorConvertTextInterface;
14 /**
15  * @brief The PluginEditorConvertText class
16  * @author Laurent Montel <[email protected]>
17  */
18 class MESSAGECOMPOSER_EXPORT PluginEditorConvertText : public PluginEditorBase
19 {
20  Q_OBJECT
21 public:
22  explicit PluginEditorConvertText(QObject *parent = nullptr);
23  ~PluginEditorConvertText() override;
24 
25  virtual PluginEditorConvertTextInterface *createInterface(QObject *parent) = 0;
26 
27  Q_REQUIRED_RESULT virtual bool canWorkOnHtml() const;
28 
29  Q_REQUIRED_RESULT virtual bool hasStatusBarSupport() const;
30 
31  Q_REQUIRED_RESULT virtual bool hasPopupMenuSupport() const;
32 
33  Q_REQUIRED_RESULT virtual bool hasToolBarSupport() const;
34 };
35 }
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
The PluginEditorConvertText class.
The PluginEditorBase class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue May 24 2022 04:08:04 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.