22#ifndef KCAL_ATTENDEE_H
23#define KCAL_ATTENDEE_H
26#include <tqstringlist.h>
39 enum PartStat { NeedsAction, Accepted, Declined, Tentative,
40 Delegated, Completed, InProcess, None };
41 enum Role { ReqParticipant, OptParticipant, NonParticipant, Chair };
55 Attendee( const TQString &name, const TQString &email,
56 bool rsvp = false, PartStat status = None,
57 Role role = ReqParticipant, const TQString &u = TQString() );
94 void setUid ( const TQString & );
126 bool RSVP() const { return mRSVP; }
158bool operator==( const Attendee& a1, const Attendee& a2 );
void setDelegator(const TQString &delegator) Sets the delegator.
void setRole(Role) Set role of Attendee.
TQString roleStr() const Return role as clear text string.
void setRSVP(bool r) Set if Attendee is asked to reply.
Attendee(const TQString &name, const TQString &email, bool rsvp=false, PartStat status=None, Role role=ReqParticipant, const TQString &u=TQString()) Create Attendee.
void setDelegate(const TQString &delegate) Sets the delegate.
static TQStringList roleList() Return string representations of all available roles.
TQString uid() const Return unique id of the attendee.
void setUid(const TQString &) Set unique id of attendee.
TQString delegate() const Returns the delegate.
Role role() const Return role of Attendee.
static TQString roleName(Role) Return string represenation of role.
TQString delegator() const Returns the delegator.
static TQStringList statusList() Return string representations of all available attendee status values.
void setStatus(PartStat s) Set status.
bool RSVP() const Return, if Attendee is asked to reply.
static TQString statusName(PartStat) Return string representation of attendee status.
PartStat status() const Return status.
TQString statusStr() const Return status as human-readable string.
This class provides a template for lists of pointers.
Namespace KCal is for global classes, objects and/or functions in libkcal.
|