9#include "sieveglobalvariablewidget.h"
10#include "sievewidgetpageabstract.h"
21class SieveConditionWidgetLister;
22class SieveActionWidgetLister;
23class SieveEditorGraphicalModeWidget;
25class SieveScriptBlockWidget :
public SieveWidgetPageAbstract
35 explicit SieveScriptBlockWidget(SieveEditorGraphicalModeWidget *graphicalModeWidget,
QWidget *
parent =
nullptr);
36 ~SieveScriptBlockWidget()
override;
38 void setPageType(PageType type)
override;
40 void generatedScript(
QString &script,
QStringList &required,
bool inForEveryPartLoop)
override;
42 [[nodiscard]] MatchCondition matchCondition()
const;
46 void loadLocalVariable(
const SieveGlobalVariableActionWidget::VariableElement &var);
48 void addNewBlock(
QWidget *widget, KSieveUi::SieveWidgetPageAbstract::PageType type);
54 void updateCondition();
55 MatchCondition mMatchCondition = AndCondition;
57 SieveEditorGraphicalModeWidget *
const mSieveGraphicalModeWidget;
58 SieveConditionWidgetLister *mScriptConditionLister =
nullptr;
59 SieveActionWidgetLister *mScriptActionLister =
nullptr;
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:10 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.