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 ()
void showEventView ()
void connectTodoView (KOTodoView *todoView)

Public Methods

 KOViewManager (CalendarView *)
virtual ~KOViewManager ()
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 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 114 of file koviewmanager.cpp.

References CalendarView::adaptNavigationUnits(), KOAgendaView::deleteSelectedDateTime(), 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.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:38:33 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003