KOTodoEditor Class Reference
This class provides a dialog for editing a Todo. More...
#include <kotodoeditor.h>
Inheritance diagram for KOTodoEditor:

Signals | |
void | todoCompleted (Todo *) |
Public Member Functions | |
KOTodoEditor (Calendar *calendar, QWidget *parent) | |
void | init () |
void | reload () |
void | newTodo (QDateTime due, Todo *relatedTodo=0, bool allDay=false) |
void | newTodo (const QString &) |
void | newTodo (const QString &summary, const QString &description, const QString &attachment) |
void | newTodo (const QString &summary, const QString &description, const QString &attachment, const QStringList &attendees) |
void | editIncidence (Incidence *) |
void | setDefaults (QDateTime due, Todo *relatedTodo, bool allDay) |
void | readTodo (Todo *) |
void | writeTodo (Todo *) |
bool | validateInput () |
bool | processInput () |
void | processCancel () |
void | modified (int change=0) |
Protected Slots | |
void | loadDefaults () |
void | deleteTodo () |
void | slotLoadTemplate () |
void | saveTemplate (const QString &) |
Protected Member Functions | |
QString | type () |
void | setupGeneral () |
void | setupRecurrence () |
int | msgItemDelete () |
Detailed Description
This class provides a dialog for editing a Todo.
Definition at line 35 of file kotodoeditor.h.
Constructor & Destructor Documentation
|
Constructs a new todo editor.
Definition at line 54 of file kotodoeditor.cpp. References KOTodoEditor(). Referenced by KOTodoEditor(). |
Member Function Documentation
|
Initialize editor. This function creates the tab widgets. Implements KOIncidenceEditor. Definition at line 66 of file kotodoeditor.cpp. Referenced by editIncidence(), and newTodo(). |
|
Clear editor for new todo, and preset the dates and times with hint.
Definition at line 169 of file kotodoeditor.cpp. References init(), newTodo(), and setDefaults(). Referenced by CalendarView::newSubTodo(), newTodo(), and CalendarView::newTodo(). |
|
Edit new todo. Set summary and description from given text. Definition at line 177 of file kotodoeditor.cpp. |
|
Edit new todo.
Definition at line 196 of file kotodoeditor.cpp. |
|
Edit new todo.
Definition at line 214 of file kotodoeditor.cpp. References newTodo(). |
|
Edit an existing todo.
Implements KOIncidenceEditor. Definition at line 157 of file kotodoeditor.cpp. References editIncidence(), init(), and readTodo(). Referenced by editIncidence(), and CalendarView::editTodo(). |
|
Set widgets to default values.
Definition at line 334 of file kotodoeditor.cpp. References setDefaults(). Referenced by newTodo(), and setDefaults(). |
|
Read event object and setup widgets accordingly.
Definition at line 358 of file kotodoeditor.cpp. References readTodo(). Referenced by editIncidence(), and readTodo(). |
|
Write event settings to event object.
Definition at line 370 of file kotodoeditor.cpp. References writeTodo(). Referenced by processInput(), and writeTodo(). |
|
Check if the input is valid.
Definition at line 393 of file kotodoeditor.cpp. Referenced by processInput(). |
|
Process user input and create or update event. Returns false if input is not valid Reimplemented from KOIncidenceEditor. Definition at line 235 of file kotodoeditor.cpp. References validateInput(), and writeTodo(). |
|
This todo has been modified externally.
Reimplemented from KOIncidenceEditor. Definition at line 408 of file kotodoeditor.cpp. References modified(). Referenced by modified(). |
The documentation for this class was generated from the following files: