Libksieve

vacationmanager.h
1/*
2 SPDX-FileCopyrightText: 2013-2025 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{
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{
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
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.
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:12:05 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.