File indexing completed on 2025-05-04 04:54:54
0001 /* 0002 SPDX-FileCopyrightText: 2014-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QObject> 0010 0011 #include <Akonadi/Item> 0012 0013 class FollowUpReminderJob : public QObject 0014 { 0015 Q_OBJECT 0016 public: 0017 explicit FollowUpReminderJob(QObject *parent = nullptr); 0018 ~FollowUpReminderJob() override; 0019 0020 void setItem(const Akonadi::Item &item); 0021 0022 void start(); 0023 0024 Q_SIGNALS: 0025 void finished(const QString &messageId, Akonadi::Item::Id id); 0026 0027 private: 0028 void slotItemFetchJobDone(KJob *job); 0029 Akonadi::Item mItem; 0030 };