Libksieve

vacationhelperjob.h
1/*
2 SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-only
5*/
6
7#pragma once
8
9#include <QUrl>
10
11#include <QObject>
12namespace KManageSieve
13{
14class SieveJob;
15}
16
17namespace KSieveCore
18{
19class VacationHelperJob : public QObject
20{
22public:
23 explicit VacationHelperJob(const QUrl &url, QObject *parent = nullptr);
24 ~VacationHelperJob() override;
25
26 void searchActiveJob();
27
29 void canNotGetScriptList();
30 void resourceHasNotSieveSupport();
31 void scriptListResult(const QStringList &scriptList, const QString &activeScript, bool hasIncludeSupport);
32
33private:
34 void slotGetScriptList(KManageSieve::SieveJob *job, bool success, const QStringList &scriptList, const QString &activeScript);
35 void killJob();
36 const QUrl mUrl;
37 KManageSieve::SieveJob *mSieveJob = nullptr;
38};
39}
A job to manage sieve scripts.
Definition sievejob.h:31
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:09:39 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.