Logo Search packages:      
Sourcecode: qt4-x11 version File versions

void QWidget::closeEvent ( QCloseEvent event  )  [protected, virtual, inherited]

This event handler, for event event, can be reimplemented in a subclass to receive widget close events.

See also:
event(), hide(), close(), QCloseEvent, {Application Example}

Reimplemented in QDialog, QMessageBox, QProgressDialog, QAbstractSpinBox, QDockWidget, and Q3ProgressDialog.

Definition at line 6517 of file qwidget.cpp.

Referenced by QAbstractSpinBox::closeEvent(), QDockWidget::closeEvent(), and QWidget::event().

{
    event->accept();
}


Generated by  Doxygen 1.6.0   Back to index