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);
QList< Ptr > List
QSharedPointer< Incidence > Ptr
virtual QModelIndex parent(const QModelIndex &index) const const=0
QAbstractListModel(QObject *parent)
QObject(QObject *parent)
Q_INVOKABLEQ_INVOKABLE
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
UserRole
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:47:16 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:47:16 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.