Mailcommon

filteractionwithcrypto.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 "filteraction.h"
11 
12 #include <gpgme++/global.h>
13 
14 namespace MailCommon
15 {
16 class FilterActionWithCrypto : public FilterAction
17 {
18  Q_OBJECT
19 
20 protected:
22 
23  Q_REQUIRED_RESULT QStringList getEncryptionKeysFromContent(const KMime::Message::Ptr &msg, GpgME::Protocol proto) const;
24 
25 private:
26  // cached values
27  mutable QString mGpgSmPath;
28  mutable QString mGpgPath;
29 };
30 } // namespace MailCommon
Q_OBJECTQ_OBJECT
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 Oct 1 2022 04:00:52 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.