ui/viewmanagement/statehandler/src/glxstatemanager.cpp
changeset 29 2c833fc9e98f
parent 26 c499df2dbb33
child 33 1ee2af37811f
equal deleted inserted replaced
26:c499df2dbb33 29:2c833fc9e98f
   384     mCurrentModel->setData(QModelIndex(), (int)mode, GlxContextRole );
   384     mCurrentModel->setData(QModelIndex(), (int)mode, GlxContextRole );
   385 }
   385 }
   386 
   386 
   387 void GlxStateManager::setFullScreenContext()
   387 void GlxStateManager::setFullScreenContext()
   388 {
   388 {
   389     if ( mViewManager->orientation() == Qt::Horizontal ) {
   389     if ( mViewManager->orientation() == Qt::Horizontal || mCurrentState->id() == GLX_SLIDESHOWVIEW_ID ) {
   390         mCurrentModel->setData(QModelIndex(), (int)GlxContextLsFs, GlxContextRole );
   390         mCurrentModel->setData(QModelIndex(), (int)GlxContextLsFs, GlxContextRole );
   391     }
   391     }
   392     else {
   392     else {
   393         mCurrentModel->setData(QModelIndex(), (int)GlxContextPtFs, GlxContextRole );
   393         mCurrentModel->setData(QModelIndex(), (int)GlxContextPtFs, GlxContextRole );
   394     }    
   394     }    
   490    case EGlxCmdMarkAll:
   490    case EGlxCmdMarkAll:
   491    case EGlxCmdUnMarkAll:
   491    case EGlxCmdUnMarkAll:
   492        mViewManager->handleUserAction(mCurrentState->id(), id);
   492        mViewManager->handleUserAction(mCurrentState->id(), id);
   493        id = EGlxCmdHandled;
   493        id = EGlxCmdHandled;
   494        break;
   494        break;
   495    case EGlxCmdRotate:
       
   496        mViewManager->handleUserAction(mCurrentState->id(), id);
       
   497 	   //Disable Rotate CH mActionHandler->handleAction(id,mCollectionId);
       
   498        id = EGlxCmdHandled;
       
   499        break;    
       
   500        
       
   501 
       
   502        
   495        
   503    case EGlxCmdSetupItem :
   496    case EGlxCmdSetupItem :
   504        emit setupItemsSignal();
   497        emit setupItemsSignal();
   505        break;
   498        break;
   506        
   499