KCalCore Library
freebusy.cpp
Go to the documentation of this file.
The period can be defined by either a start time and an end time or by a start time and a duration.
Definition freebusyperiod.h:47
Provides information about the free/busy time of a calendar.
Definition freebusy.h:53
virtual KDateTime dtEnd() const
Returns the end datetime for the free/busy.
Definition freebusy.cpp:228
virtual bool equals(const IncidenceBase &freebusy) const
Compare this with freebusy for equality.
Definition freebusy.cpp:322
Period::List busyPeriods() const
Returns the list of all periods within the free/busy.
Definition freebusy.cpp:233
void setDateTime(const KDateTime &dateTime, DateTimeRole role)
Definition freebusy.cpp:347
virtual IncidenceBase & assign(const IncidenceBase &other)
Definition freebusy.cpp:312
FreeBusyPeriod::List fullBusyPeriods() const
Returns the list of all periods within the free/busy.
Definition freebusy.cpp:244
void addPeriods(const Period::List &list)
Adds a list of periods to the freebusy object and then sorts that list.
Definition freebusy.cpp:255
void setDtEnd(const KDateTime &end)
Sets the end datetime for the free/busy.
Definition freebusy.cpp:223
void merge(FreeBusy::Ptr freebusy)
Merges another free/busy into this free/busy.
Definition freebusy.cpp:281
static QLatin1String freeBusyMimeType()
Returns the Akonadi specific sub MIME type of a KCalCore::FreeBusy.
Definition freebusy.cpp:402
virtual void virtual_hook(int id, void *data)
Definition freebusy.cpp:353
virtual void setDtStart(const KDateTime &start)
Sets the start date/time for the free/busy.
Definition freebusy.cpp:217
virtual void shiftTimes(const KDateTime::Spec &oldSpec, const KDateTime::Spec &newSpec)
Definition freebusy.cpp:299
void addPeriod(const KDateTime &start, const KDateTime &end)
Adds a period to the freebusy list and sorts the list.
Definition freebusy.cpp:269
FreeBusy::Ptr parseFreeBusy(const QString &string)
Converts a QString into a FreeBusy object.
Definition icalformat.cpp:416
QString createScheduleMessage(const IncidenceBase::Ptr &incidence, iTIPMethod method)
Creates a scheduling message string for an Incidence.
Definition icalformat.cpp:367
An abstract class that provides a common base for all calendar incidence classes.
Definition incidencebase.h:110
void updated()
Call this to notify the observers after the IncidenceBase object has changed.
Definition incidencebase.cpp:604
virtual void shiftTimes(const KDateTime::Spec &oldSpec, const KDateTime::Spec &newSpec)
Shift the times of the incidence so that they appear at the same clock time as before but in a new ti...
Definition incidencebase.cpp:344
Duration duration() const
Returns the length of the incidence duration.
Definition incidencebase.cpp:555
virtual KDateTime dtStart() const
Returns an incidence's starting date/time as a KDateTime.
Definition incidencebase.cpp:321
QSharedPointer< IncidenceBase > Ptr
A shared pointer to an IncidenceBase.
Definition incidencebase.h:115
virtual IncidenceBase & assign(const IncidenceBase &other)
Provides polymorfic assignment.
Definition incidencebase.cpp:154
virtual void setDtStart(const KDateTime &dtStart)
Sets the incidence's starting date/time with a KDateTime.
Definition incidencebase.cpp:306
virtual bool equals(const IncidenceBase &incidenceBase) const
Provides polymorfic comparison for equality.
Definition incidencebase.cpp:179
The period can be defined by either a start time and an end time or by a start time and a duration.
Definition period.h:50
This class provides the interface for a visitor of calendar components.
Definition visitor.h:44
This file is part of the API for handling calendar data and defines the FreeBusy class.
This file is part of the API for handling calendar data and defines the ICalFormat class.
KCALCORE_EXPORT QDataStream & operator>>(QDataStream &in, const KCalCore::Alarm::Ptr &)
Alarm deserializer.
Definition alarm.cpp:863
KCALCORE_EXPORT QDataStream & operator<<(QDataStream &out, const KCalCore::Alarm::Ptr &)
Alarm serializer.
Definition alarm.cpp:853
static uint qHash(const KDateTime &dt)
Private class that helps to provide binary compatibility between releases.
Definition occurrenceiterator.cpp:157
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.