korganizer
KOWhatsNextView Class Reference
#include <kowhatsnextview.h>
Inheritance diagram for KOWhatsNextView:

Detailed Description
This class provides a view of the next events and todos.
Definition at line 50 of file kowhatsnextview.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 | |
| KOWhatsNextView (Calendar *calendar, QWidget *parent=0, const char *name=0) | |
| ~KOWhatsNextView () | |
| virtual int | currentDateCount () |
| virtual Incidence::List | selectedIncidences () |
| DateList | selectedDates () |
Protected Member Functions | |
| void | appendEvent (Incidence *, const QDateTime &start=QDateTime(), const QDateTime &end=QDateTime()) |
| void | appendTodo (Incidence *) |
Member Function Documentation
| int KOWhatsNextView::currentDateCount | ( | ) | [virtual] |
Return number of currently shown dates.
A return value of 0 means no idea.
Implements KOrg::BaseView.
Definition at line 83 of file kowhatsnextview.cpp.
| virtual Incidence::List KOWhatsNextView::selectedIncidences | ( | ) | [inline, 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 59 of file kowhatsnextview.h.
| DateList KOWhatsNextView::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 60 of file kowhatsnextview.h.
| void KOWhatsNextView::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 88 of file kowhatsnextview.cpp.
| void KOWhatsNextView::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 240 of file kowhatsnextview.cpp.
| void KOWhatsNextView::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 247 of file kowhatsnextview.cpp.
| void KOWhatsNextView::changeIncidenceDisplay | ( | Incidence * | , | |
| int | ||||
| ) | [virtual, slot] |
Updates the current display to reflect the changes to one particular incidence.
Implements KOrg::BaseView.
Definition at line 251 of file kowhatsnextview.cpp.
The documentation for this class was generated from the following files:

