kmail

Recipient Class Reference

#include <recipientseditor.h>

List of all members.


Public Types

typedef QValueList< RecipientList
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

Definition at line 47 of file recipientseditor.h.


Member Enumeration Documentation

Enumerator:
To 
Cc 
Bcc 
Undefined 

Definition at line 49 of file recipientseditor.h.


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 email  ) 

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: