Messagelib
11 #include "messagecomposer_export.h"
13 #include <Libkdepim/MultiplyingLine>
15 #include <Libkleo/Enum>
16 #include <gpgme++/key.h>
18 #include <QSharedPointer>
23 class RecipientPrivate;
43 void setType(Type type);
44 Q_REQUIRED_RESULT Type type()
const;
46 void setEmail(
const QString &email);
47 Q_REQUIRED_RESULT
QString email()
const;
49 void setName(
const QString &name);
50 Q_REQUIRED_RESULT
QString name()
const;
52 Q_REQUIRED_RESULT
bool isEmpty()
const override;
53 void clear()
override;
55 Q_REQUIRED_RESULT
static int typeToId(Type type);
56 Q_REQUIRED_RESULT
static Type idToType(
int id);
58 Q_REQUIRED_RESULT
QString typeLabel()
const;
59 Q_REQUIRED_RESULT
static QString typeLabel(Type type);
60 Q_REQUIRED_RESULT
static QStringList allTypeLabels();
62 void setEncryptionAction(
const Kleo::Action action);
63 Q_REQUIRED_RESULT Kleo::Action encryptionAction()
const;
65 void setKey(
const GpgME::Key &key);
66 Q_REQUIRED_RESULT 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-2023 The KDE developers.
Generated on Wed Jun 7 2023 04:02:49 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.