libkcal
KCal::Attendee Class Reference
#include <attendee.h>
Inheritance diagram for KCal::Attendee:

Detailed Description
This class represents information related to an attendee of an event.
Definition at line 35 of file attendee.h.
Public Types | |
enum | PartStat { NeedsAction, Accepted, Declined, Tentative, Delegated, Completed, InProcess } |
enum | Role { ReqParticipant, OptParticipant, NonParticipant, Chair } |
typedef ListBase< Attendee > | List |
Public Member Functions | |
Attendee (const QString &name, const QString &email, bool rsvp=false, PartStat status=NeedsAction, Role role=ReqParticipant, const QString &u=QString::null) | |
virtual | ~Attendee () |
void | setRole (Role) |
Role | role () const |
QString | roleStr () const |
QString | uid () const |
void | setUid (const QString &) |
void | setStatus (PartStat s) |
PartStat | status () const |
QString | statusStr () const |
void | setRSVP (bool r) |
bool | RSVP () const |
Static Public Member Functions | |
static QString | roleName (Role) |
static QStringList | roleList () |
static QString | statusName (PartStat) |
static QStringList | statusList () |
Constructor & Destructor Documentation
Attendee::Attendee | ( | const QString & | name, | |
const QString & | email, | |||
bool | rsvp = false , |
|||
PartStat | status = NeedsAction , |
|||
Role | role = ReqParticipant , |
|||
const QString & | u = QString::null | |||
) |
Create Attendee.
- Parameters:
-
name Name email Email address rsvp Request for reply status Status (see enum for list) role Role u the uid for the attendee
Definition at line 31 of file attendee.cpp.
Attendee::~Attendee | ( | ) | [virtual] |
Member Function Documentation
void Attendee::setRole | ( | Role | ) |
Attendee::Role Attendee::role | ( | ) | const |
QString Attendee::roleStr | ( | ) | const |
QString Attendee::roleName | ( | Role | ) | [static] |
QStringList Attendee::roleList | ( | ) | [static] |
QString Attendee::uid | ( | ) | const |
void Attendee::setUid | ( | const QString & | ) |
void Attendee::setStatus | ( | PartStat | s | ) |
Set status.
See enum for definitions of possible values.
Definition at line 54 of file attendee.cpp.
Attendee::PartStat Attendee::status | ( | ) | const |
QString Attendee::statusStr | ( | ) | const |
QString Attendee::statusName | ( | PartStat | ) | [static] |
QStringList Attendee::statusList | ( | ) | [static] |
Return string representations of all available attendee status values.
Definition at line 97 of file attendee.cpp.
void KCal::Attendee::setRSVP | ( | bool | r | ) | [inline] |
bool KCal::Attendee::RSVP | ( | ) | const [inline] |
The documentation for this class was generated from the following files: