22 #ifndef KCAL_FREEBUSY_H
23 #define KCAL_FREEBUSY_H
25 #include <tqdatetime.h>
26 #include <tqvaluelist.h>
27 #include <tqptrlist.h>
32 #include "incidencebase.h"
36 typedef TQValueList<Period> PeriodList;
44 FreeBusy( const TQDateTime &start, const TQDateTime &end );
46 const TQDateTime &end );
51 TQCString type() const { return "FreeBusy"; }
53 virtual TQDateTime dtEnd() const;
54 bool setDtEnd( const TQDateTime &end );
56 PeriodList busyPeriods() const;
59 void addPeriod( const TQDateTime &start, const TQDateTime &end );
60 void addPeriod( const TQDateTime &start, const Duration &dur );
64 void addPeriods( const PeriodList & );
74 bool operator==( const FreeBusy &freebusy ) const;
79 bool addLocalPeriod( const TQDateTime &start, const TQDateTime &end );
82 PeriodList mBusyPeriods;
Provides the main "calendar" object class.
This is the main "calendar" object class.
This class represents a duration.
This class provides information about free/busy time of a calendar user.
This class provides the interface for a visitor of calendar components.
virtual bool visit(Event *) Reimplement this function in your concrete subclass of IncidenceBase::Visitor to perform actions on a...
This class provides the base class common to all calendar components.
Namespace KCal is for global classes, objects and/or functions in libkcal.
|