KCal Library
freebusyperiod.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00032 #ifndef KCAL_FREEBUSYPERIOD_H
00033 #define KCAL_FREEBUSYPERIOD_H
00034
00035 #include "kcal_export.h"
00036 #include "duration.h"
00037 #include "period.h"
00038
00039 #include <kdatetime.h>
00040 #include <QtCore/QList>
00041
00042 namespace KCal {
00043
00048 class KCAL_EXPORT FreeBusyPeriod : public Period
00049 {
00050 public:
00054 typedef QList<FreeBusyPeriod> List;
00055
00059 FreeBusyPeriod();
00060
00067 FreeBusyPeriod( const KDateTime &start, const KDateTime &end );
00068
00075 FreeBusyPeriod( const KDateTime &start, const Duration &duration );
00076
00083 FreeBusyPeriod( const FreeBusyPeriod &period );
00084
00091 FreeBusyPeriod( const Period &period );
00092
00096 ~FreeBusyPeriod();
00097
00103 FreeBusyPeriod &operator=( const FreeBusyPeriod &other );
00104
00105 QString summary() const;
00106 void setSummary( const QString &summary );
00107 QString location() const;
00108 void setLocation( const QString &location );
00109
00110 private:
00111
00112 class Private;
00113 Private *const d;
00114
00115 };
00116
00117 }
00118
00119 #endif