Mailcommon

collectionexpiryjob.h
1/*
2 SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <Akonadi/Collection>
10#include <QObject>
11class KJob;
12namespace MailCommon
13{
14class CollectionExpiryJob : public QObject
15{
17public:
18 explicit CollectionExpiryJob(QObject *parent = nullptr);
19 ~CollectionExpiryJob() override;
20
21 void start();
22
23 void setCollection(const Akonadi::Collection &collection);
24
25 void setExpireNow(bool expireNow);
26
27private:
28 void slotCollectionModified(KJob *job);
29 bool mExpireNow = false;
30 Akonadi::Collection mCollection;
31};
32}
The filter dialog.
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:18:39 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.