Messagelib

plugineditor.cpp
1 /*
2  SPDX-FileCopyrightText: 2015-2023 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #include "plugineditor.h"
8 
9 using namespace MessageComposer;
10 
11 class MessageComposer::PluginEditorPrivate
12 {
13 public:
14  PluginEditorPrivate() = default;
15 
16  int order = 0;
17 };
18 
19 PluginEditor::PluginEditor(QObject *parent)
20  : PimCommon::AbstractGenericPlugin(parent)
21  , d(new PluginEditorPrivate)
22 {
23 }
24 
25 PluginEditor::~PluginEditor() = default;
26 
27 void PluginEditor::setOrder(int order)
28 {
29  d->order = order;
30 }
31 
32 int PluginEditor::order() const
33 {
34  return d->order;
35 }
36 
37 bool PluginEditor::canProcessKeyEvent() const
38 {
39  return false;
40 }
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-2023 The KDE developers.
Generated on Wed Mar 22 2023 04:07:15 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.