korganizer Library API Documentation

KOViewManager Class Reference

This class manages the views of the calendar. More...

#include <koviewmanager.h>

Inheritance diagram for KOViewManager:

Inheritance graph
[legend]
Collaboration diagram for KOViewManager:

Collaboration graph
[legend]
List of all members.

Public Slots

void showWhatsNextView ()
void showListView ()
void showAgendaView ()
void showDayView ()
void showWorkWeekView ()
void showWeekView ()
void showNextXView ()
void showMonthView ()
void showTodoView ()
void showJournalView ()
void showTimeSpanView ()
void showEventView ()
void connectTodoView (KOTodoView *todoView)

Public Member Functions

 KOViewManager (CalendarView *)
void showView (KOrg::BaseView *)
void readSettings (KConfig *config)
void writeSettings (KConfig *config)
void readCurrentView (KConfig *)
void writeCurrentView (KConfig *)
KOrg::BaseViewcurrentView ()
void setDocumentId (const QString &)
void updateView ()
void updateView (const QDate &start, const QDate &end)
void raiseCurrentView ()
void connectView (KOrg::BaseView *)
void addView (KOrg::BaseView *)
Incidence * currentSelection ()
QDate currentSelectionDate ()
KOAgendaViewagendaView () const
KOTodoViewtodoView () const

Detailed Description

This class manages the views of the calendar.

It owns the objects and handles creation and selection.

Definition at line 46 of file koviewmanager.h.


Member Function Documentation

void KOViewManager::showView KOrg::BaseView  ) 
 

changes the view to be the currently selected view

Definition at line 115 of file koviewmanager.cpp.

References CalendarView::adaptNavigationUnits(), KOrg::BaseView::isEventView(), CalendarView::processIncidenceSelection(), and CalendarView::updateView().

Referenced by CalendarView::showView().

void KOViewManager::readCurrentView KConfig *   ) 
 

Read which view was shown last from config file.

void KOViewManager::writeCurrentView KConfig *   ) 
 

Write which view is currently shown to config file.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for korganizer Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 17 09:56:43 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003