Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2002

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QDragEnterEvent" doc="/**
&lt;p&gt;The &lt;a href=&quot;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)&quot;&gt;&lt;tt&gt;QDragEnterEvent&lt;/tt&gt;&lt;/a&gt; class provides an event which is sent to a widget when a drag and drop action enters it.&lt;/p&gt;
&lt;p&gt;A widget must accept this event in order to receive the &lt;a href=&quot;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)&quot;&gt;drag move events&lt;/tt&gt;&lt;/a&gt; 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.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;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)&quot;&gt;&lt;tt&gt;QDragEnterEvent&lt;/tt&gt;&lt;/a&gt; inherits most of its functionality from &lt;a href=&quot;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)&quot;&gt;&lt;tt&gt;QDragMoveEvent&lt;/tt&gt;&lt;/a&gt;, which in turn inherits most of its functionality from &lt;a href=&quot;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)&quot;&gt;&lt;tt&gt;QDropEvent&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDragLeaveEvent.html&quot;&gt;&lt;tt&gt;QDragLeaveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;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)&quot;&gt;&lt;tt&gt;QDragMoveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;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)&quot;&gt;&lt;tt&gt;QDropEvent&lt;/tt&gt;&lt;/a&gt; */">
    <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="/**
&lt;p&gt;Constructs a &lt;a href=&quot;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)&quot;&gt;&lt;tt&gt;QDragEnterEvent&lt;/tt&gt;&lt;/a&gt; that represents a drag entering a widget at the given &lt;tt&gt;pos&lt;/tt&gt; with mouse and keyboard states specified by &lt;tt&gt;buttons&lt;/tt&gt; and &lt;tt&gt;modifiers&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The drag data is passed as MIME-encoded information in &lt;tt&gt;data&lt;/tt&gt;, and the specified &lt;tt&gt;actions&lt;/tt&gt; describe the possible types of drag and drop operation that can be performed.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Warning:&lt;/b&gt; Do not create a &lt;a href=&quot;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)&quot;&gt;&lt;tt&gt;QDragEnterEvent&lt;/tt&gt;&lt;/a&gt; yourself since these objects rely on Qt's internal state.&lt;/p&gt;
 */"/>
</class>