Libksieve

sieveactionkeep.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#include "sieveaction.h"
8namespace KSieveUi
9{
10class SieveActionKeep : public SieveAction
11{
13public:
14 explicit SieveActionKeep(SieveEditorGraphicalModeWidget *sieveGraphicalModeWidget, QObject *parent = nullptr);
15
16 [[nodiscard]] QString code(QWidget *) const override;
17 [[nodiscard]] QString help() const override;
18 [[nodiscard]] QWidget *createParamWidget(QWidget *parent) const override;
19 void setParamWidgetValue(QXmlStreamReader &element, QWidget *w, QString &error) override;
20 [[nodiscard]] QStringList needRequires(QWidget *) const override;
21 [[nodiscard]] QUrl href() const override;
22
23private:
24 bool mHasFlagSupport = false;
25 bool mHasImapFlag4Support = false;
26};
27}
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 Nov 29 2024 11:56:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.