KCal Library
freebusy.h
Go to the documentation of this file.
void merge(FreeBusy *freebusy)
Merges another free/busy into this free/busy.
Definition freebusy.cpp:292
virtual KDateTime dtEnd() const
Returns the end datetime for the free/busy.
Definition freebusy.cpp:239
Period::List busyPeriods() const
Returns the list of all periods within the free/busy.
Definition freebusy.cpp:244
FreeBusyPeriod::List fullBusyPeriods() const
Returns the list of all periods within the free/busy.
Definition freebusy.cpp:255
void addPeriods(const Period::List &list)
Adds a list of periods to the freebusy object and then sorts that list.
Definition freebusy.cpp:266
void setDtEnd(const KDateTime &end)
Sets the end datetime for the free/busy.
Definition freebusy.cpp:234
bool operator==(const FreeBusy &freebusy) const
Compare this with freebusy for equality.
Definition freebusy.cpp:335
virtual void setDtStart(const KDateTime &start)
Definition freebusy.cpp:228
virtual void shiftTimes(const KDateTime::Spec &oldSpec, const KDateTime::Spec &newSpec)
Definition freebusy.cpp:310
void addPeriod(const KDateTime &start, const KDateTime &end)
Adds a period to the freebusy list and sorts the list.
Definition freebusy.cpp:280
This class provides the interface for a visitor of calendar components.
Definition incidencebase.h:113
virtual bool visit(Event *event)
Reimplement this function in your concrete subclass of IncidenceBase::Visitor to perform actions on a...
Definition incidencebase.cpp:513
Duration duration() const
Returns the length of the incidence duration.
Definition incidencebase.cpp:448
This file is part of the API for handling calendar data and defines the Event class.
This file is part of the API for handling calendar data and defines the Period class.
This file is part of the API for handling calendar data and defines the IncidenceBase class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.