korganizer
KOIncidenceEditor Class Reference
#include <koincidenceeditor.h>

Detailed Description
This is the base class for the calendar component editors.Definition at line 55 of file koincidenceeditor.h.
Public Slots | |
| void | addAttachments (const QStringList &attachments, const QStringList &mimeTypes=QStringList(), bool inlineAttachment=false) |
| void | addAttendees (const QStringList &attendees) |
| virtual void | editIncidence (Incidence *, Calendar *)=0 |
| virtual void | init ()=0 |
| virtual void | setIncidenceChanger (IncidenceChangerBase *changer) |
Signals | |
| void | deleteAttendee (Incidence *) |
| void | deleteIncidenceSignal (Incidence *) |
| void | dialogClose (Incidence *) |
| void | editCanceled (Incidence *) |
| void | editCategories () |
| void | signalAddAttachments (const QStringList &attachments, const QStringList &mimeTypes=QStringList(), bool inlineAttachment=false) |
| void | updateCategoryConfig () |
Public Member Functions | |
| KOIncidenceEditor (const QString &caption, Calendar *calendar, QWidget *parent) | |
| virtual void | modified (int=0) |
| virtual void | reload ()=0 |
| virtual void | selectInvitationCounterProposal (bool enable) |
| virtual | ~KOIncidenceEditor () |
Protected Slots | |
| void | openURL (const KUrl &url) |
| void | slotApply () |
| void | slotCancel () |
| virtual void | slotLoadTemplate (const QString &) |
| virtual void | slotManageTemplates () |
| void | slotOk () |
| virtual void | slotSaveTemplate (const QString &)=0 |
| virtual void | slotTemplatesChanged (const QStringList &) |
Protected Member Functions | |
| QWidget * | addDesignerTab (const QString &uifile) |
| void | cancelRemovedAttendees (Incidence *incidence) |
| void | createEmbeddedURLPages (Incidence *i) |
| virtual void | loadTemplate (CalendarLocal &)=0 |
| virtual void | processCancel () |
| virtual bool | processInput () |
| void | readDesignerFields (Incidence *i) |
| void | saveAsTemplate (Incidence *, const QString &name) |
| void | setupAttendeesTab () |
| void | setupDesignerTabs (const QString &type) |
| void | setupEmbeddedURLPage (const QString &label, const QString &url, const QString &mimetype) |
| virtual QStringList & | templates () const =0 |
| virtual QString | type () |
| void | writeDesignerFields (Incidence *i) |
Protected Attributes | |
| QList< QWidget * > | mAttachedDesignerFields |
| KOAttendeeEditor * | mAttendeeEditor |
| Calendar * | mCalendar |
| KOrg::IncidenceChangerBase * | mChanger |
| QMap< QWidget *, KPIM::DesignerFields * > | mDesignerFieldForWidget |
| QList< KPIM::DesignerFields * > | mDesignerFields |
| KOEditorDetails * | mDetails |
| QList< QWidget * > | mEmbeddedURLPages |
| bool | mIsCounter |
Constructor & Destructor Documentation
| KOIncidenceEditor::~KOIncidenceEditor | ( | ) | [virtual] |
Definition at line 89 of file koincidenceeditor.cpp.
Member Function Documentation
| void KOIncidenceEditor::addAttachments | ( | const QStringList & | attachments, | |
| const QStringList & | mimeTypes = QStringList(), |
|||
| bool | inlineAttachment = false | |||
| ) | [slot] |
| void KOIncidenceEditor::addAttendees | ( | const QStringList & | attendees | ) | [slot] |
Definition at line 222 of file koincidenceeditor.cpp.
| void KOIncidenceEditor::cancelRemovedAttendees | ( | Incidence * | incidence | ) | [protected] |
Definition at line 129 of file koincidenceeditor.cpp.
| void KOIncidenceEditor::createEmbeddedURLPages | ( | Incidence * | i | ) | [protected] |
Definition at line 321 of file koincidenceeditor.cpp.
| void KOIncidenceEditor::deleteAttendee | ( | Incidence * | ) | [signal] |
| void KOIncidenceEditor::deleteIncidenceSignal | ( | Incidence * | ) | [signal] |
| void KOIncidenceEditor::dialogClose | ( | Incidence * | ) | [signal] |
| void KOIncidenceEditor::editCanceled | ( | Incidence * | ) | [signal] |
| void KOIncidenceEditor::editCategories | ( | ) | [signal] |
| virtual void KOIncidenceEditor::editIncidence | ( | Incidence * | , | |
| Calendar * | ||||
| ) | [pure virtual, slot] |
| virtual void KOIncidenceEditor::init | ( | ) | [pure virtual, slot] |
Initialize editor.
This function creates the tab widgets.
Implemented in KOEventEditor, KOJournalEditor, and KOTodoEditor.
| virtual void KOIncidenceEditor::loadTemplate | ( | CalendarLocal & | ) | [protected, pure virtual] |
Implemented in KOEventEditor, KOJournalEditor, and KOTodoEditor.
| virtual void KOIncidenceEditor::modified | ( | int | = 0 |
) | [inline, virtual] |
This incidence has been modified externally.
Reimplemented in KOEventEditor, KOJournalEditor, and KOTodoEditor.
Definition at line 67 of file koincidenceeditor.h.
| void KOIncidenceEditor::openURL | ( | const KUrl & | url | ) | [protected, slot] |
Definition at line 364 of file koincidenceeditor.cpp.
| virtual void KOIncidenceEditor::processCancel | ( | ) | [inline, protected, virtual] |
| 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 143 of file koincidenceeditor.h.
| void KOIncidenceEditor::readDesignerFields | ( | Incidence * | i | ) | [protected] |
Definition at line 280 of file koincidenceeditor.cpp.
| virtual void KOIncidenceEditor::reload | ( | ) | [pure virtual] |
Implemented in KOEventEditor, KOJournalEditor, and KOTodoEditor.
| void KOIncidenceEditor::saveAsTemplate | ( | Incidence * | incidence, | |
| const QString & | name | |||
| ) | [protected] |
Definition at line 166 of file koincidenceeditor.cpp.
| void KOIncidenceEditor::selectInvitationCounterProposal | ( | bool | enable | ) | [virtual] |
| virtual void KOIncidenceEditor::setIncidenceChanger | ( | IncidenceChangerBase * | changer | ) | [inline, virtual, slot] |
Definition at line 76 of file koincidenceeditor.h.
| void KOIncidenceEditor::setupAttendeesTab | ( | ) | [protected] |
Definition at line 93 of file koincidenceeditor.cpp.
| void KOIncidenceEditor::setupDesignerTabs | ( | const QString & | type | ) | [protected] |
Definition at line 205 of file koincidenceeditor.cpp.
| void KOIncidenceEditor::setupEmbeddedURLPage | ( | const QString & | label, | |
| const QString & | url, | |||
| const QString & | mimetype | |||
| ) | [protected] |
Definition at line 302 of file koincidenceeditor.cpp.
| void KOIncidenceEditor::signalAddAttachments | ( | const QStringList & | attachments, | |
| const QStringList & | mimeTypes = QStringList(), |
|||
| bool | inlineAttachment = false | |||
| ) | [signal] |
| void KOIncidenceEditor::slotApply | ( | ) | [protected, slot] |
Definition at line 107 of file koincidenceeditor.cpp.
| void KOIncidenceEditor::slotCancel | ( | ) | [protected, slot] |
Definition at line 123 of file koincidenceeditor.cpp.
| void KOIncidenceEditor::slotLoadTemplate | ( | const QString & | templateName | ) | [protected, virtual, slot] |
Definition at line 182 of file koincidenceeditor.cpp.
| void KOIncidenceEditor::slotManageTemplates | ( | ) | [protected, virtual, slot] |
Definition at line 149 of file koincidenceeditor.cpp.
| void KOIncidenceEditor::slotOk | ( | ) | [protected, slot] |
Definition at line 112 of file koincidenceeditor.cpp.
| virtual void KOIncidenceEditor::slotSaveTemplate | ( | const QString & | ) | [protected, pure virtual, slot] |
Implemented in KOEventEditor, KOJournalEditor, and KOTodoEditor.
| void KOIncidenceEditor::slotTemplatesChanged | ( | const QStringList & | newTemplates | ) | [protected, virtual, slot] |
Definition at line 200 of file koincidenceeditor.cpp.
| virtual QStringList& KOIncidenceEditor::templates | ( | ) | const [protected, pure virtual] |
Implemented in KOEventEditor, KOJournalEditor, and KOTodoEditor.
| virtual QString KOIncidenceEditor::type | ( | ) | [inline, protected, virtual] |
Reimplemented in KOEventEditor, KOJournalEditor, and KOTodoEditor.
Definition at line 120 of file koincidenceeditor.h.
| void KOIncidenceEditor::updateCategoryConfig | ( | ) | [signal] |
| void KOIncidenceEditor::writeDesignerFields | ( | Incidence * | i | ) | [protected] |
Definition at line 289 of file koincidenceeditor.cpp.
Member Data Documentation
QList<QWidget*> KOIncidenceEditor::mAttachedDesignerFields [protected] |
Definition at line 158 of file koincidenceeditor.h.
KOAttendeeEditor* KOIncidenceEditor::mAttendeeEditor [protected] |
Definition at line 152 of file koincidenceeditor.h.
Calendar* KOIncidenceEditor::mCalendar [protected] |
Definition at line 149 of file koincidenceeditor.h.
KOrg::IncidenceChangerBase* KOIncidenceEditor::mChanger [protected] |
Definition at line 153 of file koincidenceeditor.h.
QMap<QWidget*, KPIM::DesignerFields*> KOIncidenceEditor::mDesignerFieldForWidget [protected] |
Definition at line 156 of file koincidenceeditor.h.
QList<KPIM::DesignerFields*> KOIncidenceEditor::mDesignerFields [protected] |
Definition at line 155 of file koincidenceeditor.h.
KOEditorDetails* KOIncidenceEditor::mDetails [protected] |
Definition at line 151 of file koincidenceeditor.h.
QList<QWidget*> KOIncidenceEditor::mEmbeddedURLPages [protected] |
Definition at line 157 of file koincidenceeditor.h.
bool KOIncidenceEditor::mIsCounter [protected] |
Definition at line 159 of file koincidenceeditor.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference