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

Signals | |
void | eventAdded (Event *) |
void | eventChanged (Event *) |
void | eventToBeDeleted (Event *) |
void | eventDeleted () |
void | deleteAttendee (Incidence *) |
Public Member Functions | |
KOEventEditor (Calendar *calendar, QWidget *parent) | |
Construct new event editor. | |
void | init () |
Initialize editor. | |
void | reload () |
void | newEvent (QDateTime from, QDateTime to, bool allDay=false) |
Clear eventwin for new event, and preset the dates and times with hint. | |
void | editEvent (Event *) |
Edit an existing event. | |
void | setDefaults (QDateTime from, QDateTime to, bool allDay) |
Set widgets to default values. | |
void | readEvent (Event *, bool tmpl=false) |
Read event object and setup widgets accordingly. | |
void | writeEvent (Event *) |
Write event settings to event object. | |
Protected Slots | |
void | loadDefaults () |
void | deleteEvent () |
void | enableRecurrence (bool) |
void | slotLoadTemplate () |
void | slotSaveTemplate () |
void | saveTemplate (const QString &) |
Protected Member Functions | |
void | setupGeneral () |
void | setupRecurrence () |
bool | validateInput () |
Check if the input is valid. | |
bool | processInput () |
Process user input and create or update event. | |
int | msgItemDelete () |
Detailed Description
This class provides a dialog for editing an event.
Definition at line 45 of file koeventeditor.h.
Constructor & Destructor Documentation
|
Construct new event editor.
Definition at line 43 of file koeventeditor.cpp. |
Member Function Documentation
|
Initialize editor. This function creates the tab widgets. Implements KOIncidenceEditor. Definition at line 54 of file koeventeditor.cpp. Referenced by editEvent(), and newEvent(). |
|
Clear eventwin for new event, and preset the dates and times with hint.
Definition at line 167 of file koeventeditor.cpp. References init(), and setDefaults(). Referenced by CalendarView::newEvent(). |
|
Edit an existing event.
Definition at line 159 of file koeventeditor.cpp. References init(), and readEvent(). Referenced by CalendarView::editEvent(). |
|
Set widgets to default values.
Definition at line 239 of file koeventeditor.cpp. Referenced by newEvent(). |
|
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 250 of file koeventeditor.cpp. Referenced by editEvent(). |
|
Write event settings to event object.
Definition at line 264 of file koeventeditor.cpp. Referenced by processInput(). |
|
Check if the input is valid.
Definition at line 284 of file koeventeditor.cpp. Referenced by processInput(). |
|
Process user input and create or update event. Returns false if input is not valid Reimplemented from KOIncidenceEditor. Definition at line 186 of file koeventeditor.cpp. References validateInput(), and writeEvent(). |
The documentation for this class was generated from the following files: