21 #ifndef KORG_INCIDENCECHANGERBASE_H
22 #define KORG_INCIDENCECHANGERBASE_H
24 #include "korganizer/koglobals.h"
25 #include <libkcal/scheduler.h>
26 #include <libkcal/incidence.h>
39 class IncidenceChangerBase : public TQObject
44 IncidenceChangerBase( Calendar*cal, TQObject *parent = 0 ) :
45 TQObject( parent ), mCalendar( cal ) {}
46 virtual ~IncidenceChangerBase() {}
48 virtual bool sendGroupwareMessage( Incidence *incidence,
50 KOGlobals::HowChanged action,
51 TQWidget *parent ) = 0;
53 virtual bool beginChange( Incidence *incidence,
55 virtual bool endChange( Incidence *incidence,
58 virtual bool addIncidence( Incidence *incidence,
60 TQWidget *parent ) = 0;
61 virtual bool addIncidence( Incidence *incidence,
63 TQWidget *parent, int dontAskForGroupware) = 0;
66 KOGlobals::WhatChanged, TQWidget *parent ) = 0;
68 KOGlobals::WhatChanged, TQWidget *parent, int dontAskForGroupware ) = 0;
70 virtual bool deleteIncidence( Incidence *incidence, TQWidget *parent ) = 0;
72 virtual bool cutIncidences( const Incidence::List &incidences, TQWidget *parent ) = 0;
73 virtual bool cutIncidence( Incidence *incidence, TQWidget *parent ) = 0;
|