korganizer
KOIncidenceEditor Class Reference
#include <koincidenceeditor.h>

Detailed Description
This is the base class for the calendar component editors.Definition at line 57 of file koincidenceeditor.h.
Public Slots | |
virtual void | editIncidence (Incidence *, const QDate &, Calendar *)=0 |
virtual void | setIncidenceChanger (IncidenceChangerBase *changer) |
virtual void | init ()=0 |
void | addAttachments (const QStringList &attachments, const QStringList &mimeTypes=QStringList(), bool inlineAttachment=false) |
void | addAttendees (const QStringList &attendees) |
Signals | |
void | editCategories () |
void | updateCategoryConfig () |
void | dialogClose (Incidence *) |
void | editCanceled (Incidence *) |
void | deleteIncidenceSignal (Incidence *) |
void | signalAddAttachments (const QStringList &attachments, const QStringList &mimeTypes=QStringList(), bool inlineAttachment=false) |
Public Member Functions | |
KOIncidenceEditor (const QString &caption, Calendar *calendar, QWidget *parent) | |
virtual void | modified () |
virtual void | reload ()=0 |
virtual void | setResource (ResourceCalendar *res, const QString &subRes) |
virtual void | selectInvitationCounterProposal (bool enable) |
virtual void | selectCreateTask (bool enable) |
void | setRecurringIncidence (Incidence *originalIncidence, Incidence *incAfterDissociation) |
Protected Slots | |
void | slotApply () |
void | slotOk () |
void | slotCancel () |
void | openURL (const KURL &url) |
virtual void | slotManageTemplates () |
virtual void | slotSaveTemplate (const QString &)=0 |
virtual void | slotLoadTemplate (const QString &) |
virtual void | slotTemplatesChanged (const QStringList &) |
Protected Member Functions | |
virtual QString | type () |
virtual QStringList & | templates () const =0 |
virtual void | loadTemplate (CalendarLocal &)=0 |
void | setupAttendeesTab () |
void | setupDesignerTabs (const QString &type) |
void | saveAsTemplate (Incidence *, const QString &name) |
void | readDesignerFields (Incidence *i) |
void | writeDesignerFields (Incidence *i) |
QWidget * | addDesignerTab (const QString &uifile) |
void | setupEmbeddedURLPage (const QString &label, const QString &url, const QString &mimetype) |
void | createEmbeddedURLPages (Incidence *i) |
virtual bool | processInput () |
virtual void | processCancel () |
void | cancelRemovedAttendees (Incidence *incidence) |
Protected Attributes | |
Calendar * | mCalendar |
KOEditorDetails * | mDetails |
KOAttendeeEditor * | mAttendeeEditor |
KOrg::IncidenceChangerBase * | mChanger |
QPtrList< KPIM::DesignerFields > | mDesignerFields |
QMap< QWidget *, KPIM::DesignerFields * > | mDesignerFieldForWidget |
QPtrList< QWidget > | mEmbeddedURLPages |
QPtrList< QWidget > | mAttachedDesignerFields |
ResourceCalendar * | mResource |
QString | mSubResource |
bool | mIsCounter |
bool | mIsCreateTask |
Incidence * | mRecurIncidence |
Incidence * | mRecurIncidenceAfterDissoc |
Constructor & Destructor Documentation
KOIncidenceEditor::KOIncidenceEditor | ( | const QString & | caption, | |
Calendar * | calendar, | |||
QWidget * | parent | |||
) |
Member Function Documentation
virtual void KOIncidenceEditor::modified | ( | ) | [inline, virtual] |
This incidence has been modified externally.
Reimplemented in KOEventEditor, KOJournalEditor, and KOTodoEditor.
Definition at line 69 of file koincidenceeditor.h.
void KOIncidenceEditor::setRecurringIncidence | ( | Incidence * | originalIncidence, | |
Incidence * | incAfterDissociation | |||
) |
This should be called when editing only one occurrence of a recurring incidence, before showing the editor.
It gives the editor a pointer to the original incidence, which contains all occurrences and a pointer to the original incidence already dissociated from the event (mEvent).
If the user presses ok/apply the changes made to the incAfterDissociation are commited to the callendar through mChanger.
If the user presses cancel we restore originalIncidence and all dissociations are discarded
Definition at line 411 of file koincidenceeditor.cpp.
virtual void KOIncidenceEditor::init | ( | ) | [pure virtual, slot] |
Initialize editor.
This function creates the tab widgets.
Implemented in KOEventEditor, KOJournalEditor, and KOTodoEditor.
void KOIncidenceEditor::addAttachments | ( | const QStringList & | attachments, | |
const QStringList & | mimeTypes = QStringList() , |
|||
bool | inlineAttachment = false | |||
) | [slot] |
void KOIncidenceEditor::addAttendees | ( | const QStringList & | attendees | ) | [slot] |
virtual bool KOIncidenceEditor::processInput | ( | ) | [inline, protected, virtual] |
Process user input and create or update event.
Returns false if input is invalid.
Reimplemented in KOEventEditor, KOJournalEditor, and KOTodoEditor.
Definition at line 155 of file koincidenceeditor.h.
The documentation for this class was generated from the following files: