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) | |
void | init () |
void | reload () |
void | newTodo (const 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 (const QDateTime &due, Todo *relatedTodo, bool allDay) |
void | readTodo (Todo *) |
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 57 of file kotodoeditor.cpp. |
Member Function Documentation
|
Edit an existing todo.
Implements KOIncidenceEditor. Definition at line 159 of file kotodoeditor.cpp. |
|
Initialize editor. This function creates the tab widgets. Implements KOIncidenceEditor. Definition at line 69 of file kotodoeditor.cpp. |
|
This todo has been modified externally.
Reimplemented from KOIncidenceEditor. Definition at line 374 of file kotodoeditor.cpp. |
|
Edit new todo.
Definition at line 224 of file kotodoeditor.cpp. |
|
Edit new todo.
Definition at line 204 of file kotodoeditor.cpp. |
|
Edit new todo. Set summary and description from given text. Definition at line 183 of file kotodoeditor.cpp. |
|
Clear editor for new todo, and preset the dates and times with hint.
Definition at line 173 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 244 of file kotodoeditor.cpp. |
|
Read event object and setup widgets accordingly.
Definition at line 320 of file kotodoeditor.cpp. |
|
Set widgets to default values.
Definition at line 296 of file kotodoeditor.cpp. |
|
Check if the input is valid.
Definition at line 359 of file kotodoeditor.cpp. |
|
Write event settings to event object.
Definition at line 335 of file kotodoeditor.cpp. |
The documentation for this class was generated from the following files: