phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/src/ccappcommlaunchercontainer.cpp
equal
deleted
inserted
replaced
282 iBackground->SetRect(rect); |
282 iBackground->SetRect(rect); |
283 } |
283 } |
284 |
284 |
285 DrawDeferred(); |
285 DrawDeferred(); |
286 } |
286 } |
|
287 |
|
288 // ---------------------------------------------------------------------------- |
|
289 // CCCAppCommLauncherContainer::HandleResourceChange() |
|
290 // ---------------------------------------------------------------------------- |
|
291 // |
|
292 void CCCAppCommLauncherContainer::HandleResourceChange(TInt aType) |
|
293 { |
|
294 if ( aType == KEikDynamicLayoutVariantSwitch ) |
|
295 { |
|
296 TRAP_IGNORE( iModel->LoadVoipButtonInfoL() ); |
|
297 CCCAppViewPluginAknContainer::HandleResourceChange(aType); |
|
298 } |
|
299 } |
287 |
300 |
288 // ---------------------------------------------------------------------------- |
301 // ---------------------------------------------------------------------------- |
289 // CCCAppCommLauncherContainer::CountComponentControls() |
302 // CCCAppCommLauncherContainer::CountComponentControls() |
290 // ---------------------------------------------------------------------------- |
303 // ---------------------------------------------------------------------------- |
291 // |
304 // |
485 CCAContactorService::TCSParameter param( |
498 CCAContactorService::TCSParameter param( |
486 contactActionType, |
499 contactActionType, |
487 *iPlugin.ContactHandler().ContactIdentifierLC(),//contactlinkarray |
500 *iPlugin.ContactHandler().ContactIdentifierLC(),//contactlinkarray |
488 paramFlag, |
501 paramFlag, |
489 fullName ); |
502 fullName ); |
490 |
503 |
491 if ( contactActionType == VPbkFieldTypeSelectorFactory::EVoiceCallSelector || |
504 contactorService->ExecuteServiceL( param ); |
492 contactActionType == VPbkFieldTypeSelectorFactory::EVideoCallSelector || |
505 |
493 contactActionType == VPbkFieldTypeSelectorFactory::EVOIPCallSelector ) |
506 //The Timer can be started after user selected any call item |
|
507 if ( contactorService->IsSelected() && |
|
508 (contactActionType == VPbkFieldTypeSelectorFactory::EVoiceCallSelector || |
|
509 contactActionType == VPbkFieldTypeSelectorFactory::EVideoCallSelector || |
|
510 contactActionType == VPbkFieldTypeSelectorFactory::EVOIPCallSelector) ) |
494 { |
511 { |
495 iPlugin.StartTimerL(); |
512 iPlugin.StartTimerL(); |
496 } |
513 } |
497 |
514 |
498 contactorService->ExecuteServiceL( param ); |
515 |
499 |
|
500 CleanupStack::PopAndDestroy( 1 );// contactlinkarray |
516 CleanupStack::PopAndDestroy( 1 );// contactlinkarray |
501 } |
517 } |
502 } |
518 } |
503 } |
519 } |
504 } |
520 } |
573 contactActionType, |
589 contactActionType, |
574 *iPlugin.ContactHandler().ContactIdentifierLC(),//contactlinkarray |
590 *iPlugin.ContactHandler().ContactIdentifierLC(),//contactlinkarray |
575 paramFlag, |
591 paramFlag, |
576 fullName); |
592 fullName); |
577 |
593 |
578 if ( contactActionType == VPbkFieldTypeSelectorFactory::EVoiceCallSelector || |
594 contactorService->ExecuteServiceL(param); |
579 contactActionType == VPbkFieldTypeSelectorFactory::EVideoCallSelector || |
595 |
580 contactActionType == VPbkFieldTypeSelectorFactory::EVOIPCallSelector ) |
596 //The Timer can be started after user selected any call item |
|
597 if ( contactorService->IsSelected() && |
|
598 (contactActionType == VPbkFieldTypeSelectorFactory::EVoiceCallSelector || |
|
599 contactActionType == VPbkFieldTypeSelectorFactory::EVideoCallSelector || |
|
600 contactActionType == VPbkFieldTypeSelectorFactory::EVOIPCallSelector) ) |
581 { |
601 { |
582 iPlugin.StartTimerL(); |
602 iPlugin.StartTimerL(); |
583 } |
603 } |
584 |
604 |
585 contactorService->ExecuteServiceL(param); |
|
586 |
|
587 CleanupStack::PopAndDestroy(1);// contactlinkarray |
605 CleanupStack::PopAndDestroy(1);// contactlinkarray |
588 } |
606 } |
589 } |
607 } |
590 } |
608 } |
591 } |
609 } |