kmail
Recipient Class Reference
#include <recipientseditor.h>
Public Types | |
typedef QValueList< Recipient > | List |
enum | Type { To, Cc, Bcc, Undefined } |
Public Member Functions | |
QString | email () const |
bool | isEmpty () const |
Recipient (const QString &email=QString::null, Type type=To) | |
void | setEmail (const QString &) |
void | setType (Type) |
Type | type () const |
QString | typeLabel () const |
Static Public Member Functions | |
static QStringList | allTypeLabels () |
static Type | idToType (int) |
static QString | typeLabel (Type) |
static int | typeToId (Type) |
Detailed Description
Definition at line 44 of file recipientseditor.h.
Member Typedef Documentation
typedef QValueList<Recipient> Recipient::List |
Definition at line 47 of file recipientseditor.h.
Member Enumeration Documentation
enum Recipient::Type |
Constructor & Destructor Documentation
Recipient::Recipient | ( | const QString & | email = QString::null , |
|
Recipient::Type | type = To | |||
) |
Definition at line 51 of file recipientseditor.cpp.
Member Function Documentation
QStringList Recipient::allTypeLabels | ( | ) | [static] |
Definition at line 112 of file recipientseditor.cpp.
QString Recipient::email | ( | ) | const |
Definition at line 71 of file recipientseditor.cpp.
Recipient::Type Recipient::idToType | ( | int | id | ) | [static] |
Definition at line 86 of file recipientseditor.cpp.
bool Recipient::isEmpty | ( | ) | const |
Definition at line 76 of file recipientseditor.cpp.
void Recipient::setEmail | ( | const QString & | ) |
Definition at line 66 of file recipientseditor.cpp.
void Recipient::setType | ( | Type | type | ) |
Definition at line 56 of file recipientseditor.cpp.
Recipient::Type Recipient::type | ( | void | ) | const |
Definition at line 61 of file recipientseditor.cpp.
QString Recipient::typeLabel | ( | Recipient::Type | type | ) | [static] |
Definition at line 96 of file recipientseditor.cpp.
QString Recipient::typeLabel | ( | ) | const |
Definition at line 91 of file recipientseditor.cpp.
int Recipient::typeToId | ( | Recipient::Type | type | ) | [static] |
Definition at line 81 of file recipientseditor.cpp.
The documentation for this class was generated from the following files: