taskswitcher/server/src/tsmodelitem.cpp
changeset 124 e36b2f4799c0
parent 121 0b3699f6c654
child 127 7b66bc3c6dc9
--- a/taskswitcher/server/src/tsmodelitem.cpp	Fri Sep 17 08:32:18 2010 +0300
+++ b/taskswitcher/server/src/tsmodelitem.cpp	Mon Oct 04 00:38:31 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