sources/Desktop/mainwindow.cpp
bool MainWindow::reallyQuit()
{
    QMessageBox confirmQuitBox;
    return true;//HACK 2015

    confirmQuitBox.setWindowTitle( kAppName );
    confirmQuitBox.setText( "Are you sure you want to quit?" );
    confirmQuitBox.setStandardButtons( QMessageBox::Yes );
    confirmQuitBox.addButton( QMessageBox::No );
    confirmQuitBox.setDefaultButton( QMessageBox::No );
    confirmQuitBox.setIcon( QMessageBox::Warning ); // Question Warning Critical
    if( confirmQuitBox.exec() == (QMessageBox::Yes) ){
        return( true );
    } else {
        return( false );
    }
}
// confirm with the user that we really want to exit

confirm with the user that we really want to exit
confirm with the user that we really want to exit
bool MainWindow::reallyQuit()
{
    QMessageBox confirmQuitBox;
    return true;
    confirmQuitBox.setWindowTitle( kAppName );
    confirmQuitBox.setText( "Are you sure you want to quit?" );
    confirmQuitBox.setStandardButtons( QMessageBox::Yes );
    confirmQuitBox.addButton( QMessageBox::No );
    confirmQuitBox.setDefaultButton( QMessageBox::No );
    confirmQuitBox.setIcon( QMessageBox::Warning ); 
    if( confirmQuitBox.exec() == (QMessageBox::Yes) ){
        return( true );
    } else {
        return( false );
    }
}
bool MainWindow :: reallyQuit ( ) { QMessageBox confirmQuitBox ; return true ; confirmQuitBox . setWindowTitle ( kAppName ) ; confirmQuitBox . setText ( " " ) ; confirmQuitBox . setStandardButtons ( QMessageBox :: Yes ) ; confirmQuitBox . addButton ( QMessageBox :: No ) ; confirmQuitBox . setDefaultButton ( QMessageBox :: No ) ; confirmQuitBox . setIcon ( QMessageBox :: Warning ) ; if ( confirmQuitBox . exec ( ) == ( QMessageBox :: Yes ) ) { return ( true ) ; } else { return ( false ) ; } }
confirm with the user that we really want to exit
confirm with the user that we really want to exit
//HACK 2015
 // Question Warning Critical
