Messagelib

plugineditor.h
1 /*
2  SPDX-FileCopyrightText: 2015-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 #include "messagecomposer_export.h"
9 #include <PimCommon/AbstractGenericPlugin>
10 #include <QObject>
11 #include <memory>
12 namespace MessageComposer
13 {
14 class PluginEditorPrivate;
15 /**
16  * @brief The PluginEditor class
17  * @author Laurent Montel <[email protected]>
18  */
19 class MESSAGECOMPOSER_EXPORT PluginEditor : public PimCommon::AbstractGenericPlugin
20 {
21  Q_OBJECT
22 public:
23  explicit PluginEditor(QObject *parent = nullptr);
24  ~PluginEditor() override;
25  void setOrder(int order);
26  Q_REQUIRED_RESULT int order() const;
27 
28  virtual Q_REQUIRED_RESULT bool canProcessKeyEvent() const;
29 
30 private:
31  std::unique_ptr<PluginEditorPrivate> const d;
32 };
33 }
The PluginEditor class.
Definition: plugineditor.h:19
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-2021 The KDE developers.
Generated on Sun Dec 5 2021 23:04:54 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.