Messagelib

plugineditor.h
1/*
2 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
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>
12namespace MessageComposer
13{
14class PluginEditorPrivate;
15/**
16 * @brief The PluginEditor class
17 * @author Laurent Montel <montel@kde.org>
18 */
19class MESSAGECOMPOSER_EXPORT PluginEditor : public PimCommon::AbstractGenericPlugin
20{
21 Q_OBJECT
22public:
23 explicit PluginEditor(QObject *parent = nullptr);
24 ~PluginEditor() override;
25 void setOrder(int order);
26 [[nodiscard]] int order() const;
27
28 [[nodiscard]] virtual bool canProcessKeyEvent() const;
29
30private:
31 std::unique_ptr<PluginEditorPrivate> const d;
32};
33}
The PluginEditor class.
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 Mon Nov 18 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.