Qt4:百の定石
QPushButton* quitButton = new QPushButton(tr("Quit")) ; connect(quitButton, SIGNAL(clicked()), qApp, SLOT(quit())) ;