Messagelib

plugineditorconverterinitialdata.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 "plugineditorconverterinitialdata.h"
8 
9 using namespace MessageComposer;
10 
11 PluginEditorConverterInitialData::PluginEditorConverterInitialData() = default;
12 
13 bool PluginEditorConverterInitialData::newMessage() const
14 {
15  return mNewMessage;
16 }
17 
18 void PluginEditorConverterInitialData::setNewMessage(bool newMessage)
19 {
20  mNewMessage = newMessage;
21 }
22 
23 KMime::Message::Ptr PluginEditorConverterInitialData::mewMsg() const
24 {
25  return mMewMsg;
26 }
27 
28 void PluginEditorConverterInitialData::setMewMsg(const KMime::Message::Ptr &mewMsg)
29 {
30  mMewMsg = mewMsg;
31 }
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 Sun Dec 5 2021 23:04:54 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.