<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 16:59:57 CEST 2007 --> <TITLE> QDropEvent </TITLE> <META NAME="keywords" CONTENT="com.trolltech.qt.gui.QDropEvent class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="QDropEvent"; } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/gui/QDragResponseEvent.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/gui/QErrorMessage.html" title="class in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/gui/QDropEvent.html" target="_top"><B>FRAMES</B></A> <A HREF="QDropEvent.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_classes_inherited_from_class_com.trolltech.qt.core.QEvent">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> com.trolltech.qt.gui</FONT> <BR> Class QDropEvent</H2> <PRE> java.lang.Object <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">com.trolltech.qt.core.QEvent</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QDropEvent</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD> </DL> <DL> <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/trolltech/qt/gui/QDragMoveEvent.html" title="class in com.trolltech.qt.gui">QDragMoveEvent</A></DD> </DL> <HR> <DL> <DT><PRE>public class <B>QDropEvent</B><DT>extends <A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A></DL> </PRE> <P> <p>The <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> class provides an event which is sent when a drag and drop action is completed.</p> <p>When a widget accepts drop events</tt>, it will receive this event if it has accepted the most recent <a href="QDragEnterEvent.html"><tt>QDragEnterEvent</tt></a> or <a href="QDragMoveEvent.html"><tt>QDragMoveEvent</tt></a> sent to it.</p> <p>The drop event contains a proposed action, available from <a href="QDropEvent.html#proposedAction()"><tt>proposedAction</tt></a>, for the widget to either accept or ignore. If the action can be handled by the widget, you should call the <a href="QDropEvent.html#acceptProposedAction()"><tt>acceptProposedAction</tt></a> function. Since the proposed action can be a combination of <tt>Qt::DropAction</tt> values, it may be useful to either select one of these values as a default action or ask the user to select their preferred action.</p> <p>If the proposed drop action is not suitable, perhaps because your custom widget does not support that action, you can replace it with any of the <a href="QDropEvent.html#possibleActions()">possible drop actions</tt></a> by calling <a href="QDropEvent.html#setDropAction(com.trolltech.qt.core.Qt.DropAction)"><tt>setDropAction</tt></a> with your preferred action. If you set a value that is not present in the bitwise OR combination of values returned by <a href="QDropEvent.html#possibleActions()"><tt>possibleActions</tt></a>, the default copy action will be used. Once a replacement drop action has been set, call <a href="%2E%2E/core/%2E%2E/core/QEvent.html#accept()"><tt>accept</tt></a> instead of <a href="QDropEvent.html#acceptProposedAction()"><tt>acceptProposedAction</tt></a> to complete the drop operation.</p> <p>The <a href="QDropEvent.html#mimeData()"><tt>mimeData</tt></a> function provides the data dropped on the widget in a <a href="QMimeData.html"><tt>QMimeData</tt></a> object. This contains information about the MIME type of the data in addition to the data itself.</p> <P> <P> <DL> <DT><B>See Also:</B><DD><a href="QMimeData.html"><tt>QMimeData</tt></a>, <a href="QDrag.html"><tt>QDrag</tt></a>, <a href="%2E%2E/dnd.html">Drag and Drop</tt></a></DL> <HR> <P> <!-- ======== NESTED CLASS SUMMARY ======== --> <A NAME="nested_class_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Nested Class Summary</B></FONT></TH> </TR> </TABLE> <A NAME="nested_classes_inherited_from_class_com.trolltech.qt.core.QEvent"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.core.<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/core/QEvent.Type.html" title="enum in com.trolltech.qt.core">QEvent.Type</A></CODE></TD> </TR> </TABLE> <A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>></CODE></TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/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)">QDropEvent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> pos, <A HREF="../../../../com/trolltech/qt/core/Qt.DropActions.html" title="class in com.trolltech.qt.core">Qt.DropActions</A> actions, <A HREF="../../../../com/trolltech/qt/gui/QMimeData.html" title="class in com.trolltech.qt.gui">QMimeData</A> data, <A HREF="../../../../com/trolltech/qt/core/Qt.MouseButtons.html" title="class in com.trolltech.qt.core">Qt.MouseButtons</A> buttons, <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A> modifiers)</CODE> <BR> Equivalent to <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>(<tt>pos</tt>, <tt>actions</tt>, <tt>data</tt>, <tt>buttons</tt>, <tt>modifiers</tt>, Drop).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/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)">QDropEvent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> pos, <A HREF="../../../../com/trolltech/qt/core/Qt.DropActions.html" title="class in com.trolltech.qt.core">Qt.DropActions</A> actions, <A HREF="../../../../com/trolltech/qt/gui/QMimeData.html" title="class in com.trolltech.qt.gui">QMimeData</A> data, <A HREF="../../../../com/trolltech/qt/core/Qt.MouseButtons.html" title="class in com.trolltech.qt.core">Qt.MouseButtons</A> buttons, <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A> modifiers, <A HREF="../../../../com/trolltech/qt/core/QEvent.Type.html" title="enum in com.trolltech.qt.core">QEvent.Type</A> type)</CODE> <BR> Constructs a drop event of a certain <tt>type</tt> corresponding to a drop at the point specified by <tt>pos</tt> in the destination widget's coordinate system.</TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QDropEvent.html#acceptProposedAction()">acceptProposedAction</A></B>()</CODE> <BR> Sets the drop action to be the proposed action.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/Qt.DropAction.html" title="enum in com.trolltech.qt.core">Qt.DropAction</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QDropEvent.html#dropAction()">dropAction</A></B>()</CODE> <BR> Returns the action to be performed on the data by the target.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected java.util.List<<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QDropEvent.html#fmts()">fmts</A></B>()</CODE> <BR> This method is used internally by Qt Jambi.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/gui/QDropEvent.html" title="class in com.trolltech.qt.gui">QDropEvent</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QDropEvent.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> nativePointer)</CODE> <BR> This function returns the QDropEvent instance pointed to by nativePointer</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QDropEvent.html#keyboardModifiers()">keyboardModifiers</A></B>()</CODE> <BR> Returns the modifier keys that are pressed.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QMimeData.html" title="class in com.trolltech.qt.gui">QMimeData</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QDropEvent.html#mimeData()">mimeData</A></B>()</CODE> <BR> Returns the data that was dropped on the widget and its associated MIME type information.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/Qt.MouseButtons.html" title="class in com.trolltech.qt.core">Qt.MouseButtons</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QDropEvent.html#mouseButtons()">mouseButtons</A></B>()</CODE> <BR> Returns the mouse buttons that are pressed..</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QDropEvent.html#pos()">pos</A></B>()</CODE> <BR> Returns the position where the drop was made.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/Qt.DropActions.html" title="class in com.trolltech.qt.core">Qt.DropActions</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QDropEvent.html#possibleActions()">possibleActions</A></B>()</CODE> <BR> Returns an OR-combination of possible drop actions.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/Qt.DropAction.html" title="enum in com.trolltech.qt.core">Qt.DropAction</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QDropEvent.html#proposedAction()">proposedAction</A></B>()</CODE> <BR> Returns the proposed drop action.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QDropEvent.html#setAct(com.trolltech.qt.core.Qt.DropAction...)">setAct</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.DropAction.html" title="enum in com.trolltech.qt.core">Qt.DropAction</A>... act)</CODE> <BR> Sets this QDropEvent's drop actions to <tt>act</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QDropEvent.html#setDropAction(com.trolltech.qt.core.Qt.DropAction)">setDropAction</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.DropAction.html" title="enum in com.trolltech.qt.core">Qt.DropAction</A> action)</CODE> <BR> Sets the <tt>action</tt> to be performed on the data by the target.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QDropEvent.html#setFmts(java.util.List)">setFmts</A></B>(java.util.List<<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>> fmts)</CODE> <BR> This method is used internally by Qt Jambi.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QDropEvent.html#setModState(com.trolltech.qt.core.Qt.KeyboardModifier...)">setModState</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifier.html" title="enum in com.trolltech.qt.core">Qt.KeyboardModifier</A>... modState)</CODE> <BR> This method sets the keyboard modifiers for this QDropEvent to <tt>modState</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QDropEvent.html#setMouseState(com.trolltech.qt.core.Qt.MouseButton...)">setMouseState</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.MouseButton.html" title="enum in com.trolltech.qt.core">Qt.MouseButton</A>... mouseState)</CODE> <BR> Sets the mouse button state for this QDropEvent to <tt>mouseState</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QDropEvent.html#source()">source</A></B>()</CODE> <BR> If the source of the drag operation is a widget in this application, this function returns that source; otherwise it returns 0.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.core.QEvent"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.core.<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/core/QEvent.html#accept()">accept</A>, <A HREF="../../../../com/trolltech/qt/core/QEvent.html#ignore()">ignore</A>, <A HREF="../../../../com/trolltech/qt/core/QEvent.html#isAccepted()">isAccepted</A>, <A HREF="../../../../com/trolltech/qt/core/QEvent.html#setAccepted(boolean)">setAccepted</A>, <A HREF="../../../../com/trolltech/qt/core/QEvent.html#setT(char)">setT</A>, <A HREF="../../../../com/trolltech/qt/core/QEvent.html#spontaneous()">spontaneous</A>, <A HREF="../../../../com/trolltech/qt/core/QEvent.html#t()">t</A>, <A HREF="../../../../com/trolltech/qt/core/QEvent.html#type()">type</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#thread()">thread</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD> </TR> </TABLE> <P> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="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)"><!-- --></A><H3> QDropEvent</H3> <PRE> public <B>QDropEvent</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> pos, <A HREF="../../../../com/trolltech/qt/core/Qt.DropActions.html" title="class in com.trolltech.qt.core">Qt.DropActions</A> actions, <A HREF="../../../../com/trolltech/qt/gui/QMimeData.html" title="class in com.trolltech.qt.gui">QMimeData</A> data, <A HREF="../../../../com/trolltech/qt/core/Qt.MouseButtons.html" title="class in com.trolltech.qt.core">Qt.MouseButtons</A> buttons, <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A> modifiers)</PRE> <DL> <DD><p>Equivalent to <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>(<tt>pos</tt>, <tt>actions</tt>, <tt>data</tt>, <tt>buttons</tt>, <tt>modifiers</tt>, Drop). <P> </DL> <HR> <A NAME="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)"><!-- --></A><H3> QDropEvent</H3> <PRE> public <B>QDropEvent</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> pos, <A HREF="../../../../com/trolltech/qt/core/Qt.DropActions.html" title="class in com.trolltech.qt.core">Qt.DropActions</A> actions, <A HREF="../../../../com/trolltech/qt/gui/QMimeData.html" title="class in com.trolltech.qt.gui">QMimeData</A> data, <A HREF="../../../../com/trolltech/qt/core/Qt.MouseButtons.html" title="class in com.trolltech.qt.core">Qt.MouseButtons</A> buttons, <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A> modifiers, <A HREF="../../../../com/trolltech/qt/core/QEvent.Type.html" title="enum in com.trolltech.qt.core">QEvent.Type</A> type)</PRE> <DL> <DD><p>Constructs a drop event of a certain <tt>type</tt> corresponding to a drop at the point specified by <tt>pos</tt> in the destination widget's coordinate system.</p> <p>The <tt>actions</tt> indicate which types of drag and drop operation can be performed, and the drag data is stored as MIME-encoded data in <tt>data</tt>.</p> <p>The states of the mouse buttons and keyboard modifiers at the time of the drop are specified by <tt>buttons</tt> and <tt>modifiers</tt>.</p> <P> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="acceptProposedAction()"><!-- --></A><H3> acceptProposedAction</H3> <PRE> public final void <B>acceptProposedAction</B>()</PRE> <DL> <DD><p>Sets the drop action to be the proposed action.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDropEvent.html#setDropAction(com.trolltech.qt.core.Qt.DropAction)"><tt>setDropAction</tt></a>, <a href="QDropEvent.html#proposedAction()"><tt>proposedAction</tt></a>, <tt>accept</tt></DL> </DD> </DL> <HR> <A NAME="dropAction()"><!-- --></A><H3> dropAction</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/Qt.DropAction.html" title="enum in com.trolltech.qt.core">Qt.DropAction</A> <B>dropAction</B>()</PRE> <DL> <DD><p>Returns the action to be performed on the data by the target. This may be different from the action supplied in <a href="QDropEvent.html#proposedAction()"><tt>proposedAction</tt></a> if you have called <a href="QDropEvent.html#setDropAction(com.trolltech.qt.core.Qt.DropAction)"><tt>setDropAction</tt></a> to explicitly choose a drop action.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDropEvent.html#setDropAction(com.trolltech.qt.core.Qt.DropAction)"><tt>setDropAction</tt></a></DL> </DD> </DL> <HR> <A NAME="keyboardModifiers()"><!-- --></A><H3> keyboardModifiers</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A> <B>keyboardModifiers</B>()</PRE> <DL> <DD><p>Returns the modifier keys that are pressed.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mimeData()"><!-- --></A><H3> mimeData</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QMimeData.html" title="class in com.trolltech.qt.gui">QMimeData</A> <B>mimeData</B>()</PRE> <DL> <DD><p>Returns the data that was dropped on the widget and its associated MIME type information.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mouseButtons()"><!-- --></A><H3> mouseButtons</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/Qt.MouseButtons.html" title="class in com.trolltech.qt.core">Qt.MouseButtons</A> <B>mouseButtons</B>()</PRE> <DL> <DD><p>Returns the mouse buttons that are pressed..</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="pos()"><!-- --></A><H3> pos</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> <B>pos</B>()</PRE> <DL> <DD><p>Returns the position where the drop was made.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="possibleActions()"><!-- --></A><H3> possibleActions</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/Qt.DropActions.html" title="class in com.trolltech.qt.core">Qt.DropActions</A> <B>possibleActions</B>()</PRE> <DL> <DD><p>Returns an OR-combination of possible drop actions.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDropEvent.html#dropAction()"><tt>dropAction</tt></a></DL> </DD> </DL> <HR> <A NAME="proposedAction()"><!-- --></A><H3> proposedAction</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/Qt.DropAction.html" title="enum in com.trolltech.qt.core">Qt.DropAction</A> <B>proposedAction</B>()</PRE> <DL> <DD><p>Returns the proposed drop action.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDropEvent.html#dropAction()"><tt>dropAction</tt></a></DL> </DD> </DL> <HR> <A NAME="setDropAction(com.trolltech.qt.core.Qt.DropAction)"><!-- --></A><H3> setDropAction</H3> <PRE> public final void <B>setDropAction</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.DropAction.html" title="enum in com.trolltech.qt.core">Qt.DropAction</A> action)</PRE> <DL> <DD><p>Sets the <tt>action</tt> to be performed on the data by the target. Use this to override the <a href="QDropEvent.html#proposedAction()">proposed action</tt></a> with one of the <a href="QDropEvent.html#possibleActions()">possible actions</tt></a>.</p> <p>If you set a drop action that is not one of the possible actions, the drag and drop operation will default to a copy operation.</p> <p>Once you have supplied a replacement drop action, call <a href="%2E%2E/core/%2E%2E/core/QEvent.html#accept()"><tt>accept</tt></a> instead of <a href="QDropEvent.html#acceptProposedAction()"><tt>acceptProposedAction</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDropEvent.html#dropAction()"><tt>dropAction</tt></a></DL> </DD> </DL> <HR> <A NAME="source()"><!-- --></A><H3> source</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>source</B>()</PRE> <DL> <DD><p>If the source of the drag operation is a widget in this application, this function returns that source; otherwise it returns 0. The source of the operation is the first parameter to the <a href="QDrag.html"><tt>QDrag</tt></a> object used instantiate the drag.</p> <p>This is useful if your widget needs special behavior when dragging to itself.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>QDrag::QDrag</tt></DL> </DD> </DL> <HR> <A NAME="setModState(com.trolltech.qt.core.Qt.KeyboardModifier...)"><!-- --></A><H3> setModState</H3> <PRE> protected final void <B>setModState</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.KeyboardModifier.html" title="enum in com.trolltech.qt.core">Qt.KeyboardModifier</A>... modState)</PRE> <DL> <DD>This method sets the keyboard modifiers for this QDropEvent to <tt>modState</tt>. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setFmts(java.util.List)"><!-- --></A><H3> setFmts</H3> <PRE> protected final void <B>setFmts</B>(java.util.List<<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>> fmts)</PRE> <DL> <DD><p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDropEvent.html#fmts()"><tt>fmts</tt></a></DL> </DD> </DL> <HR> <A NAME="fmts()"><!-- --></A><H3> fmts</H3> <PRE> protected final java.util.List<<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>> <B>fmts</B>()</PRE> <DL> <DD><p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDropEvent.html#setFmts(java.util.List<com.trolltech.qt.core.QByteArray>)"><tt>setFmts</tt></a></DL> </DD> </DL> <HR> <A NAME="setMouseState(com.trolltech.qt.core.Qt.MouseButton...)"><!-- --></A><H3> setMouseState</H3> <PRE> protected final void <B>setMouseState</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.MouseButton.html" title="enum in com.trolltech.qt.core">Qt.MouseButton</A>... mouseState)</PRE> <DL> <DD>Sets the mouse button state for this QDropEvent to <tt>mouseState</tt>. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setAct(com.trolltech.qt.core.Qt.DropAction...)"><!-- --></A><H3> setAct</H3> <PRE> protected final void <B>setAct</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.DropAction.html" title="enum in com.trolltech.qt.core">Qt.DropAction</A>... act)</PRE> <DL> <DD>Sets this QDropEvent's drop actions to <tt>act</tt>. <tt>act</tt> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3> fromNativePointer</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/gui/QDropEvent.html" title="class in com.trolltech.qt.gui">QDropEvent</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> nativePointer)</PRE> <DL> <DD>This function returns the QDropEvent instance pointed to by nativePointer <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/gui/QDragResponseEvent.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/gui/QErrorMessage.html" title="class in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/gui/QDropEvent.html" target="_top"><B>FRAMES</B></A> <A HREF="QDropEvent.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_classes_inherited_from_class_com.trolltech.qt.core.QEvent">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>