konsolekalendar.h
00001 #ifndef _KONSOLEKALENDAR_H
00002 #define _KONSOLEKALENDAR_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #include <qdatetime.h>
00024
00025 #include <kapplication.h>
00026
00027 #include <libkcal/calendarlocal.h>
00028 #include <libkcal/resourcecalendar.h>
00029 #include <libkcal/event.h>
00030
00031 #include "konsolekalendar.h"
00032 #include "konsolekalendarvariables.h"
00033
00034 namespace KCal {
00035
00039 class KonsoleKalendar
00040 {
00041 public:
00042 KonsoleKalendar(KonsoleKalendarVariables *variables);
00043 ~KonsoleKalendar();
00044
00048 bool showInstance();
00049
00054 bool importCalendar();
00055
00059 bool addEvent();
00060
00065 bool changeEvent();
00066
00071 bool deleteEvent();
00072
00081 bool isEvent( QDateTime startdate, QDateTime enddate, QString summary );
00082
00087 bool createCalendar();
00088
00089 private:
00090
00094 void printSpecs();
00095
00103 bool printEventList( QTextStream *ts, Event::List *eventList, QDate dt );
00104
00112 bool printEvent( QTextStream *ts, Event *event, QDate dt );
00113
00118 Event::List allEventsSorted();
00119
00123 KonsoleKalendarVariables *m_variables;
00124
00128 ResourceCalendar *m_Calendar;
00129 };
00130
00131 }
00132 #endif
This file is part of the documentation for konsolekalendar Library Version 3.2.2.