libkcal
KCal::FreeBusy Class Reference
#include <freebusy.h>
Inheritance diagram for KCal::FreeBusy:

Detailed Description
This class provides information about free/busy time of a calendar user.
Definition at line 40 of file freebusy.h.
Public Member Functions | |
FreeBusy () | |
FreeBusy (const QDateTime &start, const QDateTime &end) | |
FreeBusy (Calendar *calendar, const QDateTime &start, const QDateTime &end) | |
FreeBusy (PeriodList busyPeriods) | |
~FreeBusy () | |
QCString | type () const |
virtual QDateTime | dtEnd () const |
bool | setDtEnd (const QDateTime &end) |
PeriodList | busyPeriods () const |
void | addPeriod (const QDateTime &start, const QDateTime &end) |
void | addPeriod (const QDateTime &start, const Duration &dur) |
void | addPeriods (const PeriodList &) |
void | sortList () |
void | merge (FreeBusy *freebusy) |
Member Function Documentation
void FreeBusy::addPeriod | ( | const QDateTime & | start, | |
const QDateTime & | end | |||
) |
void KCal::FreeBusy::addPeriods | ( | const PeriodList & | ) |
Adds a list of periods to the freebusy object and then sorts that list.
Use this if you are adding many items, instead of the addPeriod method, to avoid sorting repeatedly.
The documentation for this class was generated from the following files: