KCalCore Library
Go to the documentation of this file.
29 #ifndef KCALCORE_ATTENDEE_H
30 #define KCALCORE_ATTENDEE_H
32 #include <QtCore/QMetaType>
34 #include "kcalcore_export.h"
113 typedef QSharedPointer<Attendee>
Ptr;
132 Attendee(
const QString &name,
const QString &email,
133 bool rsvp =
false,
PartStat status = None,
134 Role role = ReqParticipant,
const QString &uid = QString());
155 void setRole(
Role role);
171 void setUid(
const QString &uid);
205 void setCuType(
CuType cuType);
216 void setCuType(
const QString &cuType);
235 QString cuTypeStr()
const;
246 void setRSVP(
bool rsvp);
260 bool operator==(
const Attendee &attendee)
const;
267 bool operator!=(
const Attendee &attendee)
const;
275 void setDelegate(
const QString &delegate);
281 QString delegate()
const;
289 void setDelegator(
const QString &delegator);
295 QString delegator()
const;
302 void setCustomProperty(
const QByteArray &xname,
const QString &xvalue);
327 friend KCALCORE_EXPORT QDataStream &
operator<<(QDataStream &s,
329 friend KCALCORE_EXPORT QDataStream &
operator>>(QDataStream &s,
338 KCALCORE_EXPORT QDataStream &
operator<<(QDataStream &stream,
346 KCALCORE_EXPORT QDataStream &
operator>>(QDataStream &stream,
QString fullName() const
Returns the full name of this person.
Role
The different types of participation roles.
Represents a person, by name and email address.
@ NonParticipant
Non-Participant; copied for information purposes.
CuType
The different types of a participant.
QSharedPointer< Attendee > Ptr
A shared pointer to an Attendee object.
@ Individual
An individual (default)
@ Group
A group of individuals.
A class to manage custom calendar properties.
QString name() const
Returns the person name string.
QString email() const
Returns the email address for this person.
KCALCORE_EXPORT QDataStream & operator>>(QDataStream &in, const KCalCore::Alarm::Ptr &)
Alarm deserializer.
Represents information related to an attendee of an Calendar Incidence, typically a meeting or task (...
@ Delegated
Event or to-do delegated.
@ ReqParticipant
Participation is required (default)
@ OptParticipant
Participation is optional.
@ InProcess
To-do in process of being completed.
@ Completed
To-do completed.
void setEmail(const QString &email)
Sets the email address for this person to email.
@ NeedsAction
Event, to-do or journal needs action (default)
PartStat
The different types of participant status.
void setName(const QString &name)
Sets the name of the person to name.
@ Tentative
Event or to-do tentatively accepted.
@ Declined
Event, to-do or journal declined.
QVector< Ptr > List
List of attendees.
@ Resource
A physical resource.
@ Accepted
Event, to-do or journal accepted.
KCALCORE_EXPORT QDataStream & operator<<(QDataStream &out, const KCalCore::Alarm::Ptr &)
Alarm serializer.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jan 29 2020 00:00:00 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.