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 Q_DISABLE_COPY(VacationHelperJob)
35 void slotGetScriptList(KManageSieve::SieveJob *job, bool success, const QStringList &scriptList, const QString &activeScript);
36 void killJob();
37 const QUrl mUrl;
38 KManageSieve::SieveJob *mSieveJob = nullptr;
39};
40}
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 Tue Mar 26 2024 11:17:19 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.