Messagelib

plugineditorconverterinitialdata.h
1/*
2 SPDX-FileCopyrightText: 2018-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "messagecomposer_export.h"
10#include <KMime/Message>
11namespace MessageComposer
12{
13/**
14 * @brief The PluginEditorConverterInitialData class
15 * @author Laurent Montel <montel@kde.org>
16 */
17class MESSAGECOMPOSER_EXPORT PluginEditorConverterInitialData
18{
19public:
21
22 [[nodiscard]] bool newMessage() const;
23 void setNewMessage(bool newMessage);
24
25 [[nodiscard]] KMime::Message::Ptr mewMsg() const;
26 void setMewMsg(const KMime::Message::Ptr &mewMsg);
27
28private:
29 KMime::Message::Ptr mMewMsg;
30 bool mNewMessage = true;
31};
32}
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 4 2024 16:33:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.