Messagelib

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

KDE's Doxygen guidelines are available online.