KOViewManager Class Reference
#include <koviewmanager.h>
Inherits TQObject.
Public Types | |
enum | AgendaMode { AGENDA_NONE , AGENDA_DAY , AGENDA_WORK_WEEK , AGENDA_WEEK , AGENDA_NEXTX , AGENDA_OTHER } |
Public Slots | |
void | showWhatsNextView () |
void | showListView () |
void | showAgendaView () |
void | showDayView () |
void | showWorkWeekView () |
void | showWeekView () |
void | showNextXView () |
void | showMonthView () |
void | showTodoView () |
void | showTimelineView () |
void | showJournalView () |
void | showEventView () |
void | connectTodoView (KOTodoView *todoView) |
void | zoomInHorizontally () |
void | zoomOutHorizontally () |
void | zoomInVertically () |
void | zoomOutVertically () |
void | resourcesChanged () |
Public Member Functions | |
KOViewManager (CalendarView *) | |
void | showView (KOrg::BaseView *) |
void | readSettings (TDEConfig *config) |
void | writeSettings (TDEConfig *config) |
void | readCurrentView (TDEConfig *) |
void | writeCurrentView (TDEConfig *) |
KOrg::BaseView * | currentView () |
void | setDocumentId (const TQString &) |
void | updateView () |
void | updateView (const TQDate &start, const TQDate &end) |
void | goMenu (bool enable) |
void | raiseCurrentView () |
void | connectView (KOrg::BaseView *) |
void | addView (KOrg::BaseView *) |
Incidence * | currentSelection () |
TQDate | currentSelectionDate () |
KOAgendaView * | agendaView () const |
KOrg::MultiAgendaView * | multiAgendaView () const |
KOTodoView * | todoView () const |
KOMonthView * | monthView () const |
void | updateMultiCalendarDisplay () |
bool | agendaIsSelected () const |
AgendaMode | agendaMode () const |
Detailed Description
This class manages the views of the calendar.
It owns the objects and handles creation and selection.
Definition at line 52 of file koviewmanager.h.
Member Function Documentation
◆ agendaMode()
|
inline |
If the agenda view is selected it returns the current range mode: week, work week, day or nextX days.
Definition at line 117 of file koviewmanager.h.
◆ readCurrentView()
void KOViewManager::readCurrentView | ( | TDEConfig * | ) |
Read which view was shown last from config file.
◆ showView()
void KOViewManager::showView | ( | KOrg::BaseView * | view | ) |
changes the view to be the currently selected view
Definition at line 148 of file koviewmanager.cpp.
◆ writeCurrentView()
void KOViewManager::writeCurrentView | ( | TDEConfig * | ) |
Write which view is currently shown to config file.
The documentation for this class was generated from the following files: