idlehomescreen/xmluirendering/uiengine/src/xnviewadapter.cpp
branchRCL_3
changeset 25 137ebc85284b
parent 23 7be2816dbabd
child 26 1b758917cafc
equal deleted inserted replaced
23:7be2816dbabd 25:137ebc85284b
   589         iActivate = BuildActivateTriggerL( iAppUiAdapter.UiEngine() );
   589         iActivate = BuildActivateTriggerL( iAppUiAdapter.UiEngine() );
   590         }
   590         }
   591 
   591 
   592     CXnNode* node( aContainer.Node()->LayoutNode() );
   592     CXnNode* node( aContainer.Node()->LayoutNode() );
   593     
   593     
       
   594     CXnDomStringPool* sp( node->DomNode()->StringPool() );
       
   595     
       
   596     CXnProperty* prop = CXnProperty::NewL(
       
   597         XnPropertyNames::style::common::KDisplay, 
       
   598         XnPropertyNames::style::common::display::KBlock,
       
   599         CXnDomPropertyValue::EString, *sp );
       
   600     CleanupStack::PushL( prop );    
       
   601     
       
   602     node->SetPropertyWithoutNotificationL( prop );
       
   603     CleanupStack::Pop( prop );
       
   604     
   594     node->ReportXuikonEventL( *iActivate );
   605     node->ReportXuikonEventL( *iActivate );
   595                            
   606                            
   596     if ( iFlags.IsSet( EIsInCall ) )
   607     if ( iFlags.IsSet( EIsInCall ) )
   597         {
   608         {
   598         iFlags.Clear( EIsInCall );
   609         iFlags.Clear( EIsInCall );
   729     CloseAllPopupsL();
   740     CloseAllPopupsL();
   730     
   741     
   731     // Run controls to powersave mode
   742     // Run controls to powersave mode
   732     ChangeControlsStateL( EFalse );
   743     ChangeControlsStateL( EFalse );
   733 
   744 
       
   745     CXnNode* node( iContainer->Node()->LayoutNode() );
       
   746     
       
   747     CXnDomStringPool* sp( node->DomNode()->StringPool() );
       
   748     
       
   749     CXnProperty* prop = CXnProperty::NewL(
       
   750         XnPropertyNames::style::common::KDisplay, 
       
   751         XnPropertyNames::style::common::display::KNone,
       
   752         CXnDomPropertyValue::EString, *sp );
       
   753     CleanupStack::PushL( prop );    
       
   754     
       
   755     node->SetPropertyWithoutNotificationL( prop );
       
   756     CleanupStack::Pop( prop );
       
   757     
   734     if ( !iDeactivate )
   758     if ( !iDeactivate )
   735         {
   759         {
   736         iDeactivate = BuildDeactivateTriggerL( iAppUiAdapter.UiEngine() );
   760         iDeactivate = BuildDeactivateTriggerL( iAppUiAdapter.UiEngine() );
   737         }
   761         }
   738 
   762                   
   739     CXnNode* node( iContainer->Node()->LayoutNode() );
       
   740                 
       
   741     node->ReportXuikonEventL( *iDeactivate );
   763     node->ReportXuikonEventL( *iDeactivate );
   742     
   764        
   743     if ( aHide )
   765     if ( aHide )
   744         {
   766         {
   745         node->Control()->MakeVisible( EFalse );
   767         node->Control()->MakeVisible( EFalse );
   746         }
   768         }
   747         
   769