period.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KCAL_PERIOD_H
00021 #define KCAL_PERIOD_H
00022
00023 #include <qdatetime.h>
00024
00025 #include "duration.h"
00026
00027 namespace KCal {
00028
00029 class Period
00030 {
00031 public:
00032 Period();
00033 Period( const QDateTime &start, const QDateTime &end );
00034 Period( const QDateTime &start, const Duration &duration );
00035
00036 QDateTime start();
00037 QDateTime end();
00038 Duration duration();
00039
00040 bool hasDuration();
00041
00042 private:
00043 QDateTime mStart;
00044 QDateTime mEnd;
00045
00046 bool mHasDuration;
00047 };
00048
00049 }
00050
00051 #endif
This file is part of the documentation for kdelibs Version 3.1.5.