vlc_linux/vlc-3.0.16/modules/gui/qt/dialogs/open.cpp
/* Function called on signal currentChanged triggered */
Function called on signal currentChanged triggered
Function called on signal currentChanged triggered
void OpenDialog::signalCurrent( int i_tab )
{
    if( i_tab == OPEN_CAPTURE_TAB ) captureOpenPanel->initialize();
    if( ui.Tab->currentWidget() != NULL )
    {
        OpenPanel *panel = qobject_cast<OpenPanel *>( ui.Tab->currentWidget() );
        assert( panel );
        panel->onFocus();
        panel->updateMRL();
        panel->updateContext( i_action_flag == OPEN_AND_PLAY ?
                              OpenPanel::CONTEXT_INTERACTIVE :
                              OpenPanel::CONTEXT_BATCH );
    }
}
void OpenDialog :: signalCurrent ( int i_tab ) { if ( i_tab == OPEN_CAPTURE_TAB ) captureOpenPanel -> initialize ( ) ; if ( ui . Tab -> currentWidget ( ) != NULL ) { OpenPanel * panel = qobject_cast < OpenPanel * > ( ui . Tab -> currentWidget ( ) ) ; assert ( panel ) ; panel -> onFocus ( ) ; panel -> updateMRL ( ) ; panel -> updateContext ( i_action_flag == OPEN_AND_PLAY ? OpenPanel :: CONTEXT_INTERACTIVE : OpenPanel :: CONTEXT_BATCH ) ; } }
Function called on signal currentChanged triggered
Function called on signal currentChanged triggered