Mailcommon

filteractiondecrypt.h
1/*
2 * SPDX-FileCopyrightText: 2017 Daniel Vrátil <dvratil@kde.org>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 *
6 */
7
8#pragma once
9
10#include "filteractionwithcrypto.h"
11
12namespace MailCommon
13{
14class FilterActionDecrypt : public FilterActionWithCrypto
15{
17public:
18 explicit FilterActionDecrypt(QObject *parent = nullptr);
19 ~FilterActionDecrypt() override;
20
21 static FilterAction *newAction();
22
23 [[nodiscard]] QString displayString() const override;
24
25 [[nodiscard]] QString argsAsString() const override;
26 void argsFromString(const QString &argsStr) override;
27
28 [[nodiscard]] SearchRule::RequiredPart requiredPart() const override;
29 [[nodiscard]] FilterAction::ReturnCode process(ItemContext &context, bool applyOnOutbound) const override;
30
31 [[nodiscard]] QWidget *createParamWidget(QWidget *parent) const override;
32};
33} // namespace MailCommon
ReturnCode
Describes the possible return codes of filter processing:
RequiredPart
Possible required parts.
Definition searchrule.h:70
The filter dialog.
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:49:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.