#include <kotodoeditor.h>
Public Member Functions | |
| KOTodoEditor (Calendar *calendar, TQWidget *parent) | |
| void | init () |
| void | reload () |
| void | newTodo () |
| void | setTexts (const TQString &summary, const TQString &description=TQString()) |
| void | editIncidence (Incidence *incidence, const TQDate &date, Calendar *calendar) |
| void | setDates (const TQDateTime &due, bool allDay=true, Todo *relatedTodo=0) |
| void | readTodo (Todo *todo, Calendar *calendar, const TQDate &date) |
| void | writeTodo (Todo *) |
| bool | validateInput () |
| bool | processInput () |
| void | modified () |
Public Member Functions inherited from KOIncidenceEditor | |
| KOIncidenceEditor (const TQString &caption, Calendar *calendar, TQWidget *parent) | |
| 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 | deleteTodo () |
| void | slotSaveTemplate (const TQString &) |
| void | updateRecurrenceSummary () |
Protected Slots inherited from KOIncidenceEditor | |
| 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 | |
| void | loadTemplate (CalendarLocal &) |
| TQStringList & | templates () const |
| TQString | type () |
| void | setupGeneral () |
| void | setupRecurrence () |
| int | msgItemDelete () |
Protected Member Functions inherited from KOIncidenceEditor | |
| 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 void | processCancel () |
| void | cancelRemovedAttendees (Incidence *incidence) |
Additional Inherited Members | |
Public Slots inherited from KOIncidenceEditor | |
| virtual void | setIncidenceChanger (IncidenceChangerBase *changer) |
| void | addAttachments (const TQStringList &attachments, const TQStringList &mimeTypes=TQStringList(), bool inlineAttachment=false) |
| void | addAttendees (const TQStringList &attendees) |
Signals inherited from KOIncidenceEditor | |
| 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) |
Protected Attributes inherited from KOIncidenceEditor | |
| 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 Todo.
Definition at line 37 of file kotodoeditor.h.
Constructor & Destructor Documentation
◆ KOTodoEditor()
| KOTodoEditor::KOTodoEditor | ( | Calendar * | calendar, |
| TQWidget * | parent | ||
| ) |
Constructs a new todo editor.
Definition at line 54 of file kotodoeditor.cpp.
◆ ~KOTodoEditor()
|
virtual |
Definition at line 60 of file kotodoeditor.cpp.
Member Function Documentation
◆ deleteTodo
|
protectedslot |
Definition at line 249 of file kotodoeditor.cpp.
◆ editIncidence()
|
virtual |
Edit an existing todo.
Implements KOIncidenceEditor.
Definition at line 151 of file kotodoeditor.cpp.
◆ init()
|
virtual |
Initialize editor.
This function creates the tab widgets.
Implements KOIncidenceEditor.
Definition at line 65 of file kotodoeditor.cpp.
◆ loadDefaults
|
protectedslot |
Definition at line 187 of file kotodoeditor.cpp.
◆ loadTemplate()
|
protectedvirtual |
Implements KOIncidenceEditor.
Definition at line 341 of file kotodoeditor.cpp.
◆ modified()
|
virtual |
This todo has been modified externally.
Reimplemented from KOIncidenceEditor.
Definition at line 334 of file kotodoeditor.cpp.
◆ msgItemDelete()
|
protected |
Definition at line 327 of file kotodoeditor.cpp.
◆ newTodo()
| void KOTodoEditor::newTodo | ( | ) |
Edit new todo.
Use the set* methods to set appropriate default values if needed
Definition at line 165 of file kotodoeditor.cpp.
◆ processInput()
|
virtual |
Process user input and create or update event.
Returns false if input is not valid
Reimplemented from KOIncidenceEditor.
Definition at line 194 of file kotodoeditor.cpp.
◆ readTodo()
Read event object and setup widgets accordingly.
Definition at line 280 of file kotodoeditor.cpp.
◆ reload()
|
virtual |
Implements KOIncidenceEditor.
Definition at line 90 of file kotodoeditor.cpp.
◆ setDates()
| void KOTodoEditor::setDates | ( | const TQDateTime & | due, |
| bool | allDay = true, |
||
| Todo * | relatedTodo = 0 |
||
| ) |
Set widgets to default values.
Definition at line 258 of file kotodoeditor.cpp.
◆ setTexts()
| void KOTodoEditor::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 175 of file kotodoeditor.cpp.
◆ setupGeneral()
|
protected |
Definition at line 97 of file kotodoeditor.cpp.
◆ setupRecurrence()
|
protected |
Definition at line 144 of file kotodoeditor.cpp.
◆ slotSaveTemplate
|
protectedslot |
Definition at line 352 of file kotodoeditor.cpp.
◆ templates()
|
protectedvirtual |
Implements KOIncidenceEditor.
Definition at line 359 of file kotodoeditor.cpp.
◆ type()
|
inlineprotectedvirtual |
Reimplemented from KOIncidenceEditor.
Definition at line 92 of file kotodoeditor.h.
◆ updateRecurrenceSummary
|
protectedslot |
Definition at line 364 of file kotodoeditor.cpp.
◆ validateInput()
| bool KOTodoEditor::validateInput | ( | ) |
Check if the input is valid.
Definition at line 319 of file kotodoeditor.cpp.
◆ writeTodo()
| void KOTodoEditor::writeTodo | ( | Todo * | todo | ) |
Write event settings to event object.
Definition at line 295 of file kotodoeditor.cpp.
The documentation for this class was generated from the following files:

Public Member Functions inherited from