22 #include <tqstringlist.h>
25 #include <tdelocale.h>
32 Attendee::PartStat s, Attendee::Role r,
const TQString &u)
47 return (
operator==( (
const Person&)a1, (
const Person&) a2 ) &&
48 a1.RSVP() == a2.RSVP() &&
49 a1.role() == a2.role() &&
50 a1.status() == a2.status() &&
51 a1.uid() == a2.uid() &&
52 a1.delegate() == a2.delegate() &&
53 a1.delegator() == a2.delegator() );
76 return i18n(
"Needs Action");
79 return i18n(
"Accepted");
82 return i18n(
"Declined");
85 return i18n(
"attendee status",
"Tentative");
88 return i18n(
"Delegated");
91 return i18n(
"Completed");
94 return i18n(
"In Process");
97 return i18n(
"attendee status unknown",
"Unknown");
146 return i18n(
"Chair");
150 return i18n(
"Participant");
153 return i18n(
"Optional Participant");
156 return i18n(
"Observer");
This class represents information related to an attendee of an event.
void setRole(Role)
Set role of Attendee.
TQString roleStr() const
Return role as clear text string.
Attendee(const TQString &name, const TQString &email, bool rsvp=false, PartStat status=None, Role role=ReqParticipant, const TQString &u=TQString())
Create Attendee.
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.
Role role() const
Return role of Attendee.
static TQString roleName(Role)
Return string represenation of role.
virtual ~Attendee()
Destruct Attendee.
static TQStringList statusList()
Return string representations of all available attendee status values.
void setStatus(PartStat s)
Set status.
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 represents a person.
Namespace KCal is for global classes, objects and/or functions in libkcal.