11#include "messagecomposer_export.h"
13#include <Libkdepim/MultiplyingLine>
15#include <Libkleo/Enum>
16#include <gpgme++/key.h>
18#include <QSharedPointer>
23class RecipientPrivate;
43 void setType(Type type);
44 [[nodiscard]] Type type()
const;
46 void setEmail(
const QString &email);
47 [[nodiscard]]
QString email()
const;
49 void setName(
const QString &name);
50 [[nodiscard]]
QString name()
const;
52 [[nodiscard]]
bool isEmpty()
const override;
53 void clear()
override;
55 [[nodiscard]]
static int typeToId(Type type);
56 [[nodiscard]]
static Type idToType(
int id);
58 [[nodiscard]]
QString typeLabel()
const;
59 [[nodiscard]]
static QString typeLabel(Type type);
62 void setEncryptionAction(
const Kleo::Action action);
63 [[nodiscard]] Kleo::Action encryptionAction()
const;
65 void setKey(
const GpgME::Key &key);
66 [[nodiscard]] GpgME::Key key()
const;
69 std::unique_ptr<RecipientPrivate>
const d;
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:12 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.