manager.cpp
void Manager::exit_app()
{
    int checked_action = QMessageBox::question(this, "Quit and close Application ?",
                                               "You are about to exit the Application. Are you sure you want to continue?", QMessageBox::No | QMessageBox::Yes);
    if(checked_action==QMessageBox::Yes) {
        close();
    } else  if(checked_action==QMessageBox::No) {
        return;
    }
}
// Exit the application helper function to call whenever I wish!
Exit the application helper function to call whenever I wish!
Exit the application helper function to call whenever I wish!
void Manager::exit_app()
{
    int checked_action = QMessageBox::question(this, "Quit and close Application ?",
                                               "You are about to exit the Application. Are you sure you want to continue?", QMessageBox::No | QMessageBox::Yes);
    if(checked_action==QMessageBox::Yes) {
        close();
    } else  if(checked_action==QMessageBox::No) {
        return;
    }
}
void Manager :: exit_app ( ) { int checked_action = QMessageBox :: question ( this , " " , " " , QMessageBox :: No | QMessageBox :: Yes ) ; if ( checked_action == QMessageBox :: Yes ) { close ( ) ; } else if ( checked_action == QMessageBox :: No ) { return ; } }
Exit the application helper function to call whenever I wish!
Exit the application helper function to call whenever I wish!