calendarsupport
incidenceviewer.cpp
Go to the documentation of this file.
QLayout * layout() const
QAbstractItemModel * attachmentModel() const
Returns the attachment model for the currently displayed incidence.
Definition: incidenceviewer.cpp:191
QString & prepend(QChar ch)
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
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
QString toString(QFlags< QUrl::FormattingOption > options) const
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:78
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
QString fromUtf8(const char *str, int size)
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
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)
void setMargin(int margin)
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:500
TextBrowser(QWidget *parent=0)
Definition: incidenceviewer.cpp:43
QString & replace(int position, int n, QChar after)
QString mid(int position, int n) const
void setHeaderText(const QString &text)
Sets an additional text that is shown above the incidence.
Definition: incidenceviewer.cpp:210
QByteArray fromBase64(const QByteArray &base64)
QString fromLatin1(const char *str, int size)
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
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
QDate activeDate() const
Returns the active date used for the currently displayed incidence.
Definition: incidenceviewer.cpp:186
QByteArray toUtf8() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:15 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:31:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.