Logo Search packages:      
Sourcecode: valknut version File versions  Download package

bool DCGuiApp::queryExit (  )  [protected]

overloaded for Message box on last window exit

Definition at line 935 of file dcgui.cpp.

Referenced by slotFileQuit().

{
      int exit=QMessageBox::question(this, tr("Quit..."),
                        tr("Do you really want to quit?"),
                        QMessageBox::Ok, QMessageBox::Cancel);

      if (exit==QMessageBox::Ok)
      {
      }
      else
      {
      }

      return (exit==QMessageBox::Ok);
}


Generated by  Doxygen 1.6.0   Back to index