diff -r 305818acdca4 -r 50e220be30d1 taskswitcher/server/src/tsmodelitem.cpp --- 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