equal
deleted
inserted
replaced
344 iModeSwitchChoice = CPeninputLayoutInputmodelChoice::NewL( UiLayout(), |
344 iModeSwitchChoice = CPeninputLayoutInputmodelChoice::NewL( UiLayout(), |
345 EPeninutWindowCtrlIdSwitcherPopupWindow, EPluginInputModeHwr); |
345 EPeninutWindowCtrlIdSwitcherPopupWindow, EPluginInputModeHwr); |
346 iModeSwitchChoice->SetListSkinID( KAknsIIDQsnFrList, KAknsIIDQsnFrPopupSub ); |
346 iModeSwitchChoice->SetListSkinID( KAknsIIDQsnFrList, KAknsIIDQsnFrPopupSub ); |
347 iModeSwitchChoice->AddEventObserver( UiLayout() ); |
347 iModeSwitchChoice->AddEventObserver( UiLayout() ); |
348 AddControlL( iModeSwitchChoice ); |
348 AddControlL( iModeSwitchChoice ); |
349 |
349 |
350 for ( TInt i = 0; i < iCtrlPool->ControlCount(); i++ ) |
350 if( iCtrlPool != NULL ) |
351 { |
351 { |
352 if ( iCtrlPool ) |
352 for ( TInt i = 0; i < iCtrlPool->ControlCount(); i++ ) |
353 { |
353 { |
354 iCtrlPool->ControlByIndex( i )->AddEventObserver( UiLayout() ); |
354 iCtrlPool->ControlByIndex( i )->AddEventObserver( UiLayout() ); |
355 } |
355 } |
356 } |
356 } |
357 } |
357 } |