9#include "sievewidgetpageabstract.h"
10#include <Libkdepim/KWidgetLister>
20class IncludeFileLineEdit;
21class SieveIncludeLocation :
public QComboBox
26 ~SieveIncludeLocation()
override;
28 [[nodiscard]]
QString code()
const;
38class SieveIncludeActionWidget :
public QWidget
43 ~SieveIncludeActionWidget()
override;
45 void generatedScript(
QString &script);
46 void updateAddRemoveButton(
bool addButtonEnabled,
bool removeButtonEnabled);
48 [[nodiscard]]
bool isInitialized()
const;
50 void setListOfIncludeFile(
const QStringList &listOfIncludeFile);
54 void slotRemoveWidget();
68 SieveIncludeLocation *mLocation =
nullptr;
69 IncludeFileLineEdit *mIncludeFileName =
nullptr;
77 ~SieveIncludeWidgetLister()
override;
82 void setListOfIncludeFile(
const QStringList &listOfIncludeFile);
89 void slotRemoveWidget(
QWidget *w);
92 void clearWidget(
QWidget *aWidget)
override;
96 void reconnectWidget(SieveIncludeActionWidget *w);
97 void updateAddRemoveButton();
101class SieveIncludeWidget :
public SieveWidgetPageAbstract
106 ~SieveIncludeWidget()
override;
108 void generatedScript(
QString &script,
QStringList &requireModules,
bool inForEveryPartLoop)
override;
117 SieveIncludeWidgetLister *mIncludeLister =
nullptr;
118 SieveHelpButton *mHelpButton =
nullptr;
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:09:40 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.