File indexing completed on 2025-02-16 04:55:57

0001 /*
0002    SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 #pragma once
0007 
0008 #include "sieveaction.h"
0009 namespace KSieveUi
0010 {
0011 class SieveActionReturn : public SieveAction
0012 {
0013     Q_OBJECT
0014 public:
0015     explicit SieveActionReturn(SieveEditorGraphicalModeWidget *sieveGraphicalModeWidget, QObject *parent = nullptr);
0016     [[nodiscard]] QString help() const override;
0017     [[nodiscard]] QStringList needRequires(QWidget *parent) const override;
0018     [[nodiscard]] bool needCheckIfServerHasCapability() const override;
0019     [[nodiscard]] QString serverNeedsCapability() const override;
0020     [[nodiscard]] QString code(QWidget *) const override;
0021     [[nodiscard]] QUrl href() const override;
0022 };
0023 }