korganizer
KOTimeSpanView Class Reference
Inheritance diagram for KOTimeSpanView:

Detailed Description
Definition at line 32 of file kotimespanview.h.
Public Slots | |
virtual void | updateView () |
virtual void | showDates (const QDate &start, const QDate &end) |
virtual void | showIncidences (const Incidence::List &incidenceList) |
void | changeIncidenceDisplay (Incidence *, int) |
Public Member Functions | |
KOTimeSpanView (Calendar *calendar, QWidget *parent=0, const char *name=0) | |
~KOTimeSpanView () | |
virtual int | maxDatesHint () |
virtual int | currentDateCount () |
virtual Incidence::List | selectedIncidences () |
DateList | selectedDates () |
void | readSettings () |
void | writeSettings (KConfig *) |
Member Function Documentation
int KOTimeSpanView::maxDatesHint | ( | ) | [virtual] |
provides a hint back to the caller on the maximum number of dates that the view supports.
A return value of 0 means no maximum.
Implements KOEventView.
Definition at line 77 of file kotimespanview.cpp.
int KOTimeSpanView::currentDateCount | ( | ) | [virtual] |
Return number of currently shown dates.
A return value of 0 means no idea.
Implements KOrg::BaseView.
Definition at line 82 of file kotimespanview.cpp.
Incidence::List KOTimeSpanView::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 87 of file kotimespanview.cpp.
DateList KOTimeSpanView::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 43 of file kotimespanview.h.
void KOTimeSpanView::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 94 of file kotimespanview.cpp.
void KOTimeSpanView::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 100 of file kotimespanview.cpp.
void KOTimeSpanView::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 122 of file kotimespanview.cpp.
void KOTimeSpanView::changeIncidenceDisplay | ( | Incidence * | , | |
int | ||||
) | [virtual, slot] |
Updates the current display to reflect the changes to one particular incidence.
Implements KOrg::BaseView.
Definition at line 126 of file kotimespanview.cpp.
The documentation for this class was generated from the following files: