korganizer Library API Documentation

KOViewManager Class Reference

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

#include <koviewmanager.h>

Inheritance diagram for KOViewManager:

QObject 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 ()

Public Member Functions

 KOViewManager (CalendarView *)
void showView (KOrg::BaseView *)
 changes the view to be the currently selected view

void readSettings (KConfig *config)
void writeSettings (KConfig *config)
void readCurrentView (KConfig *)
 Read which view was shown last from config file.

void writeCurrentView (KConfig *)
 Write which view is currently shown to config file.

KOrg::BaseViewcurrentView ()
void setDocumentId (const QString &)
void updateView ()
void updateView (const QDate &start, const QDate &end)
void raiseCurrentView ()
void addView (KOrg::BaseView *)
Incidence * currentSelection ()
QDate currentSelectionDate ()
KOAgendaViewagendaView () const

Detailed Description

This class manages the views of the calendar.

It owns the objects and handles creation and selection.

Definition at line 47 of file koviewmanager.h.


Member Function Documentation

void KOViewManager::showView KOrg::BaseView  ) 
 

changes the view to be the currently selected view

Definition at line 111 of file koviewmanager.cpp.

References CalendarView::adaptNavigationUnits(), KOAgendaView::deleteSelectedDateTime(), 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 kdelibs Version 3.1.4.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sat Oct 18 02:47:32 2003 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001