Mailcommon

filteractionwithcrypto.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 "filteraction.h"
11
12#include <gpgme++/global.h>
13
14namespace MailCommon
15{
16class FilterActionWithCrypto : public FilterAction
17{
19
20protected:
22
23 [[nodiscard]] QStringList getEncryptionKeysFromContent(const KMime::Message::Ptr &msg, GpgME::Protocol proto) const;
24
25private:
26 // cached values
27 mutable QString mGpgSmPath;
28 mutable QString mGpgPath;
29};
30} // namespace MailCommon
FilterAction(const QString &name, const QString &label, QObject *parent=nullptr)
Creates a new filter action.
The filter dialog.
Q_OBJECTQ_OBJECT
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.