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

bool QWidget::acceptDrops [read, write, inherited]

whether drop events are enabled for this widget

Setting this property to true announces to the system that this widget may be able to accept drop events.

If the widget is the desktop (QWidget::(windowType() == Qt::Desktop)), this may fail if another application is using the desktop; you can call acceptDrops() to test if this occurs.

Do not modify this property in a Drag&Drop event handler.

Definition at line 163 of file qwidget.h.

Referenced by Q3ListView::contentsDragMoveEvent(), Q3ListView::contentsDropEvent(), QWidget::destroy(), QAbstractScrollArea::event(), and QApplication::notify().

Generated by  Doxygen 1.6.0   Back to index