libkcal Library API Documentation

KCal::FreeBusy Class Reference

This class provides information about free/busy time of a calendar user. More...

#include <freebusy.h>

Inheritance diagram for KCal::FreeBusy:

Inheritance graph
[legend]
Collaboration diagram for KCal::FreeBusy:

Collaboration graph
[legend]
List of all members.

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 addPeriods (const PeriodList &)
void sortList ()

Detailed Description

This class provides information about free/busy time of a calendar user.

Definition at line 39 of file freebusy.h.


Member Function Documentation

void FreeBusy::addPeriod const QDateTime start,
const QDateTime end
 

Adds a period to the freebusy list and sorts the list.

Definition at line 194 of file freebusy.cpp.

void 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.

Definition at line 188 of file freebusy.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for libkcal Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Aug 2 09:52:40 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003