KCalCore Library
freebusy.cpp
Go to the documentation of this file.
virtual void shiftTimes(const KDateTime::Spec &oldSpec, const KDateTime::Spec &newSpec)
Definition: freebusy.cpp:299
virtual void setDtStart(const KDateTime &dtStart)
Sets the incidence's starting date/time with a KDateTime.
Definition: incidencebase.cpp:306
void addPeriods(const Period::List &list)
Adds a list of periods to the freebusy object and then sorts that list.
Definition: freebusy.cpp:255
virtual bool visit(Event::Ptr event)
Reimplement this function in your concrete subclass of IncidenceBase::Visitor to perform actions on a...
Definition: visitor.cpp:42
An abstract class that provides a common base for all calendar incidence classes. ...
Definition: incidencebase.h:109
static QLatin1String freeBusyMimeType()
Returns the Akonadi specific sub MIME type of a KCalCore::FreeBusy.
Definition: freebusy.cpp:402
This class provides the interface for a visitor of calendar components.
Definition: visitor.h:43
virtual bool equals(const IncidenceBase &incidenceBase) const
Provides polymorfic comparison for equality.
Definition: incidencebase.cpp:179
virtual void virtual_hook(int id, void *data)
Definition: freebusy.cpp:353
void merge(FreeBusy::Ptr freebusy)
Merges another free/busy into this free/busy.
Definition: freebusy.cpp:281
virtual bool equals(const IncidenceBase &freebusy) const
Compare this with freebusy for equality.
Definition: freebusy.cpp:322
virtual void setDtStart(const KDateTime &start)
Sets the start date/time for the free/busy.
Definition: freebusy.cpp:217
KDateTime dateTime(DateTimeRole role) const
Definition: freebusy.cpp:340
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:46
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:49
void updated()
Call this to notify the observers after the IncidenceBase object has changed.
Definition: incidencebase.cpp:604
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
QSharedPointer< IncidenceBase > Ptr
A shared pointer to an IncidenceBase.
Definition: incidencebase.h:115
This file is part of the API for handling calendar data and defines the FreeBusy class.
FreeBusy::Ptr parseFreeBusy(const QString &string)
Converts a QString into a FreeBusy object.
Definition: icalformat.cpp:416
KCALCORE_EXPORT QDataStream & operator>>(QDataStream &in, const KCalCore::Alarm::Ptr &)
Alarm deserializer.
Definition: alarm.cpp:863
Period::List busyPeriods() const
Returns the list of all periods within the free/busy.
Definition: freebusy.cpp:233
void shiftTimes(const KDateTime::Spec &oldSpec, const KDateTime::Spec &newSpec)
Shift the times of the period so that they appear at the same clock time as before but in a new time ...
Definition: period.cpp:141
virtual IncidenceBase & assign(const IncidenceBase &other)
Provides polymorfic assignment.
Definition: incidencebase.cpp:154
virtual KDateTime dtEnd() const
Returns the end datetime for the free/busy.
Definition: freebusy.cpp:228
Provides information about the free/busy time of a calendar.
Definition: freebusy.h:52
void setDateTime(const KDateTime &dateTime, DateTimeRole role)
Definition: freebusy.cpp:347
KCALCORE_EXPORT QDataStream & operator<<(QDataStream &out, const KCalCore::Alarm::Ptr &)
Alarm serializer.
Definition: alarm.cpp:853
void sortList()
Sorts the list of free/busy periods into ascending order.
Definition: freebusy.cpp:249
QString createScheduleMessage(const IncidenceBase::Ptr &incidence, iTIPMethod method)
Creates a scheduling message string for an Incidence.
Definition: icalformat.cpp:367
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
void setDtEnd(const KDateTime &end)
Sets the end datetime for the free/busy.
Definition: freebusy.cpp:223
This file is part of the API for handling calendar data and defines the ICalFormat class...
void addPeriod(const KDateTime &start, const KDateTime &end)
Adds a period to the freebusy list and sorts the list.
Definition: freebusy.cpp:269
virtual KDateTime dtStart() const
Returns an incidence's starting date/time as a KDateTime.
Definition: incidencebase.cpp:321
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.