#include <kolistview.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 | clearSelection () |
void | showDates () |
void | hideDates () |
void | changeIncidenceDisplay (Incidence *, int) |
void | defaultItemAction (TQListViewItem *item) |
void | popupMenu (TQListViewItem *item, const TQPoint &, int) |
Public Member Functions | |
KOListView (Calendar *calendar, TQWidget *parent=0, const char *name=0, bool nonInteractive=false) | |
virtual int | maxDatesHint () |
virtual int | currentDateCount () |
virtual Incidence::List | selectedIncidences () |
virtual DateList | selectedIncidenceDates () |
void | showDates (bool show) |
void | showAll () |
void | readSettings (TDEConfig *config) |
void | writeSettings (TDEConfig *config) |
void | clear () |
TQSize | sizeHint () const |
Protected Slots | |
void | processSelectionChange () |
Protected Member Functions | |
void | addIncidences (const Incidence::List &, const TQDate &date) |
void | addIncidence (Incidence *, const TQDate &date) |
KOListViewItem * | getItemForIncidence (Incidence *incidence) |
Detailed Description
This class provides a multi-column list view of events.
It can display events from one particular day or several days, it doesn't matter. To use a view that only handles one day at a time, use KODayListView.
multi-column list view of various events.
- See also:
- KOBaseView, KODayListView
Definition at line 68 of file kolistview.h.
Member Function Documentation
void KOListView::changeIncidenceDisplay | ( | Incidence * | , |
int | |||
) | [virtual, slot] |
Updates the current display to reflect the changes to one particular incidence.
Implements KOrg::BaseView.
Definition at line 381 of file kolistview.cpp.
void KOListView::clearSelection | ( | ) | [virtual, slot] |
Clear selection.
The incidenceSelected signal is not emitted.
Reimplemented from KOrg::BaseView.
Definition at line 489 of file kolistview.cpp.
int KOListView::currentDateCount | ( | ) | [virtual] |
Return number of currently shown dates.
A return value of 0 means no idea.
Implements KOrg::BaseView.
Definition at line 264 of file kolistview.cpp.
int KOListView::maxDatesHint | ( | ) | [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 259 of file kolistview.cpp.
DateList KOListView::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 281 of file kolistview.cpp.
Incidence::List KOListView::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 269 of file kolistview.cpp.
void KOListView::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 320 of file kolistview.cpp.
void KOListView::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 371 of file kolistview.cpp.
void KOListView::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 315 of file kolistview.cpp.
The documentation for this class was generated from the following files: