diff -r 0b3699f6c654 -r e36b2f4799c0 taskswitcher/server/src/tsmodelitem.cpp --- 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