-void MainInterface::setStatus( int status )
-{
- msg_Dbg( p_intf, "Updating the stream status: %i", status );
-
- /* Forward the status to the controls to toggle Play/Pause */
- controls->setStatus( status );
- controls->updateInput();
-
- if( fullscreenControls )
- {
- fullscreenControls->setStatus( status );
- fullscreenControls->updateInput();
- }
-
- speedControl->setEnable( THEMIM->getIM()->hasInput() );
-
- /* And in the systray for the menu */
- if( sysTray )
- QVLCMenu::updateSystrayMenu( this, p_intf );
-}
-
-void MainInterface::setRate( int rate )
-{
- QString str;
- str.setNum( ( 1000 / (double)rate ), 'f', 2 );
- str.append( "x" );
- speedLabel->setText( str );
- speedLabel->setToolTip( str );
- speedControl->updateControls( rate );
-}
-
-void MainInterface::updateOnTimer()
-{
- /* No event for dying */
- if( intf_ShouldDie( p_intf ) )
- {
- QApplication::closeAllWindows();
- QApplication::quit();
- }
-}
-