]> ToastFreeware Gitweb - toast/confclerk.git/blobdiff - src/mvc/delegate.h
Time conflict warning
[toast/confclerk.git] / src / mvc / delegate.h
index 64fc40618992ee2de8bcbd8890b3b63e728ca2e7..98bef422711466300b172132b24acbe7814b8379 100644 (file)
@@ -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<QTreeView> mViewPtr;