MauiKit Calendar
remindersmodel.h
12 * This can be useful for letting users add, modify, or delete incidences on new or pre-existing incidences.
13 * It treats the incidence's list of alarms as the single source of truth (and it should be kept this way!)
15 * The data for the model comes from m_incidence, which is set in the constructor. This is a pointer to the
16 * incidence this model is getting the alarm info from. All alarm pointers are then added to m_alarms, which
17 * is a list. Elements in this model are therefore accessed through row numbers, as the list is a one-
24 Q_PROPERTY(KCalendarCore::Incidence::Ptr incidencePtr READ incidencePtr WRITE setIncidencePtr NOTIFY incidencePtrChanged)
37 explicit RemindersModel(QObject *parent = nullptr, KCalendarCore::Incidence::Ptr incidencePtr = nullptr);
This class provides a QAbstractItemModel for an incidences' reminders/alarms.
Definition remindersmodel.h:22
Q_INVOKABLEQ_INVOKABLE
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
UserRole
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:37 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 17:02:37 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.