File indexing completed on 2024-06-23 05:18:32
0001 /* 0002 SPDX-FileCopyrightText: 2023 Daniel Vrátil <dvratil@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "contentjobbase.h" 0010 #include "messagecomposer_export.h" 0011 0012 namespace MessageComposer 0013 { 0014 class ItipJobPrivate; 0015 class ItipPart; 0016 /** 0017 * @brief The ItipJob class 0018 */ 0019 class MESSAGECOMPOSER_EXPORT ItipJob : public ContentJobBase 0020 { 0021 Q_OBJECT 0022 0023 public: 0024 explicit ItipJob(ItipPart *itipPart = nullptr, QObject *parent = nullptr); 0025 ~ItipJob() override; 0026 0027 [[nodiscard]] ItipPart *itipPart() const; 0028 void setItipPart(ItipPart *part); 0029 0030 protected Q_SLOTS: 0031 void doStart() override; 0032 void process() override; 0033 0034 private: 0035 Q_DECLARE_PRIVATE(ItipJob) 0036 }; 0037 }