KOJournalEditor Class Reference
This class provides a dialog for editing a Journal. More...
#include <kojournaleditor.h>
Inherits KOIncidenceEditor.
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 slotLoadTemplate ()
- void saveTemplate (const QString &)
Protected Member Functions
Detailed Description
This class provides a dialog for editing a Journal.
Constructor & Destructor Documentation
|
Constructs a new Journal editor.
|
Member Function Documentation
|
Initialize editor. This function creates the tab widgets. Implements KOIncidenceEditor. |
|
Clear editor for new Journal, and preset the dates and times with hint.
|
|
Edit new Journal. Set summary and description from given text. |
|
Edit an existing Journal.
Implements KOIncidenceEditor. |
|
Set widgets to default values.
|
|
Read event object and setup widgets accordingly.
|
|
Write event settings to event object.
|
|
Check if the input is valid.
|
|
Process user input and create or update event. Returns false if input is not valid Reimplemented from KOIncidenceEditor. |
|
This Journal has been modified externally.
Reimplemented from KOIncidenceEditor. |
The documentation for this class was generated from the following files:
- kojournaleditor.h
- kojournaleditor.cpp