KOrg::BaseView Class Reference
This class provides an interface for all views being displayed within the main calendar view. Base class for calendar views. More...
#include <baseview.h>
Inheritance diagram for KOrg::BaseView:

Public Slots | |
virtual void | showDates (const QDate &start, const QDate &end)=0 |
virtual void | showEvents (const Event::List &eventList)=0 |
virtual void | updateView ()=0 |
virtual void | flushView () |
virtual void | changeEventDisplay (Event *, int)=0 |
virtual void | updateConfig () |
virtual void | clearSelection () |
Signals | |
void | incidenceSelected (Incidence *) |
Public Methods | |
BaseView (Calendar *cal, QWidget *parent=0, const char *name=0) | |
virtual | ~BaseView () |
virtual void | setCalendar (Calendar *cal) |
virtual Calendar * | calendar () |
virtual Incidence::List | selectedIncidences ()=0 |
virtual DateList | selectedDates ()=0 |
virtual void | printPreview (CalPrinter *, const QDate &, const QDate &) |
virtual void | print (CalPrinter *) |
virtual CalPrinterBase::PrintType | printType () |
virtual int | currentDateCount ()=0 |
virtual bool | isEventView () |
Detailed Description
This class provides an interface for all views being displayed within the main calendar view. Base class for calendar views.It has functions to update the view, to specify date range and other display parameter and to return selected objects. An important class, which inherits KOBaseView is KOEventView, which provides the interface for all views of event data like the agenda or the month view.
- Author:
- Preston Brown, Cornelius Schumacher
- See also:
- KOTodoView, KOEventView, KOListView, KOAgendaView, KOMonthView
Definition at line 63 of file baseview.h.
Constructor & Destructor Documentation
|
Constructs a view.
Definition at line 75 of file baseview.h. |
|
Destructor. Views will do view-specific cleanups here. Definition at line 81 of file baseview.h. |
Member Function Documentation
|
Return calendar object of this view.
Definition at line 87 of file baseview.h. Referenced by KOAgendaView::fillAgenda(), KOListView::showDates(), KOJournalView::showDates(), KOAgendaView::slotTodoDropped(), KOWhatsNextView::updateView(), KOTodoView::updateView(), and KOProjectView::updateView(). |
|
Implemented in KOAgendaView, KOJournalView, KOListView, KOTodoView, KOWhatsNextView, and KOProjectView. Referenced by CalendarView::action_mail(). |
|
Implemented in KOAgendaView, KOJournalView, KOListView, KOTodoView, KOWhatsNextView, and KOProjectView. |
|
Generate a print preview of this event view.
Reimplemented in KOAgendaView, KOListView, KOTodoView, and KOWhatsNextView. Definition at line 115 of file baseview.h. |
|
Print this view.
Definition at line 126 of file baseview.h. |
|
Return number of currently shown dates. A return value of 0 means no idea. Implemented in KOAgendaView, KOJournalView, KOListView, KOTodoView, KOWhatsNextView, and KOProjectView. Referenced by CalendarView::adaptNavigationUnits(). |
|
Return if this view is a view for displaying events.
Reimplemented in KOEventView. Definition at line 143 of file baseview.h. Referenced by CalendarView::action_mail(), CalendarView::adaptNavigationUnits(), and KOViewManager::showView(). |
|
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.
Implemented in KOAgendaView, KOJournalView, KOListView, KOTodoView, KOWhatsNextView, and KOProjectView. |
|
Show given events. Depending on the actual view it might not be possible to show all given events.
Implemented in KOAgendaView, KOJournalView, KOListView, KOTodoView, KOWhatsNextView, and KOProjectView. |
|
Updates the current display to reflect changes that may have happened in the calendar since the last display refresh.
Implemented in KOAgendaView, KOJournalView, KOListView, KOTodoView, KOWhatsNextView, and KOProjectView. Referenced by CalendarView::changeEventDisplay(), and CalendarView::updateTodoViews(). |
|
Write all unsaved data back to calendar store.
Reimplemented in KOJournalView. Definition at line 173 of file baseview.h. Referenced by CalendarView::saveCalendar(). |
|
Updates the current display to reflect the changes to one particular event.
Implemented in KOAgendaView, KOJournalView, KOListView, KOTodoView, KOWhatsNextView, and KOProjectView. Referenced by CalendarView::changeEventDisplay(). |
|
Re-reads the KOrganizer configuration and picks up relevant changes which are applicable to the view.
Reimplemented in KOAgendaView, KOTodoView, and KOProjectView. Definition at line 184 of file baseview.h. |
|
Clear selection. The incidenceSelected signal is not emitted. Reimplemented in KOAgendaView, KOListView, and KOTodoView. Definition at line 189 of file baseview.h. |
The documentation for this class was generated from the following file: