Messagelib

templateconvertcommandjob.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 "templateconvertcommandjob.h"
8
9using namespace TemplateParser;
10
11TemplateConvertCommandJob::TemplateConvertCommandJob(QObject *parent)
12 : QObject(parent)
13{
14}
15
16TemplateConvertCommandJob::~TemplateConvertCommandJob() = default;
17
18QString TemplateConvertCommandJob::convertText()
19{
20 return {};
21}
22
23QString TemplateConvertCommandJob::currentText() const
24{
25 return mCurrentText;
26}
27
28void TemplateConvertCommandJob::setCurrentText(const QString &currentText)
29{
30 mCurrentText = currentText;
31}
32
33KMime::Message::Ptr TemplateConvertCommandJob::originalMessage() const
34{
35 return mOriginalMessage;
36}
37
38void TemplateConvertCommandJob::setOriginalMessage(const KMime::Message::Ptr &originalMessage)
39{
40 mOriginalMessage = originalMessage;
41}
42
43#include "moc_templateconvertcommandjob.cpp"
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.