25#ifndef KOEVENTEDITOR_H
26#define KOEVENTEDITOR_H
28#include "koincidenceeditor.h"
30class KOEditorGeneralEvent;
31class KOEditorRecurrence;
32class KOEditorRecurrenceDialog;
33class KOEditorFreeBusy;
35class SaveTemplateDialog;
37class KOEditorFreeBusy;
74 void setTexts( const TQString &summary, const TQString &description = TQString() );
83 void setDates( const TQDateTime &from, const TQDateTime &to, bool allDay );
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();
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.
bool validateInput() Check if the input is valid.
void modified() This event has been modified externally.
void setDates(const TQDateTime &from, const TQDateTime &to, bool allDay) Set widgets to the given date/time values.
void writeEvent(Event *) Write event settings to event object.
void init() Initialize editor.
void setTexts(const TQString &summary, const TQString &description=TQString()) Sets the given summary and description.
bool processInput() Process user input and create or update event.
void readEvent(Event *event, Calendar *calendar, const TQDate &date, bool tmpl=false) Read event object and setup widgets accordingly.
void newEvent() Clear event win for new event.
void editIncidence(Incidence *incidence, const TQDate &date, Calendar *calendar) Edit an existing event.
This is the base class for the calendar component editors.
|