KOTodoEditor Class Reference
This class provides a dialog for editing a Todo. More...
#include <kotodoeditor.h>
Inherits KOIncidenceEditor.
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 slotLoadTemplate ()
- void saveTemplate (const QString &)
Protected Member Functions
Detailed Description
This class provides a dialog for editing a Todo.
Constructor & Destructor Documentation
|
Constructs a new todo editor.
|
Member Function Documentation
|
Initialize editor. This function creates the tab widgets. Implements KOIncidenceEditor. |
|
Clear editor for new todo, and preset the dates and times with hint.
|
|
Edit new todo. Set summary and description from given text. |
|
Edit new todo.
|
|
Edit new todo.
|
|
Edit an existing todo.
Implements KOIncidenceEditor. |
|
Set widgets to default values.
|
|
Read event object and setup widgets accordingly.
|
|
Write event settings to event object.
|
|
Check if the input is valid.
|
|
Process user input and create or update event. Returns false if input is not valid Reimplemented from KOIncidenceEditor. |
|
This todo has been modified externally.
Reimplemented from KOIncidenceEditor. |
The documentation for this class was generated from the following files:
- kotodoeditor.h
- kotodoeditor.cpp