X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/blobdiff_plain/4be95b81fdbcdd2efbf9a6df45254cb3d14d615b..699d5b8b1b53e8b3866150d59799d8cd96a53d63:/src/mvc/delegate.h diff --git a/src/mvc/delegate.h b/src/mvc/delegate.h index 64fc406..98bef42 100644 --- a/src/mvc/delegate.h +++ b/src/mvc/delegate.h @@ -18,7 +18,9 @@ class Delegate : public QItemDelegate FavouriteControlOff, AlarmControlOn, AlarmControlOff, - MapControl + MapControl, + WarningControlOn, + WarningControlOff }; class Control @@ -69,6 +71,7 @@ class Delegate : public QItemDelegate // every time it requires them int numberOfFavourities(const QModelIndex &index) const; int numberOfAlarms(const QModelIndex &index) const; + bool hasTimeConflict(const QModelIndex &index, const QModelIndex &parent) const; private: QPointer mViewPtr;