25 #ifndef KOEVENTEDITOR_H
26 #define KOEVENTEDITOR_H
28 #include "koincidenceeditor.h"
30 class KOEditorGeneralEvent;
31 class KOEditorRecurrence;
32 class KOEditorRecurrenceDialog;
33 class KOEditorFreeBusy;
35 class SaveTemplateDialog;
37 class KOEditorFreeBusy;
74 void setTexts(
const TQString &summary,
const TQString &description = TQString() );
78 void editIncidence(
Incidence *incidence,
const TQDate &date,
Calendar *calendar );
83 void setDates(
const TQDateTime &from,
const TQDateTime &to,
bool allDay );
89 void readEvent(
Event *event,
Calendar *calendar,
const TQDate &date,
bool tmpl =
false );
93 void writeEvent(
Event * );
95 TQObject *typeAheadReceiver()
const;
97 void selectInvitationCounterProposal(
bool enable );
100 void focusReceivedSignal();
106 void slotSaveTemplate(
const TQString & );
107 void updateRecurrenceSummary();
110 TQString type() {
return "Event"; }
112 void setupRecurrence();
113 void setupFreeBusy();
116 bool validateInput();
120 void processCancel();
123 TQStringList& templates()
const;
129 KOEditorGeneralEvent *mGeneral;
130 KOEditorRecurrenceDialog *mRecurrenceDialog;
131 KOEditorRecurrence *mRecurrence;
132 KOEditorFreeBusy *mFreeBusy;
This class provides a dialog for editing an event.
This is the base class for the calendar component editors.