Libksieve

sieveconditionihave.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 "sievecondition.h"
9 
10 namespace KSieveUi
11 {
12 class SieveConditionIhave : public SieveCondition
13 {
14  Q_OBJECT
15 public:
16  explicit SieveConditionIhave(SieveEditorGraphicalModeWidget *sieveGraphicalModeWidget, QObject *parent = nullptr);
17 
18  Q_REQUIRED_RESULT QWidget *createParamWidget(QWidget *parent) const override;
19 
20  Q_REQUIRED_RESULT QString code(QWidget *parent) const override;
21 
22  Q_REQUIRED_RESULT QStringList needRequires(QWidget *parent) const override;
23 
24  Q_REQUIRED_RESULT bool needCheckIfServerHasCapability() const override;
25 
26  Q_REQUIRED_RESULT QString serverNeedsCapability() const override;
27 
28  Q_REQUIRED_RESULT QString help() const override;
29 
30  void setParamWidgetValue(QXmlStreamReader &element, QWidget *parent, bool notCondition, QString &error) override;
31 
32  Q_REQUIRED_RESULT QUrl href() const override;
33 };
34 }
35 
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.