24#ifndef INCIDENCECHANGER_H
25#define INCIDENCECHANGER_H
27#include "korganizer/incidencechangerbase.h"
33class IncidenceChanger : public KOrg::IncidenceChangerBase
38 IncidenceChanger( Calendar *cal, TQObject *parent )
39 : IncidenceChangerBase( cal, parent ) {}
40 ~IncidenceChanger() {}
42 bool beginChange( Incidence *incidence,
43 ResourceCalendar *res, const TQString &subRes );
45 bool sendGroupwareMessage( Incidence *incidence,
47 KOGlobals::HowChanged action,
50 bool endChange( Incidence *incidence,
51 ResourceCalendar *res, const TQString &subRes );
53 bool addIncidence( Incidence *incidence,
54 ResourceCalendar *res, const TQString &subRes,
56 bool addIncidence( Incidence *incidence,
57 ResourceCalendar *res, const TQString &subRes,
58 TQWidget *parent, int dontAskForGroupware );
60 bool changeIncidence( Incidence *oldinc, Incidence *newinc,
61 KOGlobals::WhatChanged, TQWidget *parent );
62 bool changeIncidence( Incidence *oldinc, Incidence *newinc,
63 KOGlobals::WhatChanged, TQWidget *parent, int dontAskForGroupware );
65 bool deleteIncidence( Incidence *incidence, TQWidget *parent );
67 bool cutIncidences( const Incidence::List &incidences, TQWidget *parent );
68 bool cutIncidence( Incidence *incidence, TQWidget *parent );
70 static bool incidencesEqual( Incidence *inc1, Incidence *inc2 );
71 static bool assignIncidence( Incidence *inc1, Incidence *inc2 );
74 void cancelAttendees( Incidence *incidence );
77 bool myAttendeeStatusChanged( Incidence *oldInc, Incidence *newInc );
80 class ComparisonVisitor;
81 class AssignmentVisitor;
|