Eventviews
agendaview.h
73 explicit AgendaView(const PrefsPtr &preferences, QDate start, QDate end, bool isInteractive, bool isSideBySide = false, QWidget *parent = nullptr);
75 explicit AgendaView(QDate start, QDate end, bool isInteractive, bool isSideBySide = false, QWidget *parent = nullptr);
128 void updateEventDates(AgendaItem *item, bool addIncidence, Akonadi::Collection::Id collectionId);
137 virtual KCalendarCore::Calendar::Ptr calendar2(const KCalendarCore::Incidence::Ptr &incidence) const;
140 void showDates(const QDate &start, const QDate &end, const QDate &preferredMonth = QDate()) override;
178 void showIncidencePopupSignal(const Akonadi::CollectionCalendar::Ptr &, const Akonadi::Item &, const QDate &);
201 void slotIncidencesDropped(const KCalendarCore::Incidence::List &incidences, const QPoint &, bool);
qint64 Id
QList< Item > List
This class describes the widgets that represent the various calendar items in the agenda view.
Definition agendaitem.h:61
AgendaView is the agenda-like view that displays events in a single or multi-day view.
Definition agendaview.h:70
void updateEventIndicators()
Updates the event indicators after a certain incidence was modified or removed.
Definition agendaview.cpp:2485
KCalendarCore::DateList selectedIncidenceDates() const override
returns the currently selected incidence's dates
Definition agendaview.cpp:1598
void setIncidenceChanger(Akonadi::IncidenceChanger *changer) override
Assign a new incidence change helper object.
Definition agendaview.cpp:2496
int currentDateCount() const override
Returns number of currently shown dates.
Definition agendaview.cpp:1576
bool eventDurationHint(QDateTime &startDt, QDateTime &endDt, bool &allDay) const override
return the default start/end date/time for new events
Definition agendaview.cpp:1616
bool selectedIsSingleCell() const
returns if only a single cell is selected, or a range of cells
Definition agendaview.cpp:1648
void setChanges(EventView::Changes) override
Notifies the view that there are pending changes so a redraw is needed.
Definition agendaview.cpp:2555
bool selectedIsAllDay() const
returns true if selection is for whole day
Definition agendaview.cpp:2449
void fillAgenda()
Fill agenda using the current set value for the start date.
Definition agendaview.cpp:1992
void updateEventDates(AgendaItem *item, bool addIncidence, Akonadi::Collection::Id collectionId)
Update event belonging to agenda item If the incidence is multi-day, item is the first one.
Definition agendaview.cpp:1768
void showDates(const QDate &start, const QDate &end, const QDate &preferredMonth=QDate()) override
Definition agendaview.cpp:1938
void newTimeSpanSelected(const QPoint &start, const QPoint &end)
Updates data for selected timespan.
Definition agendaview.cpp:2421
void setHolidayMasks()
Set the masks on the agenda widgets indicating, which days are holidays.
Definition agendaview.cpp:2387
virtual KCalendarCore::Calendar::Ptr calendar2(const KCalendarCore::Incidence::Ptr &incidence) const
Return calendar object for a concrete incidence.
Definition agendaview.cpp:1292
void showIncidences(const Akonadi::Item::List &incidenceList, const QDate &date) override
Shows given incidences.
Definition agendaview.cpp:1958
void newTimeSpanSelectedAllDay(const QPoint &start, const QPoint &end)
Updates data for selected timespan for all day event.
Definition agendaview.cpp:2415
void slotIncidencesDropped(const KCalendarCore::Incidence::List &incidences, const QPoint &, bool)
reschedule the todo to the given x- and y- coordinates.
Definition agendaview.cpp:2285
Akonadi::Item::List selectedIncidences() const override
returns the currently selected events
Definition agendaview.cpp:1581
This class provides the interface for a date dependent decoration.
Definition calendardecoration.h:141
QSharedPointer< Calendar > Ptr
QList< Ptr > List
QSharedPointer< Incidence > Ptr
Q_SCRIPTABLE QString start(QString train="")
Namespace EventViews provides facilities for displaying incidences, including events,...
Definition agenda.h:33
QList< QDate > DateList
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
virtual bool event(QEvent *e)
QObject * parent() const const
Orientation
QWidget(QWidget *parent, Qt::WindowFlags f)
virtual bool event(QEvent *event) override
pos
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:47:03 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:47:03 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.