Messagelib

plugineditorconverterbeforeconvertingdata.h
1/*
2 SPDX-FileCopyrightText: 2018-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "messagecomposer_export.h"
10#include <KMime/Message>
11namespace MessageComposer
12{
13/**
14 * @brief The PluginEditorConverterBeforeConvertingData class
15 * @author Laurent Montel <montel@kde.org>
16 */
18{
19public:
21
22 [[nodiscard]] bool newMessage() const;
23 void setNewMessage(bool newMessage);
24
25 [[nodiscard]] KMime::Message::Ptr message() const;
26 void setMessage(const KMime::Message::Ptr &message);
27
28private:
29 KMime::Message::Ptr mMessage;
30 bool mNewMessage = true;
31};
32}
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 Sat Dec 21 2024 16:59:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.