Messagelib

plugineditorconverterbeforeconvertingdata.h
1 /*
2  SPDX-FileCopyrightText: 2018-2021 Laurent Montel <[email protected]>
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>
11 namespace MessageComposer
12 {
13 /**
14  * @brief The PluginEditorConverterBeforeConvertingData class
15  * @author Laurent Montel <[email protected]>
16  */
17 class MESSAGECOMPOSER_EXPORT PluginEditorConverterBeforeConvertingData
18 {
19 public:
21 
22  Q_REQUIRED_RESULT bool newMessage() const;
23  void setNewMessage(bool newMessage);
24 
25  Q_REQUIRED_RESULT KMime::Message::Ptr message() const;
26  void setMessage(const KMime::Message::Ptr &message);
27 
28 private:
29  KMime::Message::Ptr mMessage;
30  bool mNewMessage = true;
31 };
32 }
33 
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 Tue Nov 30 2021 23:05:47 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.