Libksieve

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