widgets/widgetapp/src/WidgetUiWindow.cpp
branchRCL_3
changeset 91 30342f40acbf
parent 84 800203832575
child 92 e1bea15f9a39
equal deleted inserted replaced
84:800203832575 91:30342f40acbf
    96 //
    96 //
    97 CWidgetUiWindow::CWidgetUiWindow( CWidgetUiWindowManager& aWindowManager, CCpsPublisher* aCpsPublisher )
    97 CWidgetUiWindow::CWidgetUiWindow( CWidgetUiWindowManager& aWindowManager, CCpsPublisher* aCpsPublisher )
    98     : iWindowManager( aWindowManager ), iCpsPublisher( aCpsPublisher ), iNetworkAccessGrant(EInvalid),
    98     : iWindowManager( aWindowManager ), iCpsPublisher( aCpsPublisher ), iNetworkAccessGrant(EInvalid),
    99       iPreferredOrientation(TBrCtlDefs::EOrientationUndefined),
    99       iPreferredOrientation(TBrCtlDefs::EOrientationUndefined),
   100       iIsCurrent(EFalse), iShowSoftkeys(EFalse), iWidgetLoaded(EFalse),
   100       iIsCurrent(EFalse), iShowSoftkeys(EFalse), iWidgetLoaded(EFalse),
   101       iSchemeProcessing (EFalse),iClickCount(0), iWidgetLoadStarted(EFalse),
   101       iSchemeProcessing (EFalse), iNetworkState(ENetworkNotAllowed), iUserPermission(ETrue), 
   102       iNetworkState(ENetworkNotAllowed), iUserPermission(ETrue)
   102       iClickCount(0), iWidgetLoadStarted(EFalse)
   103     {
   103     {
   104     }
   104     }
   105 
   105 
   106 // -----------------------------------------------------------------------------
   106 // -----------------------------------------------------------------------------
   107 // CWidgetUiWindow::ConstructL()
   107 // CWidgetUiWindow::ConstructL()
   559         if (aCurrent)
   559         if (aCurrent)
   560             {
   560             {
   561             UpdateCba();
   561             UpdateCba();
   562             Engine()->MakeVisible( iWidgetLoaded );
   562             Engine()->MakeVisible( iWidgetLoaded );
   563             // redraw incase the orientation changed while in the background
   563             // redraw incase the orientation changed while in the background
   564             RelayoutL();
   564             RelayoutL(KEikDynamicLayoutVariantSwitch);
   565             }
   565             }
   566         else
   566         else
   567             {
   567             {
   568             // close the menu
   568             // close the menu
   569             iWindowManager.View()->StopDisplayingMenuBar();
   569             iWindowManager.View()->StopDisplayingMenuBar();