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) | |
virtual | ~KOJournalEditor () |
void | init () |
void | reload () |
void | newJournal () |
void | setTexts (const QString &summary, const QString &description=QString::null) |
void | editIncidence (Incidence *) |
void | setDate (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 204 of file kojournaleditor.cpp. |
|
Clear editor for new Journal.
Definition at line 110 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 136 of file kojournaleditor.cpp. |
|
Read event object and setup widgets accordingly.
Definition at line 179 of file kojournaleditor.cpp. |
|
Set widgets to default values.
Definition at line 173 of file kojournaleditor.cpp. |
|
Sets the given summary and description. If description is empty and the summary contains multiple lines, the summary will be used as description and only the first line of summary will be used as the summary. Definition at line 117 of file kojournaleditor.cpp. |
|
Check if the input is valid.
Definition at line 192 of file kojournaleditor.cpp. |
|
Write event settings to event object.
Definition at line 186 of file kojournaleditor.cpp. |
The documentation for this class was generated from the following files: