Libksieve

sievecondition.h
1/*
2 SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "autocreatescripts/commonwidgets/sievecommonactioncondition.h"
11namespace KSieveUi
12{
13class SieveEditorGraphicalModeWidget;
14class SieveCondition : public SieveCommonActionCondition
15{
17public:
18 SieveCondition(SieveEditorGraphicalModeWidget *sieveGraphicalModeWidget, const QString &name, const QString &label, QObject *parent = nullptr);
19 ~SieveCondition() override;
20
21 virtual void setParamWidgetValue(QXmlStreamReader &element, QWidget *parent, bool notCondition, QString &error);
22
23 void unknownTagValue(const QString &tagValue, QString &error) override;
24 void unknownTag(const QStringView &tag, QString &error) override;
25 void tooManyArguments(const QStringView &tagName, int index, int maxValue, QString &error) override;
26 void tooManyArguments(const QString &tagName, int index, int maxValue, QString &error);
27 void serverDoesNotSupportFeatures(const QString &feature, QString &error) override;
28};
29}
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.