Libksieve

sieveactiondeleteheader.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 "sieveactionabstracteditheader.h"
9namespace KSieveUi
10{
11class SieveActionDeleteHeader : public SieveActionAbstractEditHeader
12{
14public:
15 explicit SieveActionDeleteHeader(SieveEditorGraphicalModeWidget *sieveGraphicalModeWidget, QObject *parent = nullptr);
16 [[nodiscard]] QString code(QWidget *w) const override;
17 [[nodiscard]] QWidget *createParamWidget(QWidget *parent) const override;
18 void setParamWidgetValue(QXmlStreamReader &element, QWidget *parent, QString &error) override;
19 [[nodiscard]] QString help() const override;
20 [[nodiscard]] QUrl href() const override;
21 [[nodiscard]] QStringList needRequires(QWidget *parent) const override;
22
23private:
24 void parseValue(QXmlStreamReader &element, QWidget *w, QString &error, bool isNegative);
25};
26}
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.