korganizer
KOJournalView Class Reference
#include <kojournalview.h>
Inheritance diagram for KOJournalView:

Detailed Description
This class provides a journal view.View for Journal components.
- See also:
- KOBaseView
Definition at line 41 of file kojournalview.h.
Public Slots | |
| virtual void | dayPassed (const QDate &) |
| void | updateView () |
| void | flushView () |
| void | showDates (const QDate &start, const QDate &end) |
| void | showIncidences (const Incidence::List &incidenceList) |
| void | changeIncidenceDisplay (Incidence *, int) |
| void | setIncidenceChanger (IncidenceChangerBase *changer) |
| void | newJournal () |
Signals | |
| void | flushEntries () |
| void | setIncidenceChangerSignal (IncidenceChangerBase *) |
| void | journalEdited (Journal *) |
| void | journalDeleted (Journal *) |
Public Member Functions | |
| KOJournalView (Calendar *calendar, QWidget *parent=0, const char *name=0) | |
| ~KOJournalView () | |
| virtual int | currentDateCount () |
| virtual Incidence::List | selectedIncidences () |
| DateList | selectedDates () |
| void | appendJournal (Journal *journal, const QDate &dt) |
| CalPrinterBase::PrintType | printType () |
Protected Member Functions | |
| void | clearEntries () |
Member Function Documentation
| int KOJournalView::currentDateCount | ( | ) | [virtual] |
Return number of currently shown dates.
A return value of 0 means no idea.
Implements KOrg::BaseView.
Definition at line 96 of file kojournalview.cpp.
| Incidence::List KOJournalView::selectedIncidences | ( | ) | [virtual] |
- Returns:
- a list of selected events.
Most views can probably only select a single event at a time, but some may be able to select more than one.
Implements KOrg::BaseView.
Definition at line 101 of file kojournalview.cpp.
| DateList KOJournalView::selectedDates | ( | ) | [inline, virtual] |
- Returns:
- a list of the dates of selected events.
Most views can probably only select a single event at a time, but some may be able to select more than one.
Implements KOrg::BaseView.
Definition at line 51 of file kojournalview.h.
| void KOJournalView::updateView | ( | ) | [virtual, slot] |
Updates the current display to reflect changes that may have happened in the calendar since the last display refresh.
Implements KOrg::BaseView.
Definition at line 118 of file kojournalview.cpp.
| void KOJournalView::flushView | ( | ) | [virtual, slot] |
Write all unsaved data back to calendar store.
Reimplemented from KOrg::BaseView.
Definition at line 131 of file kojournalview.cpp.
| void KOJournalView::showDates | ( | const QDate & | start, | |
| const QDate & | end | |||
| ) | [virtual, slot] |
Show incidences for the given date range.
The date range actually shown may be different from the requested range, depending on the particular requirements of the view.
- Parameters:
-
start Start of date range. end End of date range.
Implements KOrg::BaseView.
Definition at line 137 of file kojournalview.cpp.
| void KOJournalView::showIncidences | ( | const Incidence::List & | incidenceList | ) | [virtual, slot] |
Show given incidences.
Depending on the actual view it might not be possible to show all given events.
- Parameters:
-
incidenceList a list of incidences to show.
Implements KOrg::BaseView.
Definition at line 158 of file kojournalview.cpp.
| void KOJournalView::changeIncidenceDisplay | ( | Incidence * | , | |
| int | ||||
| ) | [virtual, slot] |
Updates the current display to reflect the changes to one particular incidence.
Implements KOrg::BaseView.
Definition at line 176 of file kojournalview.cpp.
| void KOJournalView::setIncidenceChanger | ( | IncidenceChangerBase * | changer | ) | [virtual, slot] |
Assign a new incidence change helper object.
Reimplemented from KOrg::BaseView.
Definition at line 197 of file kojournalview.cpp.
The documentation for this class was generated from the following files:

