sipplugins/sippsipsettingsui/src/sipsettlistsipprofsetitemlist.cpp
branchRCL_3
changeset 44 0dcb073356a5
parent 43 b5e99d8877c7
equal deleted inserted replaced
43:b5e99d8877c7 44:0dcb073356a5
   264             appUi->ActivateLocalViewL( KSettListSIPRegistrarServerView );
   264             appUi->ActivateLocalViewL( KSettListSIPRegistrarServerView );
   265             return;
   265             return;
   266             }
   266             }
   267         else if ( currentIndex == EGSItemServiceProfile ||
   267         else if ( currentIndex == EGSItemServiceProfile ||
   268             currentIndex == EGSItemCompression ||
   268             currentIndex == EGSItemCompression ||
   269             currentIndex == EGSItemSecurity )
   269             currentIndex == EGSItemSecurity ||
       
   270             currentIndex == EGSItemRegistration )   
   270             {
   271             {
   271             SetNextSettingItemL( currentIndex );
   272             SetNextSettingItemL( currentIndex );
   272             aListBox->ActivateL();    
   273             aListBox->ActivateL();    
   273             aListBox->HandleItemAdditionL();
   274             aListBox->HandleItemAdditionL();
   274             return;
   275             return;
   533                 iProfileData.iSecurity = EGSSecurityOff;
   534                 iProfileData.iSecurity = EGSSecurityOff;
   534                 }
   535                 }
   535             iSecurity->LoadL();
   536             iSecurity->LoadL();
   536             iSecurity->UpdateListBoxTextL();        
   537             iSecurity->UpdateListBoxTextL();        
   537             break;
   538             break;
       
   539             
       
   540         case EGSItemRegistration:       
       
   541         	iRegistration->StoreL();
       
   542             if ( iProfileData.iRegistrationMode == EGSWhenNeeded )
       
   543                 {
       
   544                 iProfileData.iRegistrationMode = EGSAlwaysOn;
       
   545                 }
       
   546             else
       
   547                 {
       
   548                 iProfileData.iRegistrationMode = EGSWhenNeeded;
       
   549                 }
       
   550             iRegistration->LoadL();
       
   551             iRegistration->UpdateListBoxTextL();        
       
   552             break;
       
   553             
   538         default:                    // Other setting items are not supported.
   554         default:                    // Other setting items are not supported.
   539             User::Leave( KErrNotSupported );
   555             User::Leave( KErrNotSupported );
   540             break;
   556             break;
   541         }
   557         }
   542     __GSLOGSTRING("CSIPSettListSIPProfSetItemList::SetNextSettingItemL End" )
   558     __GSLOGSTRING("CSIPSettListSIPProfSetItemList::SetNextSettingItemL End" )