Libksieve

sieveconditioncurrentdate.h
1/*
2 SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "sievecondition.h"
10
11namespace KSieveUi
12{
13class SieveConditionCurrentDate : public SieveCondition
14{
16public:
17 explicit SieveConditionCurrentDate(SieveEditorGraphicalModeWidget *sieveGraphicalModeWidget, QObject *parent = nullptr);
18
19 [[nodiscard]] QWidget *createParamWidget(QWidget *parent) const override;
20
21 [[nodiscard]] QString code(QWidget *w) const override;
22
23 [[nodiscard]] bool needCheckIfServerHasCapability() const override;
24
25 [[nodiscard]] QString serverNeedsCapability() const override;
26
27 [[nodiscard]] QStringList needRequires(QWidget *parent) const override;
28
29 [[nodiscard]] QString help() const override;
30
31 void setParamWidgetValue(QXmlStreamReader &element, QWidget *parent, bool notCondition, QString &error) override;
32 [[nodiscard]] QUrl href() const override;
33};
34}
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.