sources/Desktop/mainwindow.cpp
// capture the window's close event [x]

capture the window's close event [x]
capture the window ' s close event [ x ]
void MainWindow::closeEvent( QCloseEvent *bar )
{
    if( this->reallyQuit() ) {
        bar->accept();
        this->term->close();
        this->video->close();
    } else {
        bar->ignore();
    }
}
void MainWindow :: closeEvent ( QCloseEvent * bar ) { if ( this -> reallyQuit ( ) ) { bar -> accept ( ) ; this -> term -> close ( ) ; this -> video -> close ( ) ; } else { bar -> ignore ( ) ; } }
capture the window's close event [x]
capture the window ' s close event [ x ]