Mailcommon

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

KDE's Doxygen guidelines are available online.