MessageComposer::Recipient
#include <recipient.h>
Public Types | |
using | List = QList<Recipient::Ptr> |
using | Ptr = QSharedPointer<Recipient> |
enum | Type { To , Cc , Bcc , ReplyTo , Undefined } |
Public Member Functions | |
Recipient (const QString &email=QString(), Type type=To) | |
void | clear () override |
QString | email () const |
Kleo::Action | encryptionAction () const |
bool | isEmpty () const override |
GpgME::Key | key () const |
QString | name () const |
void | setEmail (const QString &email) |
void | setEncryptionAction (const Kleo::Action action) |
void | setKey (const GpgME::Key &key) |
void | setName (const QString &name) |
void | setType (Type type) |
Type | type () const |
QString | typeLabel () const |
Public Member Functions inherited from KPIM::MultiplyingLineData |
Static Public Member Functions | |
static QStringList | allTypeLabels () |
static Type | idToType (int id) |
static QString | typeLabel (Type type) |
static int | typeToId (Type type) |
Detailed Description
The Recipient class.
Definition at line 27 of file recipient.h.
Member Typedef Documentation
◆ List
Definition at line 31 of file recipient.h.
◆ Ptr
Definition at line 30 of file recipient.h.
Member Enumeration Documentation
◆ Type
enum MessageComposer::Recipient::Type |
Definition at line 33 of file recipient.h.
Constructor & Destructor Documentation
◆ Recipient()
Definition at line 32 of file recipient.cpp.
Member Function Documentation
◆ allTypeLabels()
|
staticnodiscard |
Definition at line 113 of file recipient.cpp.
◆ clear()
|
overridevirtual |
Implements KPIM::MultiplyingLineData.
Definition at line 74 of file recipient.cpp.
◆ email()
|
nodiscard |
Definition at line 54 of file recipient.cpp.
◆ encryptionAction()
|
nodiscard |
Definition at line 133 of file recipient.cpp.
◆ idToType()
|
staticnodiscard |
Definition at line 85 of file recipient.cpp.
◆ isEmpty()
|
nodiscardoverridevirtual |
Implements KPIM::MultiplyingLineData.
Definition at line 69 of file recipient.cpp.
◆ key()
|
nodiscard |
Definition at line 123 of file recipient.cpp.
◆ name()
|
nodiscard |
Definition at line 64 of file recipient.cpp.
◆ setEmail()
void Recipient::setEmail | ( | const QString & | ) |
Definition at line 49 of file recipient.cpp.
◆ setEncryptionAction()
void MessageComposer::Recipient::setEncryptionAction | ( | const Kleo::Action | action | ) |
Definition at line 138 of file recipient.cpp.
◆ setKey()
void Recipient::setKey | ( | const GpgME::Key & | key | ) |
Definition at line 128 of file recipient.cpp.
◆ setName()
void Recipient::setName | ( | const QString & | name | ) |
Definition at line 59 of file recipient.cpp.
◆ setType()
void Recipient::setType | ( | Type | type | ) |
Definition at line 39 of file recipient.cpp.
◆ type()
|
nodiscard |
Definition at line 44 of file recipient.cpp.
◆ typeLabel() [1/2]
|
nodiscard |
Definition at line 90 of file recipient.cpp.
◆ typeLabel() [2/2]
|
staticnodiscard |
Definition at line 95 of file recipient.cpp.
◆ typeToId()
|
staticnodiscard |
Definition at line 80 of file recipient.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.