KOListView Class Reference
This class provides a multi-column list view of events. multi-column list view of various events. More...
#include <kolistview.h>
Inheritance diagram for KOListView:

Public Slots | |
| virtual void | updateView () |
| Updates the current display to reflect changes that may have happened in the calendar since the last display refresh. | |
| virtual void | showDates (const QDate &start, const QDate &end) |
| Show incidences for the given date range. | |
| virtual void | showEvents (QPtrList< Event > eventList) |
| Show given events. | |
| void | clearSelection () |
| Clear selection. | |
| void | showDates () |
| void | hideDates () |
| void | changeEventDisplay (Event *, int) |
| Updates the current display to reflect the changes to one particular event. | |
| void | defaultItemAction (QListViewItem *item) |
| void | popupMenu (QListViewItem *item, const QPoint &, int) |
Public Member Functions | |
| KOListView (Calendar *calendar, QWidget *parent=0, const char *name=0) | |
| virtual int | maxDatesHint () |
| provides a hint back to the caller on the maximum number of dates that the view supports. | |
| virtual int | currentDateCount () |
| Return number of currently shown dates. | |
| virtual QPtrList< Incidence > | selectedIncidences () |
| virtual DateList | selectedDates () |
| void | showDates (bool show) |
| virtual void | printPreview (CalPrinter *calPrinter, const QDate &, const QDate &) |
| Generate a print preview of this event view. | |
| void | readSettings (KConfig *config) |
| void | writeSettings (KConfig *config) |
| void | clear () |
Protected Slots | |
| void | processSelectionChange () |
Protected Member Functions | |
| void | addEvents (QPtrList< Event > eventList) |
| void | addTodos (QPtrList< Todo > eventList) |
| void | addIncidence (Incidence *) |
| KOListViewItem * | getItemForEvent (Event *event) |
Detailed Description
This class provides a multi-column list view of events. multi-column list view of various 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.
- Author:
- Preston Brown <pbrown@kde.org>
- See also:
- KOBaseView, KODayListView
Definition at line 70 of file kolistview.h.
Member Function Documentation
|
|
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 173 of file kolistview.cpp. |
|
|
Return number of currently shown dates. A return value of 0 means no idea. Implements KOrg::BaseView. Definition at line 178 of file kolistview.cpp. |
|
|
Implements KOrg::BaseView. Definition at line 183 of file kolistview.cpp. References QPtrList::append(). |
|
|
Implements KOrg::BaseView. Definition at line 193 of file kolistview.cpp. |
|
||||||||||||||||
|
Generate a print preview of this event view.
Reimplemented from KOrg::BaseView. Definition at line 218 of file kolistview.cpp. References CalPrinter::preview(). |
|
|
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 236 of file kolistview.cpp. |
|
||||||||||||
|
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.
Implements KOrg::BaseView. Definition at line 241 of file kolistview.cpp. References QDate::addDays(), and KOrg::BaseView::calendar(). |
|
|
Show given events. Depending on the actual view it might not be possible to show all given events.
Implements KOrg::BaseView. Definition at line 283 of file kolistview.cpp. |
|
|
Clear selection. The incidenceSelected signal is not emitted. Reimplemented from KOrg::BaseView. Definition at line 372 of file kolistview.cpp. |
|
||||||||||||
|
Updates the current display to reflect the changes to one particular event.
Implements KOrg::BaseView. Definition at line 293 of file kolistview.cpp. |
The documentation for this class was generated from the following files:
