korganizer
KOEventEditor Class Reference
#include <koeventeditor.h>

Detailed Description
This class provides a dialog for editing an event.Definition at line 46 of file koeventeditor.h.
Signals | |
| void | focusReceivedSignal () |
Public Member Functions | |
| void | editIncidence (Incidence *incidence, Calendar *calendar) |
| void | init () |
| KOEventEditor (Calendar *calendar, QWidget *parent) | |
| void | modified (int change=0) |
| void | newEvent () |
| void | readEvent (Event *event, Calendar *calendar, bool tmpl=false) |
| void | reload () |
| void | setDates (const QDateTime &from, const QDateTime &to, bool allDay) |
| void | setTexts (const QString &summary, const QString &description=QString(), bool richDescription=false) |
| QObject * | typeAheadReceiver () const |
| void | writeEvent (Event *) |
| virtual | ~KOEventEditor () |
Protected Slots | |
| void | deleteEvent () |
| void | loadDefaults () |
| void | slotSaveTemplate (const QString &) |
| void | updateRecurrenceSummary () |
Protected Member Functions | |
| void | loadTemplate (CalendarLocal &) |
| int | msgItemDelete () |
| void | processCancel () |
| bool | processInput () |
| void | setupFreeBusy () |
| void | setupGeneral () |
| void | setupRecurrence () |
| QStringList & | templates () const |
| QString | type () |
| bool | validateInput () |
Constructor & Destructor Documentation
| KOEventEditor::KOEventEditor | ( | Calendar * | calendar, | |
| QWidget * | parent | |||
| ) |
| KOEventEditor::~KOEventEditor | ( | ) | [virtual] |
Definition at line 62 of file koeventeditor.cpp.
Member Function Documentation
| void KOEventEditor::deleteEvent | ( | ) | [protected, slot] |
Definition at line 336 of file koeventeditor.cpp.
| void KOEventEditor::editIncidence | ( | Incidence * | incidence, | |
| Calendar * | calendar | |||
| ) | [virtual] |
Edit an existing event.
Implements KOIncidenceEditor.
Definition at line 220 of file koeventeditor.cpp.
| void KOEventEditor::focusReceivedSignal | ( | ) | [signal] |
| void KOEventEditor::init | ( | ) | [virtual] |
Initialize editor.
This function creates the tab widgets.
Implements KOIncidenceEditor.
Definition at line 67 of file koeventeditor.cpp.
| void KOEventEditor::loadDefaults | ( | ) | [protected, slot] |
Definition at line 270 of file koeventeditor.cpp.
| void KOEventEditor::loadTemplate | ( | CalendarLocal & | cal | ) | [protected, virtual] |
| void KOEventEditor::modified | ( | int | change = 0 |
) | [virtual] |
This event has been modified externally.
Reimplemented from KOIncidenceEditor.
Definition at line 176 of file koeventeditor.cpp.
| int KOEventEditor::msgItemDelete | ( | ) | [protected] |
Definition at line 389 of file koeventeditor.cpp.
| void KOEventEditor::newEvent | ( | ) |
| void KOEventEditor::processCancel | ( | ) | [protected, virtual] |
| 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 280 of file koeventeditor.cpp.
| void KOEventEditor::readEvent | ( | Event * | event, | |
| Calendar * | calendar, | |||
| 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.
- Parameters:
-
event the event from which the data should be used tmpl If true, the event is treated as a template, so the currently set time is preserved in the editor dialog.
Definition at line 346 of file koeventeditor.cpp.
| void KOEventEditor::reload | ( | ) | [virtual] |
| void KOEventEditor::setTexts | ( | const QString & | summary, | |
| const QString & | description = QString(), |
|||
| bool | richDescription = false | |||
| ) |
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 256 of file koeventeditor.cpp.
| void KOEventEditor::setupFreeBusy | ( | ) | [protected] |
Definition at line 205 of file koeventeditor.cpp.
| void KOEventEditor::setupGeneral | ( | ) | [protected] |
Definition at line 122 of file koeventeditor.cpp.
| void KOEventEditor::setupRecurrence | ( | ) | [protected] |
Definition at line 185 of file koeventeditor.cpp.
| void KOEventEditor::slotSaveTemplate | ( | const QString & | templateName | ) | [protected, virtual, slot] |
| QStringList & KOEventEditor::templates | ( | ) | const [protected, virtual] |
| QString KOEventEditor::type | ( | ) | [inline, protected, virtual] |
| QObject * KOEventEditor::typeAheadReceiver | ( | ) | const |
Definition at line 420 of file koeventeditor.cpp.
| void KOEventEditor::updateRecurrenceSummary | ( | ) | [protected, slot] |
Definition at line 425 of file koeventeditor.cpp.
| bool KOEventEditor::validateInput | ( | ) | [protected] |
| void KOEventEditor::writeEvent | ( | Event * | event | ) |
The documentation for this class was generated from the following files:
KDE 4.1 API Reference