korganizer
KOTodoEditor Class Reference
#include <kotodoeditor.h>

Detailed Description
This class provides a dialog for editing a Todo.Definition at line 39 of file kotodoeditor.h.
Public Member Functions | |
| void | editIncidence (Incidence *incidence, Calendar *calendar) |
| void | init () |
| KOTodoEditor (Calendar *calendar, QWidget *parent) | |
| void | modified (int change=0) |
| void | newTodo () |
| bool | processInput () |
| void | readTodo (Todo *todo, Calendar *calendar) |
| void | reload () |
| void | setDates (const QDateTime &due, bool allDay=true, Todo *relatedTodo=0) |
| void | setTexts (const QString &summary, const QString &description=QString(), bool richDescription=false) |
| bool | validateInput () |
| void | writeTodo (Todo *) |
| virtual | ~KOTodoEditor () |
Protected Slots | |
| void | deleteTodo () |
| void | loadDefaults () |
| void | slotSaveTemplate (const QString &) |
Protected Member Functions | |
| void | loadTemplate (CalendarLocal &) |
| int | msgItemDelete () |
| void | setupGeneral () |
| void | setupRecurrence () |
| QStringList & | templates () const |
| QString | type () |
Constructor & Destructor Documentation
| KOTodoEditor::KOTodoEditor | ( | Calendar * | calendar, | |
| QWidget * | parent | |||
| ) |
| KOTodoEditor::~KOTodoEditor | ( | ) | [virtual] |
Definition at line 61 of file kotodoeditor.cpp.
Member Function Documentation
| void KOTodoEditor::deleteTodo | ( | ) | [protected, slot] |
Definition at line 263 of file kotodoeditor.cpp.
| void KOTodoEditor::editIncidence | ( | Incidence * | incidence, | |
| Calendar * | calendar | |||
| ) | [virtual] |
Edit an existing todo.
Implements KOIncidenceEditor.
Definition at line 172 of file kotodoeditor.cpp.
| void KOTodoEditor::init | ( | ) | [virtual] |
Initialize editor.
This function creates the tab widgets.
Implements KOIncidenceEditor.
Definition at line 66 of file kotodoeditor.cpp.
| void KOTodoEditor::loadDefaults | ( | ) | [protected, slot] |
Definition at line 210 of file kotodoeditor.cpp.
| void KOTodoEditor::loadTemplate | ( | CalendarLocal & | cal | ) | [protected, virtual] |
| void KOTodoEditor::modified | ( | int | change = 0 |
) | [virtual] |
This todo has been modified externally.
Reimplemented from KOIncidenceEditor.
Definition at line 360 of file kotodoeditor.cpp.
| int KOTodoEditor::msgItemDelete | ( | ) | [protected] |
Definition at line 351 of file kotodoeditor.cpp.
| void KOTodoEditor::newTodo | ( | ) |
Edit new todo.
Use setter methods to set appropriate default values, as needed.
Definition at line 187 of file kotodoeditor.cpp.
| bool KOTodoEditor::processInput | ( | ) | [virtual] |
Process user input and create or update event.
Returns false if input is not valid.
Reimplemented from KOIncidenceEditor.
Definition at line 217 of file kotodoeditor.cpp.
| void KOTodoEditor::readTodo | ( | Todo * | todo, | |
| Calendar * | calendar | |||
| ) |
| void KOTodoEditor::reload | ( | ) | [virtual] |
| void KOTodoEditor::setDates | ( | const QDateTime & | due, | |
| bool | allDay = true, |
|||
| Todo * | relatedTodo = 0 | |||
| ) |
| void KOTodoEditor::setTexts | ( | const QString & | summary, | |
| const QString & | description = QString(), |
|||
| bool | richDescription = false | |||
| ) |
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 197 of file kotodoeditor.cpp.
| void KOTodoEditor::setupGeneral | ( | ) | [protected] |
Definition at line 93 of file kotodoeditor.cpp.
| void KOTodoEditor::setupRecurrence | ( | ) | [protected] |
Definition at line 157 of file kotodoeditor.cpp.
| void KOTodoEditor::slotSaveTemplate | ( | const QString & | templateName | ) | [protected, virtual, slot] |
| QStringList & KOTodoEditor::templates | ( | ) | const [protected, virtual] |
| QString KOTodoEditor::type | ( | ) | [inline, protected, virtual] |
| bool KOTodoEditor::validateInput | ( | ) |
| void KOTodoEditor::writeTodo | ( | Todo * | todo | ) |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference