Libksieve

custommanagesievewidget.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 CUSTOMMANAGESIEVEWIDGET_H
19 #define CUSTOMMANAGESIEVEWIDGET_H
20 
21 #include <widgets/managesievewidget.h>
22 
23 namespace KSieveUi {
24 class SieveImapPasswordProvider;
25 class CustomManageSieveWidget : public KSieveUi::ManageSieveWidget
26 {
27  Q_OBJECT
28 public:
29  explicit CustomManageSieveWidget(SieveImapPasswordProvider *passwordProvider, QWidget *parent = nullptr);
30  ~CustomManageSieveWidget() override;
31 
32 protected:
33  bool refreshList() override;
34 
35 private:
36  SieveImapPasswordProvider *mPasswordProvider = nullptr;
37 };
38 }
39 
40 #endif // CUSTOMMANAGESIEVEWIDGET_H
The ManageSieveWidget class.
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Jun 5 2020 23:09:19 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.