<class name="QDragEnterEvent" doc="/** <p>The <a href="QDragEnterEvent.html#QDragEnterEvent(com.trolltech.qt.core.QPoint, com.trolltech.qt.core.Qt.DropActions, com.trolltech.qt.gui.QMimeData, com.trolltech.qt.core.Qt.MouseButtons, com.trolltech.qt.core.Qt.KeyboardModifiers)"><tt>QDragEnterEvent</tt></a> class provides an event which is sent to a widget when a drag and drop action enters it.</p> <p>A widget must accept this event in order to receive the <a href="QDragMoveEvent.html#QDragMoveEvent(com.trolltech.qt.core.QPoint, com.trolltech.qt.core.Qt.DropActions, com.trolltech.qt.gui.QMimeData, com.trolltech.qt.core.Qt.MouseButtons, com.trolltech.qt.core.Qt.KeyboardModifiers, com.trolltech.qt.core.QEvent.Type)">drag move events</tt></a> that are sent while the drag and drop action is in progress. The drag enter event is always immediately followed by a drag move event.</p> <p><a href="QDragEnterEvent.html#QDragEnterEvent(com.trolltech.qt.core.QPoint, com.trolltech.qt.core.Qt.DropActions, com.trolltech.qt.gui.QMimeData, com.trolltech.qt.core.Qt.MouseButtons, com.trolltech.qt.core.Qt.KeyboardModifiers)"><tt>QDragEnterEvent</tt></a> inherits most of its functionality from <a href="QDragMoveEvent.html#QDragMoveEvent(com.trolltech.qt.core.QPoint, com.trolltech.qt.core.Qt.DropActions, com.trolltech.qt.gui.QMimeData, com.trolltech.qt.core.Qt.MouseButtons, com.trolltech.qt.core.Qt.KeyboardModifiers, com.trolltech.qt.core.QEvent.Type)"><tt>QDragMoveEvent</tt></a>, which in turn inherits most of its functionality from <a href="QDropEvent.html#QDropEvent(com.trolltech.qt.core.QPoint, com.trolltech.qt.core.Qt.DropActions, com.trolltech.qt.gui.QMimeData, com.trolltech.qt.core.Qt.MouseButtons, com.trolltech.qt.core.Qt.KeyboardModifiers, com.trolltech.qt.core.QEvent.Type)"><tt>QDropEvent</tt></a>.</p> @see <a href="QDragLeaveEvent.html"><tt>QDragLeaveEvent</tt></a> @see <a href="QDragMoveEvent.html#QDragMoveEvent(com.trolltech.qt.core.QPoint, com.trolltech.qt.core.Qt.DropActions, com.trolltech.qt.gui.QMimeData, com.trolltech.qt.core.Qt.MouseButtons, com.trolltech.qt.core.Qt.KeyboardModifiers, com.trolltech.qt.core.QEvent.Type)"><tt>QDragMoveEvent</tt></a> @see <a href="QDropEvent.html#QDropEvent(com.trolltech.qt.core.QPoint, com.trolltech.qt.core.Qt.DropActions, com.trolltech.qt.gui.QMimeData, com.trolltech.qt.core.Qt.MouseButtons, com.trolltech.qt.core.Qt.KeyboardModifiers, com.trolltech.qt.core.QEvent.Type)"><tt>QDropEvent</tt></a> */"> <method name="public QDragEnterEvent(com.trolltech.qt.core.QPoint pos, com.trolltech.qt.core.Qt.DropActions actions, com.trolltech.qt.gui.QMimeData data, com.trolltech.qt.core.Qt.MouseButtons buttons, com.trolltech.qt.core.Qt.KeyboardModifiers modifiers)" doc="/** <p>Constructs a <a href="QDragEnterEvent.html#QDragEnterEvent(com.trolltech.qt.core.QPoint, com.trolltech.qt.core.Qt.DropActions, com.trolltech.qt.gui.QMimeData, com.trolltech.qt.core.Qt.MouseButtons, com.trolltech.qt.core.Qt.KeyboardModifiers)"><tt>QDragEnterEvent</tt></a> that represents a drag entering a widget at the given <tt>pos</tt> with mouse and keyboard states specified by <tt>buttons</tt> and <tt>modifiers</tt>.</p> <p>The drag data is passed as MIME-encoded information in <tt>data</tt>, and the specified <tt>actions</tt> describe the possible types of drag and drop operation that can be performed.</p> <p><b>Warning:</b> Do not create a <a href="QDragEnterEvent.html#QDragEnterEvent(com.trolltech.qt.core.QPoint, com.trolltech.qt.core.Qt.DropActions, com.trolltech.qt.gui.QMimeData, com.trolltech.qt.core.Qt.MouseButtons, com.trolltech.qt.core.Qt.KeyboardModifiers)"><tt>QDragEnterEvent</tt></a> yourself since these objects rely on Qt's internal state.</p> */"/> </class>