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 (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
KOTodoEditor::KOTodoEditor | ( | Calendar * | calendar, | |
QWidget * | parent | |||
) |
Member Function Documentation
void KOTodoEditor::init | ( | ) | [virtual] |
Initialize editor.
This function creates the tab widgets.
Implements KOIncidenceEditor.
Definition at line 69 of file kotodoeditor.cpp.
void KOTodoEditor::newTodo | ( | const QDateTime & | due, | |
Todo * | relatedTodo = 0 , |
|||
bool | allDay = false | |||
) |
Clear editor for new todo, and preset the dates and times with hint.
Definition at line 173 of file kotodoeditor.cpp.
void KOTodoEditor::newTodo | ( | const QString & | ) |
Edit new todo.
Set summary and description from given text.
Definition at line 183 of file kotodoeditor.cpp.
void KOTodoEditor::newTodo | ( | const QString & | summary, | |
const QString & | description, | |||
const QString & | attachment | |||
) |
void KOTodoEditor::newTodo | ( | const QString & | summary, | |
const QString & | description, | |||
const QString & | attachment, | |||
const QStringList & | attendees | |||
) |
void KOTodoEditor::editIncidence | ( | Incidence * | ) | [virtual] |
Edit an existing todo.
Implements KOIncidenceEditor.
Definition at line 159 of file kotodoeditor.cpp.
void KOTodoEditor::setDefaults | ( | const QDateTime & | due, | |
Todo * | relatedTodo, | |||
bool | allDay | |||
) |
void KOTodoEditor::readTodo | ( | Todo * | ) |
void KOTodoEditor::writeTodo | ( | Todo * | ) |
bool KOTodoEditor::validateInput | ( | ) |
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 244 of file kotodoeditor.cpp.
void KOTodoEditor::modified | ( | int | change = 0 |
) | [virtual] |
This todo has been modified externally.
Reimplemented from KOIncidenceEditor.
Definition at line 374 of file kotodoeditor.cpp.
The documentation for this class was generated from the following files: