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#include "mailcommon_private_export.h"
12#include <gpgme++/global.h>
13
14namespace MailCommon
15{
16class MAILCOMMON_TESTS_EXPORT FilterActionWithCrypto : public FilterAction
17{
18 Q_OBJECT
19
20protected:
21 using FilterAction::FilterAction;
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
QSharedPointer< Message > Ptr
Abstract base class for mail filter actions.
The filter dialog.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:49:21 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.