src/3rdparty/phonon/mmf/videowidget.cpp
branchRCL_3
changeset 4 3b1da2848fc7
parent 3 41300fa6a67c
child 8 3f74d0d4af4c
equal deleted inserted replaced
3:41300fa6a67c 4:3b1da2848fc7
   155 QWidget* MMF::VideoWidget::widget()
   155 QWidget* MMF::VideoWidget::widget()
   156 {
   156 {
   157     return m_videoOutput.data();
   157     return m_videoOutput.data();
   158 }
   158 }
   159 
   159 
   160 bool MMF::VideoWidget::activateOnMediaObject(MediaObject *mo)
   160 //-----------------------------------------------------------------------------
       
   161 // MediaNode
       
   162 //-----------------------------------------------------------------------------
       
   163 
       
   164 void MMF::VideoWidget::connectMediaObject(MediaObject *mediaObject)
   161 {
   165 {
   162     mo->setVideoOutput(m_videoOutput.data());
   166     mediaObject->setVideoOutput(m_videoOutput.data());
   163     return true;
   167 }
       
   168 
       
   169 void MMF::VideoWidget::disconnectMediaObject(MediaObject *mediaObject)
       
   170 {
       
   171     mediaObject->setVideoOutput(0);
   164 }
   172 }
   165 
   173 
   166 QT_END_NAMESPACE
   174 QT_END_NAMESPACE
   167 
   175