korganizer
KOJournalEditor Class Reference
#include <kojournaleditor.h>
Inheritance diagram for KOJournalEditor:

Detailed Description
This class provides a dialog for editing a Journal.
Definition at line 46 of file kojournaleditor.h.
Public Member Functions | |
KOJournalEditor (Calendar *calendar, QWidget *parent) | |
void | init () |
void | reload () |
void | newJournal (const QDate &date) |
void | newJournal (const QString &text, const QDate &date) |
void | newJournal (const QString &text) |
void | editIncidence (Incidence *) |
void | setDefaults (const QDate &date) |
void | readJournal (Journal *) |
void | writeJournal (Journal *) |
int | msgItemDelete () |
bool | validateInput () |
bool | processInput () |
void | modified (int change=0) |
Protected Slots | |
void | loadDefaults () |
void | deleteJournal () |
void | slotSaveTemplate (const QString &) |
Protected Member Functions | |
QString | type () |
void | setupGeneral () |
void | loadTemplate (CalendarLocal &) |
QStringList & | templates () const |
Constructor & Destructor Documentation
|
Constructs a new Journal editor.
Definition at line 46 of file kojournaleditor.cpp. |
Member Function Documentation
|
Edit an existing Journal.
Implements KOIncidenceEditor. Definition at line 97 of file kojournaleditor.cpp. |
|
Initialize editor. This function creates the tab widgets. Implements KOIncidenceEditor. Definition at line 57 of file kojournaleditor.cpp. |
|
This Journal has been modified externally.
Reimplemented from KOIncidenceEditor. Definition at line 221 of file kojournaleditor.cpp. |
|
Edit new Journal. Set summary and description from given text. Definition at line 117 of file kojournaleditor.cpp. |
|
Clear editor for new Journal, and preset the dates and times with hint.
Definition at line 109 of file kojournaleditor.cpp. |
|
Process user input and create or update event. Returns false if input is not valid Reimplemented from KOIncidenceEditor. Definition at line 153 of file kojournaleditor.cpp. |
|
Read event object and setup widgets accordingly.
Definition at line 196 of file kojournaleditor.cpp. |
|
Set widgets to default values.
Definition at line 190 of file kojournaleditor.cpp. |
|
Check if the input is valid.
Definition at line 209 of file kojournaleditor.cpp. |
|
Write event settings to event object.
Definition at line 203 of file kojournaleditor.cpp. |
The documentation for this class was generated from the following files: