#include <kotimelineview.h>

Public Member Functions | |
KOTimelineView (Calendar *calendar, TQWidget *parent=0, const char *name=0) | |
virtual KCal::ListBase < KCal::Incidence > | selectedIncidences () |
virtual KCal::DateList | selectedIncidenceDates () |
virtual int | currentDateCount () |
virtual void | showDates (const TQDate &, const TQDate &) |
virtual void | showIncidences (const KCal::ListBase< KCal::Incidence > &, const TQDate &date) |
virtual void | updateView () |
virtual void | changeIncidenceDisplay (KCal::Incidence *incidence, int mode) |
virtual int | maxDatesHint () |
virtual bool | eventDurationHint (TQDateTime &startDt, TQDateTime &endDt, bool &allDay) |
Detailed Description
This class provides a view ....
Definition at line 44 of file kotimelineview.h.
Member Function Documentation
void KOTimelineView::changeIncidenceDisplay | ( | KCal::Incidence * | , |
int | |||
) | [virtual] |
Updates the current display to reflect the changes to one particular incidence.
Implements KOrg::BaseView.
Definition at line 178 of file kotimelineview.cpp.
int KOTimelineView::currentDateCount | ( | ) | [virtual] |
Return number of currently shown dates.
A return value of 0 means no idea.
Implements KOrg::BaseView.
Definition at line 97 of file kotimelineview.cpp.
bool KOTimelineView::eventDurationHint | ( | TQDateTime & | , |
TQDateTime & | , | ||
bool & | |||
) | [virtual] |
Set the default start/end date/time for new events.
Return true if anything was changed
Reimplemented from KOrg::BaseView.
Definition at line 225 of file kotimelineview.cpp.
virtual int KOTimelineView::maxDatesHint | ( | ) | [inline, 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 60 of file kotimelineview.h.
KCal::DateList KOTimelineView::selectedIncidenceDates | ( | ) | [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 91 of file kotimelineview.cpp.
KCal::ListBase< KCal::Incidence > KOTimelineView::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 85 of file kotimelineview.cpp.
void KOTimelineView::showDates | ( | const TQDate & | start, |
const TQDate & | end | ||
) | [virtual] |
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 103 of file kotimelineview.cpp.
void KOTimelineView::updateView | ( | ) | [virtual] |
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 171 of file kotimelineview.cpp.
The documentation for this class was generated from the following files: