korganizer
KOWhatsNextView Class Reference
This class provides a view of the next events and todos. More...
#include <kowhatsnextview.h>

Public Slots | |
virtual void | updateView () |
virtual void | showDates (const TQDate &start, const TQDate &end) |
virtual void | showIncidences (const Incidence::List &incidenceList, const TQDate &date) |
void | changeIncidenceDisplay (Incidence *, int) |
Public Member Functions | |
KOWhatsNextView (Calendar *calendar, TQWidget *parent=0, const char *name=0) | |
virtual int | currentDateCount () |
virtual Incidence::List | selectedIncidences () |
DateList | selectedIncidenceDates () |
bool | supportsDateNavigation () const |
Protected Member Functions | |
void | appendEvent (Incidence *, const TQDateTime &start=TQDateTime(), const TQDateTime &end=TQDateTime()) |
void | appendTodo (Incidence *) |
Detailed Description
This class provides a view of the next events and todos.
Definition at line 51 of file kowhatsnextview.h.
Member Function Documentation
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 252 of file kowhatsnextview.cpp.
int KOWhatsNextView::currentDateCount | ( | ) | [virtual] |
Return number of currently shown dates.
A return value of 0 means no idea.
Implements KOrg::BaseView.
Definition at line 84 of file kowhatsnextview.cpp.
DateList KOWhatsNextView::selectedIncidenceDates | ( | ) | [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 62 of file kowhatsnextview.h.
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 61 of file kowhatsnextview.h.
void KOWhatsNextView::showDates | ( | const TQDate & | start, | |
const TQDate & | 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 241 of file kowhatsnextview.cpp.
void KOWhatsNextView::showIncidences | ( | const Incidence::List & | incidenceList, | |
const TQDate & | date | |||
) | [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. date is the TQDate on which the incidences are being shown.
Implements KOrg::BaseView.
Definition at line 248 of file kowhatsnextview.cpp.
bool KOWhatsNextView::supportsDateNavigation | ( | ) | const [inline, virtual] |
Returns true if the view supports navigation through the date navigator ( selecting a date range, changing month, changing year, etc.
)
Reimplemented from KOrg::BaseView.
Definition at line 64 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 89 of file kowhatsnextview.cpp.
The documentation for this class was generated from the following files: