Messagelib

plugineditorconverterbeforeconvertingdata.cpp
1/*
2 SPDX-FileCopyrightText: 2018-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "plugineditorconverterbeforeconvertingdata.h"
8using namespace MessageComposer;
9PluginEditorConverterBeforeConvertingData::PluginEditorConverterBeforeConvertingData() = default;
10
11bool PluginEditorConverterBeforeConvertingData::newMessage() const
12{
13 return mNewMessage;
14}
15
16void PluginEditorConverterBeforeConvertingData::setNewMessage(bool newMessage)
17{
18 mNewMessage = newMessage;
19}
20
21KMime::Message::Ptr PluginEditorConverterBeforeConvertingData::message() const
22{
23 return mMessage;
24}
25
26void PluginEditorConverterBeforeConvertingData::setMessage(const KMime::Message::Ptr &message)
27{
28 mMessage = message;
29}
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.