korganizer
KOViewManager Class Reference
This class manages the views of the calendar. More...
#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 (KConfig *config) |
void | writeSettings (KConfig *config) |
void | readCurrentView (KConfig *) |
void | writeCurrentView (KConfig *) |
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 KOViewManager::agendaMode | ( | ) | const [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.
void KOViewManager::readCurrentView | ( | KConfig * | ) |
Read which view was shown last from config file.
void KOViewManager::showView | ( | KOrg::BaseView * | view | ) |
changes the view to be the currently selected view
Definition at line 148 of file koviewmanager.cpp.
void KOViewManager::writeCurrentView | ( | KConfig * | ) |
Write which view is currently shown to config file.
The documentation for this class was generated from the following files: