MessageComposer::Recipient

#include <recipient.h>

Inheritance diagram for MessageComposer::Recipient:

Public Types

typedef QVector< Recipient::PtrList
 
typedef QSharedPointer< RecipientPtr
 
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-2020 The KDE developers.
Generated on Sat Sep 19 2020 23:12:52 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.