Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > c5a68a1bfbb41dd7ab32131d8bbca747 > files > 2483

qt4-doc-4.3.4-6mdv2008.1.x86_64.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- /tmp/qt-4.3.4-qt-1203442408707/qt-x11-opensource-src-4.3.4/src/gui/kernel/qevent.cpp -->
<head>
  <title>Qt 4.3: QDragEnterEvent Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://www.trolltech.com/products/qt"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
<td align="right" valign="top" width="230"><a href="http://www.trolltech.com"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></a></td></tr></table><h1 align="center">QDragEnterEvent Class Reference<br /><sup><sup>[<a href="qtgui.html">QtGui</a> module]</sup></sup></h1>
<p>The QDragEnterEvent class provides an event which is sent to a widget when a drag and drop action enters it. <a href="#details">More...</a></p>
<pre> #include &lt;QDragEnterEvent&gt;</pre><p>Inherits <a href="qdragmoveevent.html">QDragMoveEvent</a>.</p>
<ul>
<li><a href="qdragenterevent-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h3>Public Functions</h3>
<ul>
<li><div class="fn"/><b><a href="qdragenterevent.html#QDragEnterEvent">QDragEnterEvent</a></b> ( const QPoint &amp; <i>point</i>, Qt::DropActions <i>actions</i>, const QMimeData * <i>data</i>, Qt::MouseButtons <i>buttons</i>, Qt::KeyboardModifiers <i>modifiers</i> )</li>
</ul>
<ul>
<li><div class="fn"/>5 public functions inherited from <a href="qdragmoveevent.html#public-functions">QDragMoveEvent</a></li>
<li><div class="fn"/>10 public functions inherited from <a href="qdropevent.html#public-functions">QDropEvent</a></li>
<li><div class="fn"/>6 public functions inherited from <a href="qevent.html#public-functions">QEvent</a></li>
<li><div class="fn"/>3 public functions inherited from <a href="qmimesource.html#public-functions">QMimeSource</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li><div class="fn"/>1 property inherited from <a href="qevent.html#properties">QEvent</a></li>
</ul>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The QDragEnterEvent 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">drag move events</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>QDragEnterEvent inherits most of its functionality from <a href="qdragmoveevent.html">QDragMoveEvent</a>, which in turn inherits most of its functionality from <a href="qdropevent.html">QDropEvent</a>.</p>
<p>See also <a href="qdragleaveevent.html">QDragLeaveEvent</a>, <a href="qdragmoveevent.html">QDragMoveEvent</a>, and <a href="qdropevent.html">QDropEvent</a>.</p>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="QDragEnterEvent"></a>QDragEnterEvent::QDragEnterEvent ( const <a href="qpoint.html">QPoint</a> &amp; <i>point</i>, <a href="qt.html#DropAction-enum">Qt::DropActions</a> <i>actions</i>, const <a href="qmimedata.html">QMimeData</a> * <i>data</i>, <a href="qt.html#MouseButton-enum">Qt::MouseButtons</a> <i>buttons</i>, <a href="qt.html#KeyboardModifier-enum">Qt::KeyboardModifiers</a> <i>modifiers</i> )</h3>
<p>Constructs a <a href="qdragenterevent.html">QDragEnterEvent</a> that represents a drag entering a widget at the given <i>point</i> with mouse and keyboard states specified by <i>buttons</i> and <i>modifiers</i>.</p>
<p>The drag data is passed as MIME-encoded information in <i>data</i>, and the specified <i>actions</i> 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</a> yourself since these objects rely on Qt's internal state.</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%">Copyright &copy; 2008 <a href="trolltech.html">Trolltech</a></td>
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="30%" align="right"><div align="right">Qt 4.3.4</div></td>
</tr></table></div></address></body>
</html>