Eventviews
calendardecoration.cpp
65StoredElement::StoredElement(const QString &id, const QString &shortText, const QString &longText)
72StoredElement::StoredElement(const QString &id, const QString &shortText, const QString &longText, const QString &extensiveText)
QDate monthDate(QDate date)
Map all dates of the same month to a single date.
Definition calendardecoration.cpp:272
virtual Element::List yearElements(const QDate &d)
Return all elements for the year the given date belongs to.
Definition calendardecoration.cpp:206
virtual Element::List monthElements(const QDate &d)
Return all elements for the month the given date belongs to.
Definition calendardecoration.cpp:194
virtual Element::List createDayElements(const QDate &)
Create day elements for given date.
Definition calendardecoration.cpp:242
QDate yearDate(QDate date)
Map all dates of the same year to a single date.
Definition calendardecoration.cpp:277
virtual Element::List weekElements(const QDate &d)
Return all elements for the week the given date belongs to.
Definition calendardecoration.cpp:182
Element::List registerDayElements(const Element::List &e, const QDate &d)
Register the given elements for the given date.
Definition calendardecoration.cpp:218
virtual Element::List createYearElements(const QDate &)
Create elements for the year the given date belongs to.
Definition calendardecoration.cpp:257
virtual Element::List createMonthElements(const QDate &)
Create elements for the month the given date belongs to.
Definition calendardecoration.cpp:252
virtual Element::List dayElements(const QDate &date)
Return all Elements for the given day.
Definition calendardecoration.cpp:171
Element::List registerWeekElements(const Element::List &e, const QDate &d)
Register the given elements for the week the given date belongs to.
Definition calendardecoration.cpp:224
Element::List registerYearElements(const Element::List &e, const QDate &d)
Register the given elements for the year the given date belongs to.
Definition calendardecoration.cpp:236
virtual Element::List createWeekElements(const QDate &)
Create elements for the week the given date belongs to.
Definition calendardecoration.cpp:247
QDate weekDate(QDate date)
Map all dates of the same week to a single date.
Definition calendardecoration.cpp:266
Element::List registerMonthElements(const Element::List &e, const QDate &d)
Register the given elements for the month the given date belongs to.
Definition calendardecoration.cpp:230
Class for calendar decoration elements.
Definition calendardecoration.h:30
virtual QString shortText() const
Return a short text for a given date, usually only a few words.
Definition calendardecoration.cpp:27
virtual QString longText() const
Return a long text for a given date.
Definition calendardecoration.cpp:32
virtual QUrl url() const
Return a URL pointing to more information about the content of the element.
Definition calendardecoration.cpp:47
virtual QPixmap newPixmap(const QSize &)
Return a pixmap for a given date and a given size.
Definition calendardecoration.cpp:42
virtual QString extensiveText() const
Return an extensive text for a given date.
Definition calendardecoration.cpp:37
virtual QString id() const
Return a name for easy identification.
Definition calendardecoration.cpp:17
QUrl url() const override
Return a URL pointing to more information about the content of the element.
Definition calendardecoration.cpp:131
QString longText() const override
Return a long text for a given date.
Definition calendardecoration.cpp:101
QString extensiveText() const override
Return an extensive text for a given date.
Definition calendardecoration.cpp:111
QString shortText() const override
Return a short text for a given date, usually only a few words.
Definition calendardecoration.cpp:91
QDate addDays(qint64 ndays) const const
int dayOfWeek() const const
int month() const const
int year() const const
ConstIterator
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.