korganizer
KOEventEditor Class Reference
This class provides a dialog for editing an event. More...
#include <koeventeditor.h>

Signals | |
void | focusReceivedSignal () |
Public Member Functions | |
KOEventEditor (Calendar *calendar, TQWidget *parent) | |
void | init () |
void | modified () |
void | reload () |
void | newEvent () |
void | setTexts (const TQString &summary, const TQString &description=TQString::null) |
void | editIncidence (Incidence *incidence, const TQDate &date, Calendar *calendar) |
void | setDates (const TQDateTime &from, const TQDateTime &to, bool allDay) |
void | readEvent (Event *event, Calendar *calendar, const TQDate &date, bool tmpl=false) |
void | writeEvent (Event *) |
TQObject * | typeAheadReceiver () const |
void | selectInvitationCounterProposal (bool enable) |
Protected Slots | |
void | loadDefaults () |
void | deleteEvent () |
void | slotSaveTemplate (const TQString &) |
void | updateRecurrenceSummary () |
Protected Member Functions | |
TQString | type () |
void | setupGeneral () |
void | setupRecurrence () |
void | setupFreeBusy () |
bool | validateInput () |
bool | processInput () |
void | processCancel () |
int | msgItemDelete () |
void | loadTemplate (CalendarLocal &) |
TQStringList & | templates () const |
Detailed Description
This class provides a dialog for editing an event.Definition at line 48 of file koeventeditor.h.
Constructor & Destructor Documentation
KOEventEditor::KOEventEditor | ( | Calendar * | calendar, | |
TQWidget * | parent | |||
) |
Member Function Documentation
void KOEventEditor::init | ( | ) | [virtual] |
Initialize editor.
This function creates the tab widgets.
Implements KOIncidenceEditor.
Definition at line 65 of file koeventeditor.cpp.
void KOEventEditor::modified | ( | ) | [virtual] |
This event has been modified externally.
Reimplemented from KOIncidenceEditor.
Definition at line 166 of file koeventeditor.cpp.
void KOEventEditor::newEvent | ( | ) |
void KOEventEditor::setTexts | ( | const TQString & | summary, | |
const TQString & | description = TQString::null | |||
) |
Sets the given summary and description.
If description is empty and the summary contains multiple lines, the summary will be used as description and only the first line of summary will be used as the summary.
Definition at line 231 of file koeventeditor.cpp.
void KOEventEditor::editIncidence | ( | Incidence * | incidence, | |
const TQDate & | date, | |||
Calendar * | calendar | |||
) | [virtual] |
Edit an existing event.
Implements KOIncidenceEditor.
Definition at line 193 of file koeventeditor.cpp.
void KOEventEditor::setDates | ( | const TQDateTime & | from, | |
const TQDateTime & | to, | |||
bool | allDay | |||
) |
void KOEventEditor::readEvent | ( | Event * | event, | |
Calendar * | calendar, | |||
const TQDate & | date, | |||
bool | tmpl = false | |||
) |
Read event object and setup widgets accordingly.
If tmpl is true, the event is read as template, i.e. the time and date information isn't set.
Definition at line 347 of file koeventeditor.cpp.
void KOEventEditor::writeEvent | ( | Event * | event | ) |
bool KOEventEditor::validateInput | ( | ) | [protected] |
bool KOEventEditor::processInput | ( | ) | [protected, virtual] |
Process user input and create or update event.
Returns false if input is not valid
Reimplemented from KOIncidenceEditor.
Definition at line 253 of file koeventeditor.cpp.
The documentation for this class was generated from the following files: