File indexing completed on 2024-06-23 05:18:34

0001 /*
0002    SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "plugineditor.h"
0008 
0009 using namespace MessageComposer;
0010 
0011 class MessageComposer::PluginEditorPrivate
0012 {
0013 public:
0014     PluginEditorPrivate() = default;
0015 
0016     int order = 0;
0017 };
0018 
0019 PluginEditor::PluginEditor(QObject *parent)
0020     : PimCommon::AbstractGenericPlugin(parent)
0021     , d(new PluginEditorPrivate)
0022 {
0023 }
0024 
0025 PluginEditor::~PluginEditor() = default;
0026 
0027 void PluginEditor::setOrder(int order)
0028 {
0029     d->order = order;
0030 }
0031 
0032 int PluginEditor::order() const
0033 {
0034     return d->order;
0035 }
0036 
0037 bool PluginEditor::canProcessKeyEvent() const
0038 {
0039     return false;
0040 }
0041 
0042 #include "moc_plugineditor.cpp"