#include <koeventeditor.h>

Signals | |
void | focusReceivedSignal () |
![]() | |
void | deleteAttendee (Incidence *) |
void | editCategories () |
void | updateCategoryConfig () |
void | dialogClose (Incidence *) |
void | editCanceled (Incidence *) |
void | deleteIncidenceSignal (Incidence *) |
void | signalAddAttachments (const TQStringList &attachments, const TQStringList &mimeTypes=TQStringList(), bool inlineAttachment=false) |
Public Member Functions | |
KOEventEditor (Calendar *calendar, TQWidget *parent) | |
void | init () |
void | modified () |
void | reload () |
void | newEvent () |
void | setTexts (const TQString &summary, const TQString &description=TQString()) |
void | editIncidence (Incidence *incidence, const TQDate &date, Calendar *calendar) |
void | setDates (const TQDateTime &from, const TQDateTime &to, bool allDay) |
void | readEvent (Event *event, Calendar *calendar, const TQDate &date, bool tmpl=false) |
void | writeEvent (Event *) |
TQObject * | typeAheadReceiver () const |
void | selectInvitationCounterProposal (bool enable) |
![]() | |
KOIncidenceEditor (const TQString &caption, Calendar *calendar, TQWidget *parent) | |
virtual void | modified () |
virtual void | reload ()=0 |
virtual void | setResource (ResourceCalendar *res, const TQString &subRes) |
virtual void | selectInvitationCounterProposal (bool enable) |
virtual void | selectCreateTask (bool enable) |
void | setRecurringIncidence (Incidence *originalIncidence, Incidence *incAfterDissociation) |
Protected Slots | |
void | loadDefaults () |
void | deleteEvent () |
void | slotSaveTemplate (const TQString &) |
void | updateRecurrenceSummary () |
![]() | |
void | slotApply () |
void | slotOk () |
void | slotCancel () |
void | openURL (const KURL &url) |
virtual void | slotManageTemplates () |
virtual void | slotSaveTemplate (const TQString &)=0 |
virtual void | slotLoadTemplate (const TQString &) |
virtual void | slotTemplatesChanged (const TQStringList &) |
Protected Member Functions | |
TQString | type () |
void | setupGeneral () |
void | setupRecurrence () |
void | setupFreeBusy () |
bool | validateInput () |
bool | processInput () |
void | processCancel () |
int | msgItemDelete () |
void | loadTemplate (CalendarLocal &) |
TQStringList & | templates () const |
![]() | |
virtual TQString | type () |
virtual TQStringList & | templates () const =0 |
virtual void | loadTemplate (CalendarLocal &)=0 |
void | setupAttendeesTab () |
void | setupDesignerTabs (const TQString &type) |
void | saveAsTemplate (Incidence *, const TQString &name) |
void | readDesignerFields (Incidence *i) |
void | writeDesignerFields (Incidence *i) |
TQWidget * | addDesignerTab (const TQString &uifile) |
void | setupEmbeddedURLPage (const TQString &label, const TQString &url, const TQString &mimetype) |
void | createEmbeddedURLPages (Incidence *i) |
virtual bool | processInput () |
virtual void | processCancel () |
void | cancelRemovedAttendees (Incidence *incidence) |
Additional Inherited Members | |
![]() | |
virtual void | editIncidence (Incidence *, const TQDate &, Calendar *)=0 |
virtual void | setIncidenceChanger (IncidenceChangerBase *changer) |
virtual void | init ()=0 |
void | addAttachments (const TQStringList &attachments, const TQStringList &mimeTypes=TQStringList(), bool inlineAttachment=false) |
void | addAttendees (const TQStringList &attendees) |
![]() | |
Calendar * | mCalendar |
KOEditorDetails * | mDetails |
KOAttendeeEditor * | mAttendeeEditor |
KOrg::IncidenceChangerBase * | mChanger |
TQPtrList< KPIM::DesignerFields > | mDesignerFields |
TQMap< TQWidget *, KPIM::DesignerFields * > | mDesignerFieldForWidget |
TQPtrList< TQWidget > | mEmbeddedURLPages |
TQPtrList< TQWidget > | mAttachedDesignerFields |
ResourceCalendar * | mResource |
TQString | mSubResource |
bool | mIsCounter |
bool | mIsCreateTask |
Incidence * | mRecurIncidence |
Incidence * | mRecurIncidenceAfterDissoc |
Detailed Description
This class provides a dialog for editing an event.
Definition at line 48 of file koeventeditor.h.
Constructor & Destructor Documentation
◆ KOEventEditor()
KOEventEditor::KOEventEditor | ( | Calendar * | calendar, |
TQWidget * | parent | ||
) |
Construct new event editor.
Definition at line 53 of file koeventeditor.cpp.
◆ ~KOEventEditor()
|
virtual |
Definition at line 59 of file koeventeditor.cpp.
Member Function Documentation
◆ deleteEvent
|
protectedslot |
Definition at line 337 of file koeventeditor.cpp.
◆ editIncidence()
|
virtual |
Edit an existing event.
Implements KOIncidenceEditor.
Definition at line 193 of file koeventeditor.cpp.
◆ init()
|
virtual |
Initialize editor.
This function creates the tab widgets.
Implements KOIncidenceEditor.
Definition at line 65 of file koeventeditor.cpp.
◆ loadDefaults
|
protectedslot |
Definition at line 243 of file koeventeditor.cpp.
◆ loadTemplate()
|
protectedvirtual |
Implements KOIncidenceEditor.
Definition at line 396 of file koeventeditor.cpp.
◆ modified()
|
virtual |
This event has been modified externally.
Reimplemented from KOIncidenceEditor.
Definition at line 166 of file koeventeditor.cpp.
◆ msgItemDelete()
|
protected |
Definition at line 389 of file koeventeditor.cpp.
◆ newEvent()
void KOEventEditor::newEvent | ( | ) |
Clear event win for new event.
Definition at line 211 of file koeventeditor.cpp.
◆ processCancel()
|
protectedvirtual |
Reimplemented from KOIncidenceEditor.
Definition at line 325 of file koeventeditor.cpp.
◆ processInput()
|
protectedvirtual |
Process user input and create or update event.
Returns false if input is not valid
Reimplemented from KOIncidenceEditor.
Definition at line 253 of file koeventeditor.cpp.
◆ readEvent()
void KOEventEditor::readEvent | ( | Event * | event, |
Calendar * | calendar, | ||
const TQDate & | date, | ||
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.
Definition at line 347 of file koeventeditor.cpp.
◆ reload()
|
virtual |
Implements KOIncidenceEditor.
Definition at line 108 of file koeventeditor.cpp.
◆ selectInvitationCounterProposal()
|
virtual |
Reimplemented from KOIncidenceEditor.
Definition at line 434 of file koeventeditor.cpp.
◆ setDates()
void KOEventEditor::setDates | ( | const TQDateTime & | from, |
const TQDateTime & | to, | ||
bool | allDay | ||
) |
Set widgets to the given date/time values.
Definition at line 219 of file koeventeditor.cpp.
◆ setTexts()
void KOEventEditor::setTexts | ( | const TQString & | summary, |
const TQString & | description = TQString() |
||
) |
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 231 of file koeventeditor.cpp.
◆ setupFreeBusy()
|
protected |
Definition at line 180 of file koeventeditor.cpp.
◆ setupGeneral()
|
protected |
Definition at line 117 of file koeventeditor.cpp.
◆ setupRecurrence()
|
protected |
Definition at line 173 of file koeventeditor.cpp.
◆ slotSaveTemplate
|
protectedslot |
Definition at line 413 of file koeventeditor.cpp.
◆ templates()
|
protectedvirtual |
Implements KOIncidenceEditor.
Definition at line 408 of file koeventeditor.cpp.
◆ type()
|
inlineprotectedvirtual |
Reimplemented from KOIncidenceEditor.
Definition at line 110 of file koeventeditor.h.
◆ typeAheadReceiver()
TQObject * KOEventEditor::typeAheadReceiver | ( | ) | const |
Definition at line 421 of file koeventeditor.cpp.
◆ updateRecurrenceSummary
|
protectedslot |
Definition at line 426 of file koeventeditor.cpp.
◆ validateInput()
|
protected |
Check if the input is valid.
Definition at line 377 of file koeventeditor.cpp.
◆ writeEvent()
void KOEventEditor::writeEvent | ( | Event * | event | ) |
Write event settings to event object.
Definition at line 364 of file koeventeditor.cpp.
The documentation for this class was generated from the following files: