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
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 | ( | ) |
void KOJournalEditor::setTexts | ( | const QString & | summary, | |
const QString & | description = QString::null | |||
) |
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.
void KOJournalEditor::editIncidence | ( | Incidence * | ) | [virtual] |
Edit an existing Journal.
Implements KOIncidenceEditor.
Definition at line 97 of file kojournaleditor.cpp.
void KOJournalEditor::setDate | ( | const QDate & | date | ) |
void KOJournalEditor::readJournal | ( | Journal * | ) |
Read event object and setup widgets accordingly.
Definition at line 179 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 136 of file kojournaleditor.cpp.
void KOJournalEditor::modified | ( | int | change = 0 |
) | [virtual] |
This Journal has been modified externally.
Reimplemented from KOIncidenceEditor.
Definition at line 204 of file kojournaleditor.cpp.
The documentation for this class was generated from the following files: