MessageComposer::Recipient

Search for usage in LXR

#include <recipient.h>

Inheritance diagram for MessageComposer::Recipient:

Public Types

using List = QVector< 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
 

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.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Jun 4 2023 04:01:58 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.