Messagelib

plugineditorconverterbeforeconvertingdata.cpp
1 /*
2  SPDX-FileCopyrightText: 2018-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #include "plugineditorconverterbeforeconvertingdata.h"
8 using namespace MessageComposer;
9 PluginEditorConverterBeforeConvertingData::PluginEditorConverterBeforeConvertingData() = default;
10 
11 bool PluginEditorConverterBeforeConvertingData::newMessage() const
12 {
13  return mNewMessage;
14 }
15 
16 void PluginEditorConverterBeforeConvertingData::setNewMessage(bool newMessage)
17 {
18  mNewMessage = newMessage;
19 }
20 
21 KMime::Message::Ptr PluginEditorConverterBeforeConvertingData::message() const
22 {
23  return mMessage;
24 }
25 
26 void 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-2021 The KDE developers.
Generated on Thu Dec 2 2021 23:06:09 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.