26#ifndef KOJOURNALEDITOR_H
27#define KOJOURNALEDITOR_H
29#include "koincidenceeditor.h"
31#include <tqdatetime.h>
41class KOEditorGeneralJournal;
71 void setTexts( const TQString &summary, const TQString &description = TQString() );
76 void setDate( const TQDate &date );
96 void slotSaveTemplate( const TQString & );
99 TQString type() { return "Journal"; }
104 TQStringList& templates() const;
107 KOEditorGeneralJournal *mGeneral;
This is the base class for the calendar component editors.
This class provides a dialog for editing a Journal.
void newJournal() Clear editor for new Journal.
void modified() This Journal has been modified externally.
void editIncidence(Incidence *, const TQDate &date, Calendar *) Edit an existing Journal.
bool validateInput() Check if the input is valid.
void init() Initialize editor.
void setDate(const TQDate &date) Set widgets to default values.
void setTexts(const TQString &summary, const TQString &description=TQString()) Sets the given summary and description.
bool processInput() Process user input and create or update event.
void writeJournal(Journal *) Write event settings to event object.
void readJournal(Journal *, const TQDate &date) Read event object and setup widgets accordingly.
|