taskswitcher/server/src/tsmodelitem.cpp
changeset 124 e36b2f4799c0
parent 121 0b3699f6c654
child 127 7b66bc3c6dc9
equal deleted inserted replaced
121:0b3699f6c654 124:e36b2f4799c0
   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 )