korganizer

KOViewManager Class Reference

#include <koviewmanager.h>

Inherits QObject.

List of all members.


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.


Public Types

enum  AgendaMode {
  AGENDA_NONE, AGENDA_DAY, AGENDA_WORK_WEEK, AGENDA_WEEK,
  AGENDA_NEXTX
}

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 (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 goMenu (bool enable)
void raiseCurrentView ()
void connectView (KOrg::BaseView *)
void addView (KOrg::BaseView *)
IncidencecurrentSelection ()
QDate currentSelectionDate ()
KOAgendaViewagendaView () const
KOrg::MultiAgendaViewmultiAgendaView () const
KOTodoViewtodoView () const
KOMonthViewmonthView () const
void updateMultiCalendarDisplay ()
AgendaMode agendaMode ()

Member Function Documentation

void KOViewManager::showView ( KOrg::BaseView view  ) 

changes the view to be the currently selected view

Definition at line 121 of file koviewmanager.cpp.

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.

AgendaMode KOViewManager::agendaMode (  )  [inline]

If the agenda view is selected it returns the current range mode: week, work week, day or nextX days.

Definition at line 107 of file koviewmanager.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys