#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 (TDEConfig *config) |
void | writeSettings (TDEConfig *config) |
void | readCurrentView (TDEConfig *) |
void | writeCurrentView (TDEConfig *) |
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 Enumeration Documentation
◆ AgendaMode
enum KOViewManager::AgendaMode |
Definition at line 58 of file koviewmanager.h.
Constructor & Destructor Documentation
◆ KOViewManager()
KOViewManager::KOViewManager | ( | CalendarView * | mainView | ) |
Definition at line 53 of file koviewmanager.cpp.
◆ ~KOViewManager()
|
virtual |
Definition at line 73 of file koviewmanager.cpp.
Member Function Documentation
◆ addView()
void KOViewManager::addView | ( | KOrg::BaseView * | view | ) |
Definition at line 315 of file koviewmanager.cpp.
◆ agendaIsSelected()
bool KOViewManager::agendaIsSelected | ( | ) | const |
Definition at line 578 of file koviewmanager.cpp.
◆ agendaMode()
|
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.
◆ agendaView()
|
inline |
Definition at line 97 of file koviewmanager.h.
◆ connectTodoView
|
slot |
Definition at line 285 of file koviewmanager.cpp.
◆ connectView()
void KOViewManager::connectView | ( | KOrg::BaseView * | view | ) |
Definition at line 223 of file koviewmanager.cpp.
◆ currentSelection()
Incidence * KOViewManager::currentSelection | ( | ) |
Definition at line 516 of file koviewmanager.cpp.
◆ currentSelectionDate()
TQDate KOViewManager::currentSelectionDate | ( | ) |
Definition at line 525 of file koviewmanager.cpp.
◆ currentView()
KOrg::BaseView * KOViewManager::currentView | ( | ) |
Definition at line 78 of file koviewmanager.cpp.
◆ goMenu()
void KOViewManager::goMenu | ( | bool | enable | ) |
Definition at line 169 of file koviewmanager.cpp.
◆ monthView()
|
inline |
Definition at line 100 of file koviewmanager.h.
◆ multiAgendaView()
|
inline |
Definition at line 98 of file koviewmanager.h.
◆ raiseCurrentView()
void KOViewManager::raiseCurrentView | ( | ) |
Definition at line 192 of file koviewmanager.cpp.
◆ readCurrentView()
void KOViewManager::readCurrentView | ( | TDEConfig * | ) |
Read which view was shown last from config file.
◆ readSettings()
void KOViewManager::readSettings | ( | TDEConfig * | config | ) |
Definition at line 83 of file koviewmanager.cpp.
◆ resourcesChanged
|
slot |
Definition at line 561 of file koviewmanager.cpp.
◆ setDocumentId()
void KOViewManager::setDocumentId | ( | const TQString & | id | ) |
Definition at line 535 of file koviewmanager.cpp.
◆ showAgendaView
|
slot |
Definition at line 342 of file koviewmanager.cpp.
◆ showDayView
|
slot |
Definition at line 425 of file koviewmanager.cpp.
◆ showEventView
|
slot |
Definition at line 506 of file koviewmanager.cpp.
◆ showJournalView
|
slot |
Definition at line 482 of file koviewmanager.cpp.
◆ showListView
|
slot |
Definition at line 332 of file koviewmanager.cpp.
◆ showMonthView
|
slot |
Definition at line 454 of file koviewmanager.cpp.
◆ showNextXView
|
slot |
Definition at line 446 of file koviewmanager.cpp.
◆ showTimelineView
|
slot |
Definition at line 495 of file koviewmanager.cpp.
◆ showTodoView
|
slot |
Definition at line 465 of file koviewmanager.cpp.
◆ showView()
void KOViewManager::showView | ( | KOrg::BaseView * | view | ) |
changes the view to be the currently selected view
Definition at line 148 of file koviewmanager.cpp.
◆ showWeekView
|
slot |
Definition at line 439 of file koviewmanager.cpp.
◆ showWhatsNextView
|
slot |
Definition at line 321 of file koviewmanager.cpp.
◆ showWorkWeekView
|
slot |
Definition at line 432 of file koviewmanager.cpp.
◆ todoView()
|
inline |
Definition at line 99 of file koviewmanager.h.
◆ updateMultiCalendarDisplay()
void KOViewManager::updateMultiCalendarDisplay | ( | ) |
Definition at line 569 of file koviewmanager.cpp.
◆ updateView() [1/2]
void KOViewManager::updateView | ( | ) |
Definition at line 209 of file koviewmanager.cpp.
◆ updateView() [2/2]
void KOViewManager::updateView | ( | const TQDate & | start, |
const TQDate & | end | ||
) |
Definition at line 214 of file koviewmanager.cpp.
◆ writeCurrentView()
void KOViewManager::writeCurrentView | ( | TDEConfig * | ) |
Write which view is currently shown to config file.
◆ writeSettings()
void KOViewManager::writeSettings | ( | TDEConfig * | config | ) |
Definition at line 119 of file koviewmanager.cpp.
◆ zoomInHorizontally
|
slot |
Definition at line 298 of file koviewmanager.cpp.
◆ zoomInVertically
|
slot |
Definition at line 306 of file koviewmanager.cpp.
◆ zoomOutHorizontally
|
slot |
Definition at line 302 of file koviewmanager.cpp.
◆ zoomOutVertically
|
slot |
Definition at line 310 of file koviewmanager.cpp.
The documentation for this class was generated from the following files: