Libksieve

sieveforeverypartwidget.h
1 /*
2  SPDX-FileCopyrightText: 2013-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "sievewidgetpageabstract.h"
10 class QCheckBox;
11 class QLineEdit;
12 class QXmlStreamReader;
13 
14 namespace KSieveUi
15 {
16 class SieveHelpButton;
17 class SieveForEveryPartWidget : public SieveWidgetPageAbstract
18 {
19  Q_OBJECT
20 public:
21  explicit SieveForEveryPartWidget(QWidget *parent = nullptr);
22  ~SieveForEveryPartWidget() override;
23 
24  void generatedScript(QString &script, QStringList &required, bool inForEveryPartLoop) override;
25  void loadScript(QXmlStreamReader &element, QString &error);
26 
27 private:
28  void slotHelp();
29  QCheckBox *mForLoop = nullptr;
30  QLineEdit *mName = nullptr;
31  SieveHelpButton *mHelpButton = nullptr;
32 };
33 }
34 
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Apr 11 2021 23:09:36 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.