korganizer

KOWhatsNextView Class Reference

This class provides a view of the next events and todos. More...

#include <kowhatsnextview.h>

Inheritance diagram for KOWhatsNextView:

KOrg::BaseView

List of all members.


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 50 of file kowhatsnextview.h.


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 84 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::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 60 of file kowhatsnextview.h.

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 62 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.

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::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.


The documentation for this class was generated from the following files: