mmsharing/livecommsui/lcui/src/lcuicomponentrepository.cpp
changeset 34 01f0bb65bcf1
parent 29 36d7ded3ca23
child 39 4bcc59142325
equal deleted inserted replaced
29:36d7ded3ca23 34:01f0bb65bcf1
    67     mSlots->insert( lcActEndactivecallId, SLOT( notSupported() ) );
    67     mSlots->insert( lcActEndactivecallId, SLOT( notSupported() ) );
    68     mSlots->insert( lcActStopSharingId, SLOT( endVideoSession() ) );
    68     mSlots->insert( lcActStopSharingId, SLOT( endVideoSession() ) );
    69     mSlots->insert( lcActEnableCameraId, SLOT( disableCamera() ) );
    69     mSlots->insert( lcActEnableCameraId, SLOT( disableCamera() ) );
    70     mSlots->insert( lcActMuteId, SLOT( mute() ) );
    70     mSlots->insert( lcActMuteId, SLOT( mute() ) );
    71     mSlots->insert( lcActGalleryId, SLOT( notSupported() ) );
    71     mSlots->insert( lcActGalleryId, SLOT( notSupported() ) );
    72     mSlots->insert( lcActChangeCameraId, SLOT( notSupported() ) );    
    72     mSlots->insert( lcActChangeCameraId, SLOT( changeCamera() ) );    
    73     mSlots->insert( lcActAdjustVideoId, SLOT( notSupported() ) );
    73     mSlots->insert( lcActAdjustVideoId, SLOT( notSupported() ) );
    74     mSlots->insert( lcActShareImageId, SLOT( notSupported() ) );
    74     mSlots->insert( lcActShareImageId, SLOT( notSupported() ) );
    75     mSlots->insert( lcActSwapViewsId, SLOT( swap() ) );
    75     mSlots->insert( lcActSwapViewsId, SLOT( swap() ) );
    76     mSlots->insert( lcActSwitchToVoiceCallId, SLOT( switchToVoiceCall() ) );    
    76     mSlots->insert( lcActSwitchToVoiceCallId, SLOT( switchToVoiceCall() ) );    
    77     mSlots->insert( lcActOpenKeypadId, SLOT( openDialpad() ) );
    77     mSlots->insert( lcActOpenKeypadId, SLOT( openDialpad() ) );
    78     mSlots->insert( lcActDisableCameraId, SLOT( disableCamera() ) );
    78     mSlots->insert( lcActDisableCameraId, SLOT( disableCamera() ) );
    79     mSlots->insert( lcActSpeakerId, SLOT( speaker() ) );
    79     mSlots->insert( lcActSpeakerId, SLOT( speaker() ) );
    80 
    80 
    81     mSlots->insert( lcActMenuDisableCameraId, SLOT( disableCamera() ) );    
    81     mSlots->insert( lcActMenuDisableCameraId, SLOT( disableCamera() ) );    
    82     mSlots->insert( lcActMenuChangeCameraId, SLOT( notSupported() ) );  
    82     mSlots->insert( lcActMenuChangeCameraId, SLOT( changeCamera() ) );    
    83     
    83     
    84     LC_QDEBUG( "livecomms [UI] <- LcUiComponentRepository::LcUiComponentRepository()" )
    84     LC_QDEBUG( "livecomms [UI] <- LcUiComponentRepository::LcUiComponentRepository()" )
    85 }
    85 }
    86 
    86 
    87 // -----------------------------------------------------------------------------
    87 // -----------------------------------------------------------------------------
   503         static_cast<HbAction*>( findObject( lcActMenuDisableCameraId ) );
   503         static_cast<HbAction*>( findObject( lcActMenuDisableCameraId ) );
   504     HbAction* enableCamera = 
   504     HbAction* enableCamera = 
   505         static_cast<HbAction*>( findObject( lcActEnableCameraId ) );
   505         static_cast<HbAction*>( findObject( lcActEnableCameraId ) );
   506 
   506 
   507     QObject::connect( changeCamera, SIGNAL(triggered()), 
   507     QObject::connect( changeCamera, SIGNAL(triggered()), 
   508       &view, SLOT(notSupported()) );
   508       &view, SLOT(changeCamera()) );
   509 
   509 
   510     QObject::connect( disableCamera, SIGNAL(triggered()), 
   510     QObject::connect( disableCamera, SIGNAL(triggered()), 
   511       &view, SLOT(disableCamera()) );
   511       &view, SLOT(disableCamera()) );
   512     
   512     
   513     QObject::connect( enableCamera, SIGNAL(triggered()), 
   513     QObject::connect( enableCamera, SIGNAL(triggered()),