Libksieve

sieveaction.h
1/*
2 SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6#pragma once
7
8#include "autocreatescripts/commonwidgets/sievecommonactioncondition.h"
10namespace KSieveUi
11{
12class SieveEditorGraphicalModeWidget;
13class SieveAction : public SieveCommonActionCondition
14{
16public:
17 SieveAction(SieveEditorGraphicalModeWidget *sieveGraphicalModeWidget, const QString &name, const QString &label, QObject *parent = nullptr);
18 ~SieveAction() override;
19
20 virtual void setParamWidgetValue(QXmlStreamReader &element, QWidget *parent, QString &error);
21
22 void unknownTag(const QStringView &tag, QString &error) override;
23 void tooManyArguments(const QStringView &tagName, int index, int maxValue, QString &error) override;
24 void unknownTagValue(const QString &tagValue, QString &error) override;
25 void serverDoesNotSupportFeatures(const QString &feature, QString &error) override;
26
27protected:
28 [[nodiscard]] QStringList listOfIncludeFile() const;
29};
30}
Q_OBJECTQ_OBJECT
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.