File indexing completed on 2024-12-08 04:33:08
0001 /* 0002 SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "libruqola_private_export.h" 0010 #include <QObject> 0011 class RocketChatAccount; 0012 class LIBRUQOLACORE_TESTS_EXPORT ConverterTextAbstractJob : public QObject 0013 { 0014 Q_OBJECT 0015 public: 0016 explicit ConverterTextAbstractJob(RocketChatAccount *account, QObject *parent = nullptr); 0017 ~ConverterTextAbstractJob() override; 0018 0019 [[nodiscard]] QString messageId() const; 0020 void setMessageId(const QString &messageId); 0021 0022 virtual void start() = 0; 0023 0024 [[nodiscard]] RocketChatAccount *rocketChatAcount() const; 0025 0026 protected: 0027 QString mMessageId; 0028 RocketChatAccount *const mRocketChatAcount; 0029 };