CalendarSupport
incidenceviewer.h
Item item() const
Akonadi::Item incidence() const
Returns the incidence that is currently displayed.
Definition incidenceviewer.cpp:175
QDate activeDate() const
Returns the active date used for the currently displayed incidence.
Definition incidenceviewer.cpp:180
void setCalendar(Akonadi::ETMCalendar *calendar)
Sets the Calendar for this viewer.
Definition incidenceviewer.cpp:165
void setIncidence(const Akonadi::Item &incidence, QDate activeDate=QDate())
Sets the incidence that shall be displayed in the viewer.
Definition incidenceviewer.cpp:208
IncidenceViewer(Akonadi::ETMCalendar *calendar, QWidget *parent=nullptr)
Creates a new incidence viewer.
Definition incidenceviewer.cpp:123
void setHeaderText(const QString &text)
Sets an additional text that is shown above the incidence.
Definition incidenceviewer.cpp:203
void setModel(Akonadi::EntityTreeModel *etm)
Sets the model for this viewer.
Definition incidenceviewer.cpp:170
~IncidenceViewer() override
Destroys the incidence viewer.
void setDefaultMessage(const QString &message)
Sets the default message that shall be shown if no incidence is set.
Definition incidenceviewer.cpp:198
void setDelayedClear(bool delayed)
Sets whether the view shall be cleared as soon as an empty incidence is set (default) or delayed when...
Definition incidenceviewer.cpp:193
QAbstractItemModel * attachmentModel() const
Returns the attachment model for the currently displayed incidence.
Definition incidenceviewer.cpp:185
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:56: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:56:03 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.