commsconfig/cscsettingsui/src/cscsettingsuimainview.cpp
branchRCL_3
changeset 11 bddb6d4447db
parent 10 7117cbf1600a
child 16 6134b5029079
equal deleted inserted replaced
10:7117cbf1600a 11:bddb6d4447db
   913             }        
   913             }        
   914         }
   914         }
   915        
   915        
   916     CSCSETUIDEBUG( "CCSCSettingsUiMainView::HandleSettingsUiExitL - OUT" );
   916     CSCSETUIDEBUG( "CCSCSettingsUiMainView::HandleSettingsUiExitL - OUT" );
   917     }
   917     }
   918  
   918 
       
   919 // ---------------------------------------------------------------------------
       
   920 // CCSCSettingsUiMainView::ResetViewL
       
   921 // Resets service settings when switching services
       
   922 // ---------------------------------------------------------------------------
       
   923 //
       
   924 void CCSCSettingsUiMainView::ResetViewL()
       
   925     {
       
   926     CSCSETUIDEBUG( "CCSCSettingsUiMainView::ResetViewL - IN" );
       
   927 
       
   928     // Create container when view is activated.
       
   929     if ( !iContainer )
       
   930         {
       
   931         iContainer = new (ELeave) CCSCSettingsUiMainContainer( iModel );
       
   932         iContainer->SetMopParent( this );
       
   933         iContainer->ConstructL( ClientRect() );
       
   934         AppUi()->AddToStackL( *this, iContainer );
       
   935         iContainer->ListBox()->SetListBoxObserver( this );
       
   936         }
       
   937 
       
   938     SetTitleTextL();
       
   939     UpdateSoftkeysL();
       
   940     iContainer->UpdateContainerL();
       
   941 
       
   942     CSCSETUIDEBUG( "CCSCSettingsUiMainView::ResetViewL - OUT" );
       
   943     }
       
   944