Libksieve

sieveactionkeep.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 #include "sieveaction.h"
8 namespace KSieveUi
9 {
10 class SieveActionKeep : public SieveAction
11 {
12  Q_OBJECT
13 public:
14  explicit SieveActionKeep(SieveEditorGraphicalModeWidget *sieveGraphicalModeWidget, QObject *parent = nullptr);
15 
16  Q_REQUIRED_RESULT QString code(QWidget *) const override;
17  Q_REQUIRED_RESULT QString help() const override;
18  Q_REQUIRED_RESULT QWidget *createParamWidget(QWidget *parent) const override;
19  void setParamWidgetValue(QXmlStreamReader &element, QWidget *w, QString &error) override;
20  Q_REQUIRED_RESULT QStringList needRequires(QWidget *) const override;
21  Q_REQUIRED_RESULT QUrl href() const override;
22 
23 private:
24  bool mHasFlagSupport = false;
25  bool mHasImapFlag4Support = false;
26 };
27 }
const QList< QKeySequence > & help()
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Apr 16 2021 23:09:34 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.