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

Signals | |
void | focusReceivedSignal () |
Public Member Functions | |
KOEventEditor (Calendar *calendar, QWidget *parent) | |
void | init () |
void | modified (int change=0) |
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 | newEvent (const QString &summary, const QString &description, const QString &attachment, const QStringList &attendees) |
void | editIncidence (Incidence *) |
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 Member Functions | |
QString | type () |
void | setupGeneral () |
void | setupRecurrence () |
void | setupFreeBusy () |
bool | validateInput () |
bool | processInput () |
void | processCancel () |
int | msgItemDelete () |
Detailed Description
This class provides a dialog for editing an event.
Definition at line 46 of file koeventeditor.h.
Constructor & Destructor Documentation
|
Construct new event editor.
Definition at line 53 of file koeventeditor.cpp. References KOEventEditor(). Referenced by KOEventEditor(). |
Member Function Documentation
|
Initialize editor. This function creates the tab widgets. Implements KOIncidenceEditor. Definition at line 64 of file koeventeditor.cpp. Referenced by editIncidence(), and newEvent(). |
|
This event has been modified externally.
Reimplemented from KOIncidenceEditor. Definition at line 151 of file koeventeditor.cpp. References modified(). Referenced by modified(). |
|
Clear eventwin for new event, and preset the dates and times with hint.
Definition at line 189 of file koeventeditor.cpp. References init(), newEvent(), and setDefaults(). Referenced by newEvent(), and CalendarView::newEvent(). |
|
Edit new event. Set summary and description from given text. Definition at line 197 of file koeventeditor.cpp. References init(), and newEvent(). |
|
Edit new event.
Definition at line 216 of file koeventeditor.cpp. References init(), and newEvent(). |
|
Edit new event.
Definition at line 234 of file koeventeditor.cpp. References newEvent(). |
|
Edit an existing event.
Implements KOIncidenceEditor. Definition at line 178 of file koeventeditor.cpp. References editIncidence(), init(), and readEvent(). Referenced by CalendarView::editEvent(), and editIncidence(). |
|
Set widgets to default values.
Definition at line 357 of file koeventeditor.cpp. References setDefaults(). Referenced by newEvent(), and setDefaults(). |
|
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 371 of file koeventeditor.cpp. References readEvent(). Referenced by editIncidence(), and readEvent(). |
|
Write event settings to event object.
Definition at line 386 of file koeventeditor.cpp. References writeEvent(). Referenced by processInput(), and writeEvent(). |
|
Check if the input is valid.
Definition at line 397 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 261 of file koeventeditor.cpp. References validateInput(), and writeEvent(). |
The documentation for this class was generated from the following files: