KOEventEditor Class Reference
This class provides a dialog for editing an event. More...
#include <koeventeditor.h>
Inherits KOIncidenceEditor.
Signals
Public Member Functions
- KOEventEditor (Calendar *calendar, QWidget *parent)
- void init ()
- void modified (int change=0)
- void reload ()
- void newEvent (const QDateTime &from, const 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 (const QDateTime &from, const 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.
Constructor & Destructor Documentation
|
Construct new event editor.
|
Member Function Documentation
|
Initialize editor. This function creates the tab widgets. Implements KOIncidenceEditor. |
|
This event has been modified externally.
Reimplemented from KOIncidenceEditor. |
|
Clear eventwin for new event, and preset the dates and times with hint.
|
|
Edit new event. Set summary and description from given text. |
|
Edit new event.
|
|
Edit new event.
|
|
Edit an existing event.
Implements KOIncidenceEditor. |
|
Set widgets to default values.
|
|
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. |
|
Write event settings to event object.
|
|
Check if the input is valid.
|
|
Process user input and create or update event. Returns false if input is not valid Reimplemented from KOIncidenceEditor. |
The documentation for this class was generated from the following files:
- koeventeditor.h
- koeventeditor.cpp