kogroupware.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
00029
00030
00031
00032
00033
00034
00035
00036
00037 #ifndef KOGROUPWARE_H
00038 #define KOGROUPWARE_H
00039
00040 #include <libkcal/calendarresources.h>
00041 #include <libkcal/icalformat.h>
00042 #include <libkcal/scheduler.h>
00043 #include <qstring.h>
00044
00045 #include <kio/job.h>
00046
00047 using namespace KCal;
00048
00049 namespace KCal {
00050 class Calendar;
00051 class Event;
00052 }
00053 class CalendarView;
00054 class FreeBusyManager;
00055
00056 class KOGroupware : public QObject
00057 {
00058 Q_OBJECT
00059 public:
00060 static KOGroupware* create( CalendarView*, KCal::CalendarResources* );
00061 static KOGroupware* instance();
00062
00063 FreeBusyManager *freeBusyManager();
00064
00069 bool sendICalMessage( QWidget* parent, KCal::Scheduler::Method method,
00070 Incidence* incidence, bool isDeleting = false,
00071 bool statusChanged = false );
00072
00073
00074 enum EventState { Accepted, ConditionallyAccepted, Declined, Request };
00075
00076 private slots:
00078 void incomingDirChanged( const QString& path );
00079 void slotStartScheduling();
00080
00081 protected:
00082 KOGroupware( CalendarView*, KCal::CalendarResources* );
00083
00084 private:
00085 static KOGroupware *mInstance;
00086 KCal::ICalFormat mFormat;
00087 CalendarView *mView;
00088 KCal::CalendarResources *mCalendar;
00089 static FreeBusyManager *mFreeBusyManager;
00090 };
00091
00092 #endif
This file is part of the documentation for korganizer Library Version 3.3.2.