taskswitcher/server/src/tsmodelitem.cpp
changeset 119 50e220be30d1
parent 116 305818acdca4
child 127 7b66bc3c6dc9
--- a/taskswitcher/server/src/tsmodelitem.cpp	Mon Sep 13 13:26:33 2010 +0300
+++ b/taskswitcher/server/src/tsmodelitem.cpp	Mon Sep 20 10:22:22 2010 +0300
@@ -145,6 +145,16 @@
 
 // -----------------------------------------------------------------------------
 /**
+ * @return EFalse if entry is not mandatory, other value in other cases  
+ */
+TBool TTsModelItem::IsMandatoryL() const
+    {
+    ValidateL();
+    return iModel.IsMandatoryL( iIndex );
+    }
+
+// -----------------------------------------------------------------------------
+/**
  * Validate item instance 
  */
 void TTsModelItem::ValidateL() const