Messagelib

plugineditorconverterbeforeconvertingdata.cpp
1 /*
2  SPDX-FileCopyrightText: 2018-2023 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...
QString message
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Dec 5 2023 04:03:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.