calendarsupport
incidenceviewer.cpp
Go to the documentation of this file.
QAbstractItemModel * attachmentModel() const
Returns the attachment model for the currently displayed incidence.
Definition: incidenceviewer.cpp:191
IncidenceViewer(Akonadi::ETMCalendar *calendar, QWidget *parent=0)
Creates a new incidence viewer.
Definition: incidenceviewer.cpp:140
void setDefaultMessage(const QString &message)
Sets the default message that shall be shown if no incidence is set.
Definition: incidenceviewer.cpp:205
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:200
CALENDARSUPPORT_EXPORT KCalCore::Incidence::Ptr incidence(const Akonadi::Item &item)
returns the incidence from an akonadi item, or a null pointer if the item has no such payload ...
Definition: utils.cpp:75
A viewer component for incidences in Akonadi.
Definition: incidenceviewer.h:62
Akonadi::Item incidence() const
Returns the incidence that is currently displayed.
Definition: incidenceviewer.cpp:181
void setIncidence(const Akonadi::Item &incidence, const QDate &activeDate=QDate())
Sets the incidence that shall be displayed in the viewer.
Definition: incidenceviewer.cpp:215
void attachmentUrlClicked(const QString &uri)
This file is part of the API for handling calendar data and provides static functions for dealing wit...
CALENDARSUPPORT_EXPORT QString displayName(Akonadi::ETMCalendar *calendar, const Akonadi::Collection &coll)
Definition: utils.cpp:497
TextBrowser(QWidget *parent=0)
Definition: incidenceviewer.cpp:43
void setHeaderText(const QString &text)
Sets an additional text that is shown above the incidence.
Definition: incidenceviewer.cpp:210
void setCalendar(Akonadi::ETMCalendar *calendar)
Sets the Calendar for this viewer.
Definition: incidenceviewer.cpp:176
void setSource(const QUrl &name)
Definition: incidenceviewer.cpp:51
Provides methods to handle incidence attachments.
Definition: attachmenthandler.h:48
QDate activeDate() const
Returns the active date used for the currently displayed incidence.
Definition: incidenceviewer.cpp:186
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:54:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:54:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.