#include <kojournaleditor.h>

Public Member Functions | |
KOJournalEditor (Calendar *calendar, TQWidget *parent) | |
void | init () |
void | reload () |
void | newJournal () |
void | setTexts (const TQString &summary, const TQString &description=TQString()) |
void | editIncidence (Incidence *, const TQDate &date, Calendar *) |
void | setDate (const TQDate &date) |
void | readJournal (Journal *, const TQDate &date) |
void | writeJournal (Journal *) |
int | msgItemDelete () |
bool | validateInput () |
bool | processInput () |
void | modified () |
![]() | |
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 | deleteJournal () |
void | slotSaveTemplate (const TQString &) |
![]() | |
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 | 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) |
![]() | |
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) |
![]() | |
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 a Journal.
Definition at line 46 of file kojournaleditor.h.
Constructor & Destructor Documentation
◆ KOJournalEditor()
KOJournalEditor::KOJournalEditor | ( | Calendar * | calendar, |
TQWidget * | parent | ||
) |
Constructs a new Journal editor.
Definition at line 46 of file kojournaleditor.cpp.
◆ ~KOJournalEditor()
|
virtual |
Definition at line 52 of file kojournaleditor.cpp.
Member Function Documentation
◆ deleteJournal
|
protectedslot |
Definition at line 164 of file kojournaleditor.cpp.
◆ editIncidence()
|
virtual |
Edit an existing Journal.
Implements KOIncidenceEditor.
Definition at line 99 of file kojournaleditor.cpp.
◆ init()
|
virtual |
Initialize editor.
This function creates the tab widgets.
Implements KOIncidenceEditor.
Definition at line 57 of file kojournaleditor.cpp.
◆ loadDefaults
|
protectedslot |
Definition at line 133 of file kojournaleditor.cpp.
◆ loadTemplate()
|
protectedvirtual |
Implements KOIncidenceEditor.
Definition at line 212 of file kojournaleditor.cpp.
◆ modified()
|
virtual |
This Journal has been modified externally.
Reimplemented from KOIncidenceEditor.
Definition at line 205 of file kojournaleditor.cpp.
◆ msgItemDelete()
int KOJournalEditor::msgItemDelete | ( | ) |
Definition at line 198 of file kojournaleditor.cpp.
◆ newJournal()
void KOJournalEditor::newJournal | ( | ) |
Clear editor for new Journal.
Definition at line 112 of file kojournaleditor.cpp.
◆ processInput()
|
virtual |
Process user input and create or update event.
Returns false if input is not valid
Reimplemented from KOIncidenceEditor.
Definition at line 138 of file kojournaleditor.cpp.
◆ readJournal()
void KOJournalEditor::readJournal | ( | Journal * | journal, |
const TQDate & | date | ||
) |
Read event object and setup widgets accordingly.
Definition at line 180 of file kojournaleditor.cpp.
◆ reload()
|
virtual |
Implements KOIncidenceEditor.
Definition at line 63 of file kojournaleditor.cpp.
◆ setDate()
void KOJournalEditor::setDate | ( | const TQDate & | date | ) |
Set widgets to default values.
Definition at line 174 of file kojournaleditor.cpp.
◆ setTexts()
void KOJournalEditor::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 119 of file kojournaleditor.cpp.
◆ setupGeneral()
|
protected |
Definition at line 71 of file kojournaleditor.cpp.
◆ slotSaveTemplate
|
protectedslot |
Definition at line 223 of file kojournaleditor.cpp.
◆ templates()
|
protectedvirtual |
Implements KOIncidenceEditor.
Definition at line 230 of file kojournaleditor.cpp.
◆ type()
|
inlineprotectedvirtual |
Reimplemented from KOIncidenceEditor.
Definition at line 99 of file kojournaleditor.h.
◆ validateInput()
bool KOJournalEditor::validateInput | ( | ) |
Check if the input is valid.
Definition at line 193 of file kojournaleditor.cpp.
◆ writeJournal()
void KOJournalEditor::writeJournal | ( | Journal * | journal | ) |
Write event settings to event object.
Definition at line 187 of file kojournaleditor.cpp.
The documentation for this class was generated from the following files: