Messagelib

plugineditorconverterinitialdata.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 "plugineditorconverterinitialdata.h"
8
9using namespace MessageComposer;
10
11PluginEditorConverterInitialData::PluginEditorConverterInitialData() = default;
12
13bool PluginEditorConverterInitialData::newMessage() const
14{
15 return mNewMessage;
16}
17
18void PluginEditorConverterInitialData::setNewMessage(bool newMessage)
19{
20 mNewMessage = newMessage;
21}
22
23KMime::Message::Ptr PluginEditorConverterInitialData::mewMsg() const
24{
25 return mMewMsg;
26}
27
28void 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-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:12:43 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.