Libksieve

vacationmanager.h
1 /*
2  Copyright (C) 2013-2020 Laurent Montel <[email protected]>
3 
4  This program is free software; you can redistribute it and/or modify it
5  under the terms of the GNU General Public License, version 2, as
6  published by the Free Software Foundation.
7 
8  This program is distributed in the hope that it will be useful, but
9  WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License along
14  with this program; if not, write to the Free Software Foundation, Inc.,
15  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16 */
17 
18 #ifndef VACATIONMANAGER_H
19 #define VACATIONMANAGER_H
20 
21 #include <QObject>
22 #include "ksieveui_export.h"
23 
24 class QWidget;
25 namespace KSieveUi {
26 class VacationManagerPrivate;
27 class SieveImapPasswordProvider;
32 class KSIEVEUI_EXPORT VacationManager : public QObject
33 {
34  Q_OBJECT
35 public:
36  explicit VacationManager(SieveImapPasswordProvider *passwordProvider, QWidget *parent);
37  ~VacationManager();
38 
39  void checkVacation();
40 
41 public Q_SLOTS:
42  void slotEditVacation(const QString &serverName);
43 
44 Q_SIGNALS:
45  void updateVacationScriptStatus(bool active, const QString &serverName);
46 
47 private:
48  void slotDialogCanceled();
49  void slotDialogOk();
50  void slotUpdateVacationScriptStatus(bool active, const QString &serverName);
51 
52 private:
53  Q_DISABLE_COPY(VacationManager)
54  VacationManagerPrivate *const d;
55 };
56 }
57 
58 #endif // VACATIONMANAGER_H
The SieveImapPasswordProvider class.
The VacationManager class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Jun 5 2020 23:09:20 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.