KDE PIM / Developers / API Docs / korganizer

KOTodoEditor Class Reference

This class provides a dialog for editing a Todo. More...

#include <kotodoeditor.h>

Inherits KOIncidenceEditor.

List of all members.

Public Member Functions

Protected Slots

Protected Member Functions


Detailed Description

This class provides a dialog for editing a Todo.


Constructor & Destructor Documentation

KOTodoEditor::KOTodoEditor Calendar *  calendar,
QWidget *  parent
 

Constructs a new todo editor.


Member Function Documentation

void KOTodoEditor::init  )  [virtual]
 

Initialize editor.

This function creates the tab widgets.

Implements KOIncidenceEditor.

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.

void KOTodoEditor::newTodo const QString &   ) 
 

Edit new todo.

Set summary and description from given text.

void KOTodoEditor::newTodo const QString &  summary,
const QString &  description,
const QString &  attachment
 

Edit new todo.

void KOTodoEditor::newTodo const QString &  summary,
const QString &  description,
const QString &  attachment,
const QStringList &  attendees
 

Edit new todo.

void KOTodoEditor::editIncidence Incidence *   )  [virtual]
 

Edit an existing todo.

Implements KOIncidenceEditor.

void KOTodoEditor::setDefaults const QDateTime &  due,
Todo *  relatedTodo,
bool  allDay
 

Set widgets to default values.

void KOTodoEditor::readTodo Todo *   ) 
 

Read event object and setup widgets accordingly.

void KOTodoEditor::writeTodo Todo *   ) 
 

Write event settings to event object.

bool KOTodoEditor::validateInput  ) 
 

Check if the input is valid.

bool KOTodoEditor::processInput  )  [virtual]
 

Process user input and create or update event.

Returns false if input is not valid

Reimplemented from KOIncidenceEditor.

void KOTodoEditor::modified int  change = 0  )  [virtual]
 

This todo has been modified externally.

Reimplemented from KOIncidenceEditor.


The documentation for this class was generated from the following files: