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) |
Public Member Functions inherited from QObject | |
QObject (QObject *parent) | |
QObject (QObject *parent, const char *name) | |
virtual | ~QObject () |
bool | blockSignals (bool block) |
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
const QObjectList & | children () const |
const char * | className () const |
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const QObject *receiver, const char *method) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
void | dumpObjectInfo () |
void | dumpObjectTree () |
QList< QByteArray > | dynamicPropertyNames () const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name) const |
QList< T > | findChildren (const QRegExp ®Exp) const |
QList< T > | findChildren (const QString &name) const |
bool | inherits (const char *className) const |
void | insertChild (QObject *object) |
void | installEventFilter (QObject *filterObj) |
bool | isA (const char *className) const |
bool | isWidgetType () const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const |
void | moveToThread (QThread *targetThread) |
const char * | name () const |
const char * | name (const char *defaultName) const |
QString | objectName () const |
QObject * | parent () const |
QVariant | property (const char *name) const |
void | removeChild (QObject *object) |
void | removeEventFilter (QObject *obj) |
void | setName (const char *name) |
void | setObjectName (const QString &name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | signalsBlocked () const |
int | startTimer (int interval) |
QThread * | thread () const |
Additional Inherited Members | |
Static Public Member Functions inherited from QObject | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Protected Member Functions inherited from QObject | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
Static Protected Member Functions inherited from QObject | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
Properties inherited from QObject | |
objectName | |
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 675 of file koviewmanager.cpp.
void KOViewManager::addView | ( | KOrg::BaseView * | view, |
bool | isTab = false |
||
) |
Definition at line 402 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 693 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 623 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 636 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 536 of file koviewmanager.cpp.
|
slot |
Definition at line 564 of file koviewmanager.cpp.
|
slot |
Definition at line 557 of file koviewmanager.cpp.
|
slot |
Definition at line 543 of file koviewmanager.cpp.
void KOViewManager::setDocumentId | ( | const QString & | id | ) |
Definition at line 648 of file koviewmanager.cpp.
|
slot |
Definition at line 462 of file koviewmanager.cpp.
|
slot |
Definition at line 612 of file koviewmanager.cpp.
|
slot |
Definition at line 588 of file koviewmanager.cpp.
|
slot |
Definition at line 451 of file koviewmanager.cpp.
|
slot |
Definition at line 425 of file koviewmanager.cpp.
|
slot |
Definition at line 600 of file koviewmanager.cpp.
|
slot |
Definition at line 413 of file koviewmanager.cpp.
|
slot |
Definition at line 571 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 439 of file koviewmanager.cpp.
|
inline |
Definition at line 113 of file koviewmanager.h.
void KOViewManager::updateMultiCalendarDisplay | ( | ) |
Definition at line 684 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 374 of file koviewmanager.cpp.
|
slot |
Definition at line 388 of file koviewmanager.cpp.
|
slot |
Definition at line 381 of file koviewmanager.cpp.
|
slot |
Definition at line 395 of file koviewmanager.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.