KOJournalEditor Class Reference
This class provides a dialog for editing a Journal. More...
#include <kojournaleditor.h>
Inheritance diagram for KOJournalEditor:


Public Member Functions | |
KOJournalEditor (Calendar *calendar, QWidget *parent) | |
void | init () |
void | reload () |
void | newJournal (QDate date) |
void | newJournal (const QString &text, QDate date) |
void | newJournal (const QString &text) |
void | newJournal (const QString &summary, const QString &description, const QString &attachment) |
void | editIncidence (Incidence *) |
void | setDefaults (QDate date) |
void | readJournal (Journal *) |
void | writeJournal (Journal *) |
int | msgItemDelete () |
bool | validateInput () |
bool | processInput () |
void | processCancel () |
void | modified (int change=0) |
Protected Slots | |
void | loadDefaults () |
void | deleteJournal () |
void | slotLoadTemplate () |
void | saveTemplate (const QString &) |
Protected Member Functions | |
QString | type () |
void | setupGeneral () |
Detailed Description
This class provides a dialog for editing a Journal.
Definition at line 46 of file kojournaleditor.h.
Constructor & Destructor Documentation
|
Constructs a new Journal editor.
Definition at line 44 of file kojournaleditor.cpp. |
Member Function Documentation
|
Initialize editor. This function creates the tab widgets. Implements KOIncidenceEditor. Definition at line 55 of file kojournaleditor.cpp. Referenced by editIncidence(), and newJournal(). |
|
Clear editor for new Journal, and preset the dates and times with hint.
Definition at line 104 of file kojournaleditor.cpp. References init(), and setDefaults(). |
|
Edit new Journal. Set summary and description from given text. Definition at line 112 of file kojournaleditor.cpp. References init(). |
|
Edit new Journal.
|
|
Edit an existing Journal.
Implements KOIncidenceEditor. Definition at line 92 of file kojournaleditor.cpp. References init(), and readJournal(). Referenced by CalendarView::editJournal(). |
|
Set widgets to default values.
Definition at line 209 of file kojournaleditor.cpp. Referenced by newJournal(). |
|
Read event object and setup widgets accordingly.
Definition at line 214 of file kojournaleditor.cpp. Referenced by editIncidence(). |
|
Write event settings to event object.
Definition at line 220 of file kojournaleditor.cpp. Referenced by processInput(). |
|
Check if the input is valid.
Definition at line 225 of file kojournaleditor.cpp. Referenced by processInput(). |
|
Process user input and create or update event. Returns false if input is not valid Reimplemented from KOIncidenceEditor. Definition at line 141 of file kojournaleditor.cpp. References validateInput(), and writeJournal(). |
|
This Journal has been modified externally.
Reimplemented from KOIncidenceEditor. Definition at line 237 of file kojournaleditor.cpp. |
The documentation for this class was generated from the following files: