I'm attempting to close a form when quit is selected in the tool bar. The form has an action called actionQuit which is written as such in the MainWindow.cpp file:

Qt Code:
  1. void MainWindow::on_actionQuit_triggered()
  2. {
  3.  
  4. }
To copy to clipboard, switch view to plain text mode 

How do I actually call the form to close inside of this? do I reference it as "ui.something"? Sorry if this is a seemingly simple question, I just cannot find the answer on my own.

Thank you,
Backslash