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

void QEvent::accept (  )  [inline, inherited]

Sets the accept flag of the event object, the equivalent of callign setAccepted(true).

Setting the accept parameter indicates that the event receiver wants the event. Unwanted events might be propagated to the parent widget.

See also:
ignore()

Reimplemented in QDragMoveEvent.

Definition at line 229 of file qcoreevent.h.

Referenced by QDragMoveEvent::accept(), QDropEvent::acceptProposedAction(), QDialog::closeEvent(), Q3DataTable::contentsContextMenuEvent(), Q3TextEdit::contentsContextMenuEvent(), Q3ListView::contentsDropEvent(), Q3ScrollView::contextMenuEvent(), QLabel::contextMenuEvent(), QMainWindow::event(), QLineEdit::event(), QWidget::event(), QApplication::event(), QMenuBar::event(), QMenu::event(), Q3TextEdit::event(), Q3Table::eventFilter(), QFontDialog::eventFilter(), Q3FileDialog::keyPressEvent(), QTextEdit::keyPressEvent(), QMenu::keyPressEvent(), QMenuBar::keyPressEvent(), QTextBrowser::keyPressEvent(), QAbstractScrollArea::keyPressEvent(), QSlider::mouseMoveEvent(), QDial::mouseMoveEvent(), QAbstractButton::mouseMoveEvent(), QDial::mousePressEvent(), QAbstractButton::mousePressEvent(), QSlider::mousePressEvent(), QDial::mouseReleaseEvent(), QAbstractButton::mouseReleaseEvent(), QSlider::mouseReleaseEvent(), QApplication::notify(), Q3ScrollView::viewportContextMenuEvent(), Q3ScrollView::viewportWheelEvent(), Q3SpinWidget::wheelEvent(), Q3ComboBox::wheelEvent(), QAbstractSlider::wheelEvent(), QComboBox::wheelEvent(), Q3ScrollView::wheelEvent(), and QGraphicsScene::wheelEvent().

{ m_accept = true; }


Generated by  Doxygen 1.6.0   Back to index