26#ifndef _KOTODOEDITOR_H
27#define _KOTODOEDITOR_H
29#include "koincidenceeditor.h"
32class KOEditorGeneralTodo;
33class KOEditorRecurrence;
62 void setTexts( const TQString &summary, const TQString &description = TQString() );
67 void setDates( const TQDateTime &due, bool allDay = true, Todo *relatedTodo = 0 );
86 void slotSaveTemplate( const TQString & );
87 void updateRecurrenceSummary();
91 TQStringList& templates() const;
92 TQString type() { return "Todo"; }
94 void setupRecurrence();
103 KOEditorGeneralTodo *mGeneral;
104 KOEditorRecurrenceDialog *mRecurrenceDialog;
105 KOEditorRecurrence *mRecurrence;
This is the base class for the calendar component editors.
This class provides a dialog for editing a Todo.
void readTodo(Todo *todo, Calendar *calendar, const TQDate &date) Read event object and setup widgets accordingly.
void init() Initialize editor.
void setTexts(const TQString &summary, const TQString &description=TQString()) Sets the given summary and description.
void setDates(const TQDateTime &due, bool allDay=true, Todo *relatedTodo=0) Set widgets to default values.
void newTodo() Edit new todo.
void writeTodo(Todo *) Write event settings to event object.
bool processInput() Process user input and create or update event.
bool validateInput() Check if the input is valid.
void editIncidence(Incidence *incidence, const TQDate &date, Calendar *calendar) Edit an existing todo.
void modified() This todo has been modified externally.
|