uifw/AvKon/src/AknRadioButtonSettingPage.cpp
branchRCL_3
changeset 18 fcdfafb36fe7
parent 15 c52421ed5f07
child 19 aecbbf00d063
equal deleted inserted replaced
17:a1caeb42b3a3 18:fcdfafb36fe7
    90 // end of CAknRadioButtonSettingPageExtension class definition
    90 // end of CAknRadioButtonSettingPageExtension class definition
    91 
    91 
    92 
    92 
    93 CAknRadioButtonSettingPageExtension::CAknRadioButtonSettingPageExtension(
    93 CAknRadioButtonSettingPageExtension::CAknRadioButtonSettingPageExtension(
    94     CCoeControl& aOwner ) :
    94     CCoeControl& aOwner ) :
    95     iOldFocusedItemIndex(-1), iIsDragged( EFalse ), 
    95     iOldFocusedItemIndex( -1 ),
    96     iIsValidSelection( ETrue ),
    96     iIsDragged( EFalse ),
    97     iPenDownOnItem ( KErrNotFound )
    97     iPenDownOnItem ( KErrNotFound ),
       
    98     iIsValidSelection( ETrue )
    98     {
    99     {
    99     if ( static_cast<CAknAppUi*>(
   100     if ( static_cast<CAknAppUi*>(
   100             aOwner.ControlEnv()->AppUi() )->IsSingleClickCompatible() )
   101             aOwner.ControlEnv()->AppUi() )->IsSingleClickCompatible() )
   101         {
   102         {
   102         iFlags.Set( ESingleClickEnabled );
   103         iFlags.Set( ESingleClickEnabled );
   522 * Setting Page reserved methods 
   523 * Setting Page reserved methods 
   523 */ 
   524 */ 
   524 EXPORT_C void CAknRadioButtonSettingPage::HandleResourceChange(TInt aType)
   525 EXPORT_C void CAknRadioButtonSettingPage::HandleResourceChange(TInt aType)
   525 	{
   526 	{
   526     if( aType == KAknsMessageSkinChange )
   527     if( aType == KAknsMessageSkinChange )
   527     	{
   528         {
   528     	TRAP_IGNORE( InitialiseRadioButtonBitmapsL() );    	
   529         TRAP_IGNORE( InitialiseRadioButtonBitmapsL() );    	
   529     	}
   530         }
   530 	
   531     else if( aType == KEikMessageFadeAllWindows )
       
   532         {
       
   533         if ( iExtension )
       
   534             {
       
   535             iExtension->iIsValidSelection = EFalse;
       
   536             }
       
   537         }
   531 	CAknListBoxSettingPage::HandleResourceChange(aType);
   538 	CAknListBoxSettingPage::HandleResourceChange(aType);
   532 	}
   539 	}
   533 
   540 
   534 EXPORT_C void CAknRadioButtonSettingPage::CAknSettingPage_Reserved_1()
   541 EXPORT_C void CAknRadioButtonSettingPage::CAknSettingPage_Reserved_1()
   535 	{
   542 	{