Libksieve

sieveconditioncurrentdate.h
1 /*
2  SPDX-FileCopyrightText: 2013-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "sievecondition.h"
10 
11 namespace KSieveUi
12 {
13 class SieveConditionCurrentDate : public SieveCondition
14 {
15  Q_OBJECT
16 public:
17  explicit SieveConditionCurrentDate(SieveEditorGraphicalModeWidget *sieveGraphicalModeWidget, QObject *parent = nullptr);
18 
19  Q_REQUIRED_RESULT QWidget *createParamWidget(QWidget *parent) const override;
20 
21  Q_REQUIRED_RESULT QString code(QWidget *w) const override;
22 
23  Q_REQUIRED_RESULT bool needCheckIfServerHasCapability() const override;
24 
25  Q_REQUIRED_RESULT QString serverNeedsCapability() const override;
26 
27  Q_REQUIRED_RESULT QStringList needRequires(QWidget *parent) const override;
28 
29  Q_REQUIRED_RESULT QString help() const override;
30 
31  void setParamWidgetValue(QXmlStreamReader &element, QWidget *parent, bool notCondition, QString &error) override;
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 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.