Libksieve

vacationmanager.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 "ksieveui_export.h"
10#include <QObject>
11#include <memory>
12class QWidget;
13namespace KSieveCore
14{
15class SieveImapPasswordProvider;
16}
17namespace KSieveUi
18{
19class VacationManagerPrivate;
20/**
21 * @brief The VacationManager class
22 * @author Laurent Montel <montel@kde.org>
23 */
24class KSIEVEUI_EXPORT VacationManager : public QObject
25{
26 Q_OBJECT
27public:
28 explicit VacationManager(KSieveCore::SieveImapPasswordProvider *passwordProvider, QWidget *parent);
29 ~VacationManager() override;
30
31 void checkVacation();
32
33public Q_SLOTS:
34 void slotEditVacation(const QString &serverName);
35
36Q_SIGNALS:
37 void updateVacationScriptStatus(bool active, const QString &serverName);
38
39private:
40 KSIEVEUI_NO_EXPORT void slotDialogCanceled();
41 KSIEVEUI_NO_EXPORT void slotDialogOk();
42 KSIEVEUI_NO_EXPORT void slotUpdateVacationScriptStatus(bool active, const QString &serverName);
43
44private:
45 Q_DISABLE_COPY(VacationManager)
46 std::unique_ptr<VacationManagerPrivate> const d;
47};
48}
The SieveImapPasswordProvider class.
The VacationManager class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.