korganizer
KOTodoEditor Class Reference
#include <kotodoeditor.h>
Inheritance diagram for KOTodoEditor:

Detailed Description
This class provides a dialog for editing a Todo.
Definition at line 37 of file kotodoeditor.h.
Public Member Functions | |
KOTodoEditor (Calendar *calendar, QWidget *parent) | |
virtual | ~KOTodoEditor () |
void | init () |
void | reload () |
void | newTodo () |
void | setTexts (const QString &summary, const QString &description=QString::null) |
void | editIncidence (Incidence *incidence, Calendar *calendar) |
void | setDates (const QDateTime &due, bool allDay=true, Todo *relatedTodo=0) |
void | readTodo (Todo *todo, Calendar *calendar) |
void | writeTodo (Todo *) |
bool | validateInput () |
bool | processInput () |
void | modified (int change=0) |
Protected Slots | |
void | loadDefaults () |
void | deleteTodo () |
void | slotSaveTemplate (const QString &) |
Protected Member Functions | |
void | loadTemplate (CalendarLocal &) |
QStringList & | templates () const |
QString | type () |
void | setupGeneral () |
void | setupRecurrence () |
int | msgItemDelete () |
Constructor & Destructor Documentation
|
Constructs a new todo editor.
Definition at line 54 of file kotodoeditor.cpp. |
Member Function Documentation
|
Edit an existing todo.
Implements KOIncidenceEditor. Definition at line 160 of file kotodoeditor.cpp. |
|
Initialize editor. This function creates the tab widgets. Implements KOIncidenceEditor. Definition at line 67 of file kotodoeditor.cpp. |
|
This todo has been modified externally.
Reimplemented from KOIncidenceEditor. Definition at line 331 of file kotodoeditor.cpp. |
|
Edit new todo. Use the set* methods to set appropriate default values if needed Definition at line 176 of file kotodoeditor.cpp. |
|
Process user input and create or update event. Returns false if input is not valid Reimplemented from KOIncidenceEditor. Definition at line 207 of file kotodoeditor.cpp. |
|
Read event object and setup widgets accordingly.
Definition at line 280 of file kotodoeditor.cpp. |
|
Set widgets to default values.
Definition at line 259 of file kotodoeditor.cpp. |
|
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 186 of file kotodoeditor.cpp. |
|
Check if the input is valid.
Definition at line 316 of file kotodoeditor.cpp. |
|
Write event settings to event object.
Definition at line 293 of file kotodoeditor.cpp. |
The documentation for this class was generated from the following files: