konsolekalendar Library API Documentation

konsolekalendar.h

00001 #ifndef _KONSOLEKALENDAR_H
00002 #define _KONSOLEKALENDAR_H
00003 
00004 /***************************************************************************
00005         konsolekalendar.h  -  description
00006            -------------------
00007     begin                : Sun Jan  6 11:50:14 EET 2002
00008     copyright            : (C) 2002-2003 by Tuukka Pasanen
00009     copyright            : (C) 2003 by Allen Winter
00010     email                : illuusio@mailcity.com
00011  ***************************************************************************/
00012 
00013 /***************************************************************************
00014  *                                                                         *
00015  *   This program is free software; you can redistribute it and/or modify  *
00016  *   it under the terms of the GNU General Public License as published by  *
00017  *   the Free Software Foundation; either version 2 of the License, or     *
00018  *   (at your option) any later version.                                   *
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
KDE Logo
This file is part of the documentation for konsolekalendar Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:38:15 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003