korganizer
KOTimelineView Class Reference
#include <kotimelineview.h>
Inheritance diagram for KOTimelineView:

Detailed Description
This class provides a view ....
Definition at line 44 of file kotimelineview.h.
Public Member Functions | |
KOTimelineView (Calendar *calendar, QWidget *parent=0, const char *name=0) | |
~KOTimelineView () | |
virtual KCal::ListBase< KCal::Incidence > | selectedIncidences () |
virtual KCal::DateList | selectedDates () |
virtual int | currentDateCount () |
virtual void | showDates (const QDate &, const QDate &) |
virtual void | showIncidences (const KCal::ListBase< KCal::Incidence > &, const QDate &date) |
virtual void | updateView () |
virtual void | changeIncidenceDisplay (KCal::Incidence *incidence, int mode) |
virtual int | maxDatesHint () |
virtual bool | eventDurationHint (QDateTime &startDt, QDateTime &endDt, bool &allDay) |
Member Function Documentation
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.
KCal::DateList KOTimelineView::selectedDates | ( | ) | [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.
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.
void KOTimelineView::showDates | ( | const QDate & | , | |
const QDate & | ||||
) | [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.
void KOTimelineView::changeIncidenceDisplay | ( | KCal::Incidence * | incidence, | |
int | mode | |||
) | [virtual] |
Updates the current display to reflect the changes to one particular incidence.
Implements KOrg::BaseView.
Definition at line 178 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 59 of file kotimelineview.h.
bool KOTimelineView::eventDurationHint | ( | QDateTime & | startDt, | |
QDateTime & | endDt, | |||
bool & | allDay | |||
) | [virtual] |
Set the default start/end date/time for new events.
Return true if anything was changed
Reimplemented from KOrg::BaseView.
Definition at line 224 of file kotimelineview.cpp.
The documentation for this class was generated from the following files: