sqlines-studio/mainwindow.cpp
// Run the conversion in the current tab
Run the conversion in the current tab
Run the conversion in the current tab
void MainWindow::convert()
{
    _running_tab = (ScriptTab*)ui->mainTabWidget->currentWidget();
    if(_running_tab == NULL)
        return;
    ui->actionRun_Conversion->setDisabled(true);
    QString source_file = _running_tab->GetSourceFile();
    startSqlines(source_file);
}
void MainWindow :: convert ( ) { _running_tab = ( ScriptTab * ) ui -> mainTabWidget -> currentWidget ( ) ; if ( _running_tab == NULL ) return ; ui -> actionRun_Conversion -> setDisabled ( true ) ; QString source_file = _running_tab -> GetSourceFile ( ) ; startSqlines ( source_file ) ; }
Run the conversion in the current tab
Run the conversion in the current tab
// Create or save if required and return the name of the source file // Start command line tool