korganizer
#include <koviewmanager.h>
Public Types | |
enum | RangeMode { NO_RANGE, DAY_RANGE, WORK_WEEK_RANGE, WEEK_RANGE, NEXTX_RANGE, OTHER_RANGE } |
Public Slots | |
void | addChange (EventViews::EventView::Change change) |
void | connectTodoView (KOTodoView *todoView) |
void | selectDay () |
void | selectNextX () |
void | selectWeek () |
void | selectWorkWeek () |
void | showAgendaView () |
void | showEventView () |
void | showJournalView () |
void | showListView () |
void | showMonthView () |
void | showTimeLineView () |
void | showTimeSpentView () |
void | showTodoView () |
void | showWhatsNextView () |
void | zoomInHorizontally () |
void | zoomInVertically () |
void | zoomOutHorizontally () |
void | zoomOutVertically () |
Signals | |
void | configChanged () |
void | datesSelected (const KCalCore::DateList &) |
Public Member Functions | |
KOViewManager (CalendarView *) | |
virtual | ~KOViewManager () |
void | addView (KOrg::BaseView *, bool isTab=false) |
bool | agendaIsSelected () const |
KOAgendaView * | agendaView () const |
void | connectView (KOrg::BaseView *) |
Akonadi::Item | currentSelection () |
QDate | currentSelectionDate () |
KOrg::BaseView * | currentView () |
void | goMenu (bool enable) |
KOrg::MonthView * | monthView () const |
KOrg::MultiAgendaView * | multiAgendaView () const |
void | raiseCurrentView () |
RangeMode | rangeMode () const |
void | readCurrentView (KConfig *config) |
void | readSettings (KConfig *config) |
void | setDocumentId (const QString &) |
void | showView (KOrg::BaseView *) |
KOTodoView * | todoView () const |
void | updateMultiCalendarDisplay () |
void | updateView () |
void | updateView (const QDate &start, const QDate &end, const QDate &preferredMonth) |
void | writeCurrentView (KConfig *config) |
void | writeSettings (KConfig *config) |
Detailed Description
This class manages the views of the calendar.
It owns the objects and handles creation and selection.
Definition at line 61 of file koviewmanager.h.
Member Enumeration Documentation
Enumerator | |
---|---|
NO_RANGE | |
DAY_RANGE | |
WORK_WEEK_RANGE | |
WEEK_RANGE | |
NEXTX_RANGE | |
OTHER_RANGE |
Definition at line 67 of file koviewmanager.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 51 of file koviewmanager.cpp.
|
virtual |
Definition at line 70 of file koviewmanager.cpp.
Member Function Documentation
|
slot |
Notifies all views that an update is needed.
This means that the next time CalendarView::updateView() is called, views won't try to be smart and ignore the update for performance reasons.
Definition at line 677 of file koviewmanager.cpp.
void KOViewManager::addView | ( | KOrg::BaseView * | view, |
bool | isTab = false |
||
) |
Definition at line 404 of file koviewmanager.cpp.
bool KOViewManager::agendaIsSelected | ( | ) | const |
Returns true if agenda is the current view.
Never use the pointer returned by agendaView() to know if agenda is selected, because agenda has other modes (tabbed, side by side). Use this function instead.
Definition at line 695 of file koviewmanager.cpp.
|
inline |
Definition at line 111 of file koviewmanager.h.
|
signal |
|
slot |
Definition at line 356 of file koviewmanager.cpp.
void KOViewManager::connectView | ( | KOrg::BaseView * | view | ) |
Definition at line 283 of file koviewmanager.cpp.
Akonadi::Item KOViewManager::currentSelection | ( | ) |
Definition at line 625 of file koviewmanager.cpp.
QDate KOViewManager::currentSelectionDate | ( | ) |
If there's a selected incidence, it's date is returned, otherwise an invalid QDate is returned.
Definition at line 638 of file koviewmanager.cpp.
KOrg::BaseView * KOViewManager::currentView | ( | ) |
Definition at line 74 of file koviewmanager.cpp.
|
signal |
void KOViewManager::goMenu | ( | bool | enable | ) |
Definition at line 228 of file koviewmanager.cpp.
|
inline |
Definition at line 114 of file koviewmanager.h.
|
inline |
Definition at line 112 of file koviewmanager.h.
void KOViewManager::raiseCurrentView | ( | ) |
Definition at line 251 of file koviewmanager.cpp.
|
inline |
Return the current range mode: week, work week, day or nextX days, etc.
Definition at line 131 of file koviewmanager.h.
void KOViewManager::readCurrentView | ( | KConfig * | config | ) |
Read which view was shown last from config file.
void KOViewManager::readSettings | ( | KConfig * | config | ) |
Definition at line 79 of file koviewmanager.cpp.
|
slot |
Definition at line 538 of file koviewmanager.cpp.
|
slot |
Definition at line 566 of file koviewmanager.cpp.
|
slot |
Definition at line 559 of file koviewmanager.cpp.
|
slot |
Definition at line 545 of file koviewmanager.cpp.
void KOViewManager::setDocumentId | ( | const QString & | id | ) |
Definition at line 650 of file koviewmanager.cpp.
|
slot |
Definition at line 464 of file koviewmanager.cpp.
|
slot |
Definition at line 614 of file koviewmanager.cpp.
|
slot |
Definition at line 590 of file koviewmanager.cpp.
|
slot |
Definition at line 453 of file koviewmanager.cpp.
|
slot |
Definition at line 427 of file koviewmanager.cpp.
|
slot |
Definition at line 602 of file koviewmanager.cpp.
|
slot |
Definition at line 415 of file koviewmanager.cpp.
|
slot |
Definition at line 573 of file koviewmanager.cpp.
void KOViewManager::showView | ( | KOrg::BaseView * | view | ) |
changes the view to be the currently selected view
Definition at line 171 of file koviewmanager.cpp.
|
slot |
Definition at line 441 of file koviewmanager.cpp.
|
inline |
Definition at line 113 of file koviewmanager.h.
void KOViewManager::updateMultiCalendarDisplay | ( | ) |
Definition at line 686 of file koviewmanager.cpp.
void KOViewManager::updateView | ( | ) |
Definition at line 267 of file koviewmanager.cpp.
void KOViewManager::updateView | ( | const QDate & | start, |
const QDate & | end, | ||
const QDate & | preferredMonth | ||
) |
Definition at line 274 of file koviewmanager.cpp.
void KOViewManager::writeCurrentView | ( | KConfig * | config | ) |
Write which view is currently shown to config file.
void KOViewManager::writeSettings | ( | KConfig * | config | ) |
Definition at line 128 of file koviewmanager.cpp.
|
slot |
Definition at line 376 of file koviewmanager.cpp.
|
slot |
Definition at line 390 of file koviewmanager.cpp.
|
slot |
Definition at line 383 of file koviewmanager.cpp.
|
slot |
Definition at line 397 of file koviewmanager.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.