taskswitcher/server/src/tsmodelitem.cpp
changeset 119 50e220be30d1
parent 116 305818acdca4
child 127 7b66bc3c6dc9
equal deleted inserted replaced
116:305818acdca4 119:50e220be30d1
   143     return iModel.LaunchL( KeyL() );
   143     return iModel.LaunchL( KeyL() );
   144     }
   144     }
   145 
   145 
   146 // -----------------------------------------------------------------------------
   146 // -----------------------------------------------------------------------------
   147 /**
   147 /**
       
   148  * @return EFalse if entry is not mandatory, other value in other cases  
       
   149  */
       
   150 TBool TTsModelItem::IsMandatoryL() const
       
   151     {
       
   152     ValidateL();
       
   153     return iModel.IsMandatoryL( iIndex );
       
   154     }
       
   155 
       
   156 // -----------------------------------------------------------------------------
       
   157 /**
   148  * Validate item instance 
   158  * Validate item instance 
   149  */
   159  */
   150 void TTsModelItem::ValidateL() const
   160 void TTsModelItem::ValidateL() const
   151     {
   161     {
   152     if(iModel.Count() <= iIndex )
   162     if(iModel.Count() <= iIndex )