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 *oldEvent, Event *newEvent) |
void | eventToBeDeleted (Event *) |
void | eventDeleted (Event *) |
void | deleteAttendee (Incidence *) |
void | focusReceivedSignal () |
Public Methods | |
KOEventEditor (Calendar *calendar, QWidget *parent) | |
virtual | ~KOEventEditor (void) |
void | init () |
void | reload () |
void | newEvent (QDateTime from, QDateTime to, bool allDay=false) |
void | newEvent (const QString &) |
void | newEvent (const QString &summary, const QString &description, const QString &attachment) |
void | editEvent (Event *) |
void | setDefaults (QDateTime from, QDateTime to, bool allDay) |
void | readEvent (Event *, bool tmpl=false) |
void | writeEvent (Event *) |
QObject * | typeAheadReceiver () const |
Protected Slots | |
void | loadDefaults () |
void | deleteEvent () |
void | slotLoadTemplate () |
void | saveTemplate (const QString &) |
Protected Methods | |
QString | type () |
void | setupGeneral () |
void | setupRecurrence () |
void | setupGanttTab () |
bool | validateInput () |
bool | processInput () |
void | processCancel () |
int | msgItemDelete () |
Detailed Description
This class provides a dialog for editing an event.
Definition at line 47 of file koeventeditor.h.
Constructor & Destructor Documentation
|
Construct new event editor.
Definition at line 50 of file koeventeditor.cpp. |
Member Function Documentation
|
Initialize editor. This function creates the tab widgets. Implements KOIncidenceEditor. Definition at line 61 of file koeventeditor.cpp. |
|
Clear eventwin for new event, and preset the dates and times with hint.
Definition at line 175 of file koeventeditor.cpp. References init(), and setDefaults(). Referenced by CalendarView::newEvent(). |
|
Edit new event. Set summary and description from given text. Definition at line 183 of file koeventeditor.cpp. References QString::find(), init(), and QString::left(). |
|
Edit new event.
Definition at line 202 of file koeventeditor.cpp. References init(), and QString::isEmpty(). |
|
Edit an existing event.
Definition at line 167 of file koeventeditor.cpp. References init(), and readEvent(). Referenced by CalendarView::editEvent(). |
|
Set widgets to default values.
Definition at line 323 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 331 of file koeventeditor.cpp. Referenced by editEvent(). |
|
Write event settings to event object.
Definition at line 343 of file koeventeditor.cpp. Referenced by processInput(). |
|
Check if the input is valid.
Definition at line 362 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 231 of file koeventeditor.cpp. References validateInput(), and writeEvent(). |
The documentation for this class was generated from the following files: