taskswitcher/server/src/tsservice.cpp
changeset 124 e36b2f4799c0
parent 121 0b3699f6c654
child 125 26079c1bb561
equal deleted inserted replaced
121:0b3699f6c654 124:e36b2f4799c0
   142     {
   142     {
   143     return IntValueL( aOffset, "TaskCanBeClosed" );
   143     return IntValueL( aOffset, "TaskCanBeClosed" );
   144     }
   144     }
   145 
   145 
   146 // -----------------------------------------------------------------------------
   146 // -----------------------------------------------------------------------------
       
   147 TBool CTsService::IsMandatoryL( TInt aOffset ) const
       
   148     {
       
   149     return IntValueL(aOffset, "TaskIsMandatory" );
       
   150     }
       
   151 
       
   152 // -----------------------------------------------------------------------------
   147 TBool CTsService::CloseL( TTsModelItemKey aKey ) const
   153 TBool CTsService::CloseL( TTsModelItemKey aKey ) const
   148     {
   154     {
   149     bool result(false);
   155     bool result(false);
   150     QMetaObject::invokeMethod( iModel, 
   156     QMetaObject::invokeMethod( iModel, 
   151                                "closeTask", 
   157                                "closeTask",