korganizer
koviewmanager.cpp
Go to the documentation of this file.
274 void KOViewManager::updateView( const QDate &start, const QDate &end, const QDate &preferredMonth )
virtual bool supportsDateRangeSelection()
returns whether this view supports date range selection Base implementation returns true...
Definition: baseview.cpp:212
bool agendaIsSelected() const
Returns true if agenda is the current view.
Definition: koviewmanager.cpp:693
KOAgendaView is the agenda-like view that displays events in a single or multi-day view...
Definition: koagendaview.h:37
void setCalendar(const Akonadi::ETMCalendar::Ptr &cal)
Definition: multiagendaview.cpp:143
virtual Akonadi::IncidenceChanger * incidenceChanger() const
Definition: calendarview.h:145
Shows one agenda for every resource side-by-side.
Definition: multiagendaview.h:37
void addView(KOrg::BaseView *, bool isTab=false)
Definition: koviewmanager.cpp:402
virtual void restoreConfig(const KConfigGroup &configGroup)
reads the view configuration.
Definition: baseview.cpp:163
virtual void setDateRange(const KDateTime &start, const KDateTime &end, const QDate &preferredMonth=QDate())
Show incidences for the given date range.
Definition: baseview.cpp:118
virtual bool usesFullWindow()
returns whether this view should be displayed full window.
Definition: baseview.cpp:202
void setCalendar(const Akonadi::ETMCalendar::Ptr &)
Definition: kojournalview.cpp:172
virtual bool isEventView()
Returns if this view is a view for displaying events.
Definition: baseview.cpp:85
virtual bool hasConfigurationDialog() const
Definition: baseview.cpp:113
void addChange(EventViews::EventView::Change change)
Notifies all views that an update is needed.
Definition: koviewmanager.cpp:675
Definition: monthview.h:33
virtual void setCalendar(const Akonadi::ETMCalendar::Ptr &cal)
Definition: koagendaview.cpp:150
void setParent(QWidget *parent)
void updateView(const QDate &start, const QDate &end, const QDate &preferredMonth, const bool updateTodos=true)
Definition: calendarview.cpp:767
int size() const
This class provides a view of the next events and todos.
Definition: kowhatsnextview.h:33
void append(const T &value)
virtual void setIdentifier(const QByteArray &identifier)
Definition: baseview.cpp:158
void setCurrentWidget(QWidget *widget)
void connectTodoView(KOTodoView *todoView)
Definition: koviewmanager.cpp:356
Definition: koviewmanager.h:72
static KOrg::MainWindow * findInstance(const KUrl &url)
Is there a instance with this URL?
Definition: actionmanager.cpp:1273
void updateMultiCalendarDisplay()
Definition: koviewmanager.cpp:684
void zoomInHorizontally(const QDate &date=QDate())
Definition: koagendaview.cpp:167
void setCalendar(const Akonadi::ETMCalendar::Ptr &)
Definition: kowhatsnextview.cpp:133
virtual KActionCollection * getActionCollection() const =0
Return actionCollection of this main window.
Definition: koviewmanager.h:73
Definition: koviewmanager.h:69
virtual void setCalendar(const Akonadi::ETMCalendar::Ptr &)
Definition: kotodoview.cpp:117
Definition: kolistview.h:44
QDate activeDate(bool fallbackToToday=false)
Returns the best guess at the current active date in the view.
Definition: calendarview.cpp:324
void hide()
virtual Akonadi::Item::List selectedIncidences()=0
void updateHighlightModes()
Informs the date navigator which incidence types should be used to embolden days, this function is ma...
Definition: calendarview.cpp:2629
void processIncidenceSelection(const Akonadi::Item &incidence, const QDate &date)
Definition: calendarview.cpp:1942
void saveLayout(KConfig *config, const QString &group) const
Definition: kotodoview.cpp:235
virtual void updateView()=0
Updates the current display to reflect changes that may have happened in the calendar since the last ...
EventViews::EventView::Changes changes() const
Returns if there are pending changes and a redraw is needed.
Definition: baseview.cpp:234
Definition: koviewmanager.h:70
void showView(KOrg::BaseView *)
changes the view to be the currently selected view
Definition: koviewmanager.cpp:171
Definition: koviewmanager.h:71
This class provides an interface for all views being displayed within the main calendar view...
Definition: baseview.h:52
QDate currentSelectionDate()
If there's a selected incidence, it's date is returned, otherwise an invalid QDate is returned...
Definition: koviewmanager.cpp:636
void configChanged()
int indexOf(QWidget *widget) const
Definition: kotodoview.h:39
void datesSelected(const KCalCore::DateList &)
Definition: koviewmanager.h:68
void zoomOutHorizontally(const QDate &date=QDate())
Definition: koagendaview.cpp:172
QDate currentDate()
virtual void setChanges(EventViews::EventView::Changes changes)
Notifies the view that there are pending changes so a redraw is needed.
Definition: baseview.cpp:229
virtual void setIncidenceChanger(Akonadi::IncidenceChanger *changer)
Assign a new incidence change helper object.
Definition: baseview.cpp:95
void show()
void restoreLayout(KConfig *config, const QString &group, bool minimalDefaults)
Definition: kotodoview.cpp:230
int addWidget(QWidget *widget)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
void adaptNavigationUnits()
Adapts navigation units according to the current view's navigation step size.
Definition: calendarview.cpp:1912
virtual KCalCore::DateList selectedIncidenceDates()=0
Returns a list of the dates of selected events.
void setEnabled(bool)
virtual void setCalendar(const Akonadi::ETMCalendar::Ptr &cal)
Definition: kotimelineview.cpp:195
void setCalendar(const Akonadi::ETMCalendar::Ptr &cal)
Definition: kotimespentview.cpp:143
void setCalendar(const Akonadi::ETMCalendar::Ptr &cal)
Definition: monthview.cpp:229
virtual void saveConfig(KConfigGroup &configGroup)
writes out the view configuration.
Definition: baseview.cpp:168
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.