sipplugins/sippsipsettingsui/src/sipsettlistsipprofsetitemlist.cpp
branchRCL_3
changeset 43 b5e99d8877c7
parent 10 dc4cddf5f2f8
child 44 0dcb073356a5
equal deleted inserted replaced
41:f54bfd820e04 43:b5e99d8877c7
   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 )   
       
   271             {
   270             {
   272             SetNextSettingItemL( currentIndex );
   271             SetNextSettingItemL( currentIndex );
   273             aListBox->ActivateL();    
   272             aListBox->ActivateL();    
   274             aListBox->HandleItemAdditionL();
   273             aListBox->HandleItemAdditionL();
   275             return;
   274             return;
   534                 iProfileData.iSecurity = EGSSecurityOff;
   533                 iProfileData.iSecurity = EGSSecurityOff;
   535                 }
   534                 }
   536             iSecurity->LoadL();
   535             iSecurity->LoadL();
   537             iSecurity->UpdateListBoxTextL();        
   536             iSecurity->UpdateListBoxTextL();        
   538             break;
   537             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             
       
   554         default:                    // Other setting items are not supported.
   538         default:                    // Other setting items are not supported.
   555             User::Leave( KErrNotSupported );
   539             User::Leave( KErrNotSupported );
   556             break;
   540             break;
   557         }
   541         }
   558     __GSLOGSTRING("CSIPSettListSIPProfSetItemList::SetNextSettingItemL End" )
   542     __GSLOGSTRING("CSIPSettListSIPProfSetItemList::SetNextSettingItemL End" )