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 (const QDateTime &start, const QDateTime &end) | |
FreeBusy (Calendar *calendar, const QDateTime &start, const QDateTime &end) | |
FreeBusy (PeriodList busyPeriods) | |
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) |
bool | operator== (const FreeBusy &freebusy) const |
Member Function Documentation
void FreeBusy::addPeriod | ( | const QDateTime & | start, | |
const QDateTime & | end | |||
) |
void FreeBusy::addPeriods | ( | const PeriodList & | list | ) |
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.
Definition at line 194 of file freebusy.cpp.
bool FreeBusy::operator== | ( | const FreeBusy & | freebusy | ) | const |
Compare this with freebusy
for equality.
- Parameters:
-
freebusy is the FreeBusy to compare.
Definition at line 226 of file freebusy.cpp.
The documentation for this class was generated from the following files: