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 (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
KOJournalEditor::KOJournalEditor | ( | Calendar * | calendar, | |
QWidget * | parent | |||
) |
Member Function Documentation
void KOJournalEditor::init | ( | ) | [virtual] |
Initialize editor.
This function creates the tab widgets.
Implements KOIncidenceEditor.
Definition at line 57 of file kojournaleditor.cpp.
void KOJournalEditor::newJournal | ( | const QDate & | date | ) |
Clear editor for new Journal, and preset the dates and times with hint.
Definition at line 109 of file kojournaleditor.cpp.
void KOJournalEditor::newJournal | ( | const QString & | text | ) |
Edit new Journal.
Set summary and description from given text.
Definition at line 117 of file kojournaleditor.cpp.
void KOJournalEditor::editIncidence | ( | Incidence * | ) | [virtual] |
Edit an existing Journal.
Implements KOIncidenceEditor.
Definition at line 97 of file kojournaleditor.cpp.
void KOJournalEditor::setDefaults | ( | const QDate & | date | ) |
void KOJournalEditor::readJournal | ( | Journal * | ) |
Read event object and setup widgets accordingly.
Definition at line 196 of file kojournaleditor.cpp.
void KOJournalEditor::writeJournal | ( | Journal * | ) |
bool KOJournalEditor::validateInput | ( | ) |
bool KOJournalEditor::processInput | ( | ) | [virtual] |
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.
void KOJournalEditor::modified | ( | int | change = 0 |
) | [virtual] |
This Journal has been modified externally.
Reimplemented from KOIncidenceEditor.
Definition at line 221 of file kojournaleditor.cpp.
The documentation for this class was generated from the following files: