konsolekalendar.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef _KONSOLEKALENDAR_H
00029 #define _KONSOLEKALENDAR_H
00030
00031 #include <qdatetime.h>
00032
00033 #include <kapplication.h>
00034
00035 #include <libkcal/calendarlocal.h>
00036 #include <libkcal/resourcecalendar.h>
00037 #include <libkcal/event.h>
00038
00039 #include "konsolekalendar.h"
00040 #include "konsolekalendarvariables.h"
00041
00042 namespace KCal {
00043
00047 class KonsoleKalendar
00048 {
00049 public:
00050 KonsoleKalendar(KonsoleKalendarVariables *variables);
00051 ~KonsoleKalendar();
00052
00056 bool showInstance();
00057
00061 bool importCalendar();
00062
00066 bool addEvent();
00067
00071 bool changeEvent();
00072
00076 bool deleteEvent();
00077
00085 bool isEvent( QDateTime startdate, QDateTime enddate, QString summary );
00086
00090 bool createCalendar();
00091
00092 private:
00093
00097 void printSpecs();
00098
00105 bool printEventList( QTextStream *ts, Event::List *eventList, QDate dt );
00106
00113 bool printEvent( QTextStream *ts, Event *event, QDate dt );
00114
00119 Event::List allEventsSorted();
00120
00124 KonsoleKalendarVariables *m_variables;
00125
00129 ResourceCalendar *m_Calendar;
00130
00134 QDate m_saveDate;
00135
00136 };
00137
00138 }
00139 #endif
This file is part of the documentation for konsolekalendar Library Version 3.3.2.