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() );
 
   77    TQString roleStr() 
const;
 
   81    static TQString roleName( Role );
 
   85    static TQStringList roleList();
 
   94    void setUid ( 
const TQString & );
 
   99    void setStatus( PartStat s );
 
  104    PartStat status() 
const;
 
  109    TQString statusStr() 
const;
 
  113    static TQString statusName( PartStat );
 
  117    static TQStringList statusList();
 
  126    bool RSVP()
 const { 
return mRSVP; }
 
  131    void setDelegate( 
const TQString &delegate ) { mDelegate = delegate; }
 
  140    void setDelegator( 
const TQString &delegator ) { mDelegator = delegator; }
 
  158bool operator==( 
const Attendee& a1, 
const Attendee& a2 );
 
This class represents information related to an attendee of an event.
 
void setDelegator(const TQString &delegator)
Sets the delegator.
 
void setRSVP(bool r)
Set if Attendee is asked to reply.
 
void setDelegate(const TQString &delegate)
Sets the delegate.
 
TQString delegate() const
Returns the delegate.
 
TQString delegator() const
Returns the delegator.
 
bool RSVP() const
Return, if Attendee is asked to reply.
 
This class represents a person.
 
Namespace KCal is for global classes, objects and/or functions in libkcal.