<!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:57:38 CEST 2007 --> <TITLE> QEventLoop </TITLE> <META NAME="keywords" CONTENT="com.trolltech.qt.core.QEventLoop class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="QEventLoop"; } </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/core/QEvent.Type.html" title="enum in com.trolltech.qt.core"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/core/QEventLoop.ProcessEventsFlag.html" title="enum in com.trolltech.qt.core"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/core/QEventLoop.html" target="_top"><B>FRAMES</B></A> <A HREF="QEventLoop.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_class_summary">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.core</FONT> <BR> Class QEventLoop</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/QObject.html" title="class in com.trolltech.qt.core">com.trolltech.qt.core.QObject</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.core.QEventLoop</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> <HR> <DL> <DT><PRE>public class <B>QEventLoop</B><DT>extends <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></DL> </PRE> <P> <p>The <a href="QEventLoop.html#QEventLoop(com.trolltech.qt.core.QObject)"><tt>QEventLoop</tt></a> class provides a means of entering and leaving an event loop.</p> <p>At any time, you can create a <a href="QEventLoop.html#QEventLoop(com.trolltech.qt.core.QObject)"><tt>QEventLoop</tt></a> object and call <a href="QEventLoop.html#exec(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>exec</tt></a> on it to start a local event loop. From within the event loop, calling <a href="QEventLoop.html#exit(int)"><tt>exit</tt></a> will force <a href="QEventLoop.html#exec(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>exec</tt></a> to return.</p> <P> <P> <DL> <DT><B>See Also:</B><DD><a href="QAbstractEventDispatcher.html"><tt>QAbstractEventDispatcher</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> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QEventLoop.ProcessEventsFlag.html" title="enum in com.trolltech.qt.core">QEventLoop.ProcessEventsFlag</A></B></CODE> <BR> This enum controls the types of events processed by the <a href="QEventLoop.html#processEvents(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>processEvents</tt></a> functions.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QEventLoop.ProcessEventsFlags.html" title="class in com.trolltech.qt.core">QEventLoop.ProcessEventsFlags</A></B></CODE> <BR> This QFlag class provides flags for the int enum.</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/core/QEventLoop.html#QEventLoop()">QEventLoop</A></B>()</CODE> <BR> Equivalent to <a href="QEventLoop.html#QEventLoop(com.trolltech.qt.core.QObject)"><tt>QEventLoop</tt></a>(0).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QEventLoop.html#QEventLoop(com.trolltech.qt.core.QObject)">QEventLoop</A></B>(<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A> parent)</CODE> <BR> Constructs an event loop object with the given <tt>parent</tt>.</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> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QEventLoop.html#exec()">exec</A></B>()</CODE> <BR> Equivalent to <a href="QEventLoop.html#exec(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)">exec</tt></a>(AllEvents).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QEventLoop.html#exec(com.trolltech.qt.core.QEventLoop.ProcessEventsFlag...)">exec</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEventLoop.ProcessEventsFlag.html" title="enum in com.trolltech.qt.core">QEventLoop.ProcessEventsFlag</A>... flags)</CODE> <BR> Enters the main event loop and waits until <a href="QEventLoop.html#exit(int)"><tt>exit</tt></a> is called.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QEventLoop.html#exec(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)">exec</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEventLoop.ProcessEventsFlags.html" title="class in com.trolltech.qt.core">QEventLoop.ProcessEventsFlags</A> flags)</CODE> <BR> Enters the main event loop and waits until <a href="QEventLoop.html#exit(int)"><tt>exit</tt></a> is called.</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/core/QEventLoop.html#exit()">exit</A></B>()</CODE> <BR> Equivalent to <a href="QEventLoop.html#exit(int)">exit</tt></a>(0).</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/core/QEventLoop.html#exit(int)">exit</A></B>(int returnCode)</CODE> <BR> Tells the event loop to exit with a return code.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/core/QEventLoop.html" title="class in com.trolltech.qt.core">QEventLoop</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QEventLoop.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 QEventLoop instance pointed to by nativePointer</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QEventLoop.html#isRunning()">isRunning</A></B>()</CODE> <BR> Returns true if the event loop is running; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QEventLoop.html#processEvents()">processEvents</A></B>()</CODE> <BR> Equivalent to <a href="QEventLoop.html#processEvents(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>processEvents</tt></a>(AllEvents).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QEventLoop.html#processEvents(com.trolltech.qt.core.QEventLoop.ProcessEventsFlag...)">processEvents</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEventLoop.ProcessEventsFlag.html" title="enum in com.trolltech.qt.core">QEventLoop.ProcessEventsFlag</A>... flags)</CODE> <BR> Processes pending events that match <tt>flags</tt> until there are no more events to process.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QEventLoop.html#processEvents(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)">processEvents</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEventLoop.ProcessEventsFlags.html" title="class in com.trolltech.qt.core">QEventLoop.ProcessEventsFlags</A> flags)</CODE> <BR> Processes pending events that match <tt>flags</tt> until there are no more events to process.</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/core/QEventLoop.html#processEvents(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags, int)">processEvents</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEventLoop.ProcessEventsFlags.html" title="class in com.trolltech.qt.core">QEventLoop.ProcessEventsFlags</A> flags, int maximumTime)</CODE> <BR> Process pending events that match <tt>flags</tt> for a maximum of <tt>maximumTime</tt> milliseconds, or until there are no more events to process, whichever is shorter.</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/core/QEventLoop.html#quit()">quit</A></B>()</CODE> <BR> Tells the event loop to exit normally.</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/core/QEventLoop.html#wakeUp()">wakeUp</A></B>()</CODE> <BR> Wakes up the event loop.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.core.QObject"><!-- --></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/QObject.html" title="class in com.trolltech.qt.core">QObject</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#childEvent(com.trolltech.qt.core.QChildEvent)">childEvent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#children()">children</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#connectSlotsByName()">connectSlotsByName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#customEvent(com.trolltech.qt.core.QEvent)">customEvent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#disposeLater()">disposeLater</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dumpObjectInfo()">dumpObjectInfo</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dumpObjectTree()">dumpObjectTree</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dynamicPropertyNames()">dynamicPropertyNames</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#event(com.trolltech.qt.core.QEvent)">event</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#eventFilter(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)">eventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild()">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild(java.lang.Class)">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild(java.lang.Class, java.lang.String)">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren()">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class, com.trolltech.qt.core.QRegExp)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class, java.lang.String)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#installEventFilter(com.trolltech.qt.core.QObject)">installEventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#isWidgetType()">isWidgetType</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#killTimer(int)">killTimer</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#moveToThread(java.lang.Thread)">moveToThread</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#objectName()">objectName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#parent()">parent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#property(java.lang.String)">property</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#removeEventFilter(com.trolltech.qt.core.QObject)">removeEventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setObjectName(java.lang.String)">setObjectName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setParent(com.trolltech.qt.core.QObject)">setParent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#startTimer(int)">startTimer</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#thread()">thread</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#timerEvent(com.trolltech.qt.core.QTimerEvent)">timerEvent</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#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</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="QEventLoop()"><!-- --></A><H3> QEventLoop</H3> <PRE> public <B>QEventLoop</B>()</PRE> <DL> <DD><p>Equivalent to <a href="QEventLoop.html#QEventLoop(com.trolltech.qt.core.QObject)"><tt>QEventLoop</tt></a>(0). <P> </DL> <HR> <A NAME="QEventLoop(com.trolltech.qt.core.QObject)"><!-- --></A><H3> QEventLoop</H3> <PRE> public <B>QEventLoop</B>(<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A> parent)</PRE> <DL> <DD><p>Constructs an event loop object with the given <tt>parent</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="exec(com.trolltech.qt.core.QEventLoop.ProcessEventsFlag...)"><!-- --></A><H3> exec</H3> <PRE> public final int <B>exec</B>(<A HREF="../../../../com/trolltech/qt/core/QEventLoop.ProcessEventsFlag.html" title="enum in com.trolltech.qt.core">QEventLoop.ProcessEventsFlag</A>... flags)</PRE> <DL> <DD><p>Enters the main event loop and waits until <a href="QEventLoop.html#exit(int)"><tt>exit</tt></a> is called. Returns the value that was passed to <a href="QEventLoop.html#exit(int)"><tt>exit</tt></a>.</p> <p>If <tt>flags</tt> are specified, only events of the types allowed by the <tt>flags</tt> will be processed.</p> <p>It is necessary to call this function to start event handling. The main event loop receives events from the window system and dispatches these to the application widgets.</p> <p>Generally speaking, no user interaction can take place before calling <a href="QEventLoop.html#exec(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>exec</tt></a>. As a special case, modal widgets like <a href="%2E%2E/gui/QMessageBox.html"><tt>QMessageBox</tt></a> can be used before calling <a href="QEventLoop.html#exec(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>exec</tt></a>, because modal widgets use their own local event loop.</p> <p>To make your application perform idle processing (i.e. executing a special function whenever there are no pending events), use a <a href="QTimer.html"><tt>QTimer</tt></a> with 0 timeout. More sophisticated idle processing schemes can be achieved using <a href="QEventLoop.html#processEvents(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>processEvents</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>QApplication::quit</tt>, <a href="QEventLoop.html#exit(int)"><tt>exit</tt></a>, <a href="QEventLoop.html#processEvents(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>processEvents</tt></a></DL> </DD> </DL> <HR> <A NAME="exec()"><!-- --></A><H3> exec</H3> <PRE> public final int <B>exec</B>()</PRE> <DL> <DD><p>Equivalent to <a href="QEventLoop.html#exec(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)">exec</tt></a>(AllEvents). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="exec(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><!-- --></A><H3> exec</H3> <PRE> public final int <B>exec</B>(<A HREF="../../../../com/trolltech/qt/core/QEventLoop.ProcessEventsFlags.html" title="class in com.trolltech.qt.core">QEventLoop.ProcessEventsFlags</A> flags)</PRE> <DL> <DD><p>Enters the main event loop and waits until <a href="QEventLoop.html#exit(int)"><tt>exit</tt></a> is called. Returns the value that was passed to <a href="QEventLoop.html#exit(int)"><tt>exit</tt></a>.</p> <p>If <tt>flags</tt> are specified, only events of the types allowed by the <tt>flags</tt> will be processed.</p> <p>It is necessary to call this function to start event handling. The main event loop receives events from the window system and dispatches these to the application widgets.</p> <p>Generally speaking, no user interaction can take place before calling <a href="QEventLoop.html#exec(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>exec</tt></a>. As a special case, modal widgets like <a href="%2E%2E/gui/QMessageBox.html"><tt>QMessageBox</tt></a> can be used before calling <a href="QEventLoop.html#exec(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>exec</tt></a>, because modal widgets use their own local event loop.</p> <p>To make your application perform idle processing (i.e. executing a special function whenever there are no pending events), use a <a href="QTimer.html"><tt>QTimer</tt></a> with 0 timeout. More sophisticated idle processing schemes can be achieved using <a href="QEventLoop.html#processEvents(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>processEvents</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>QApplication::quit</tt>, <a href="QEventLoop.html#exit(int)"><tt>exit</tt></a>, <a href="QEventLoop.html#processEvents(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>processEvents</tt></a></DL> </DD> </DL> <HR> <A NAME="exit()"><!-- --></A><H3> exit</H3> <PRE> public final void <B>exit</B>()</PRE> <DL> <DD><p>Equivalent to <a href="QEventLoop.html#exit(int)">exit</tt></a>(0). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="exit(int)"><!-- --></A><H3> exit</H3> <PRE> public final void <B>exit</B>(int returnCode)</PRE> <DL> <DD><p>Tells the event loop to exit with a return code.</p> <p>After this function has been called, the event loop returns from the call to <a href="QEventLoop.html#exec(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>exec</tt></a>. The <a href="QEventLoop.html#exec(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>exec</tt></a> function returns <tt>returnCode</tt>.</p> <p>By convention, a <tt>returnCode</tt> of 0 means success, and any non-zero value indicates an error.</p> <p>Note that unlike the C library function of the same name, this function <i>does</i> return to the caller -- it is event processing that stops.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>QCoreApplication::quit</tt>, <a href="QEventLoop.html#quit()"><tt>quit</tt></a>, <a href="QEventLoop.html#exec(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>exec</tt></a></DL> </DD> </DL> <HR> <A NAME="isRunning()"><!-- --></A><H3> isRunning</H3> <PRE> public final boolean <B>isRunning</B>()</PRE> <DL> <DD><p>Returns true if the event loop is running; otherwise returns false. The event loop is considered running from the time when <a href="QEventLoop.html#exec(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>exec</tt></a> is called until <a href="QEventLoop.html#exit(int)"><tt>exit</tt></a> is called.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QEventLoop.html#exec(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>exec</tt></a>, <a href="QEventLoop.html#exit(int)"><tt>exit</tt></a></DL> </DD> </DL> <HR> <A NAME="processEvents(com.trolltech.qt.core.QEventLoop.ProcessEventsFlag...)"><!-- --></A><H3> processEvents</H3> <PRE> public final boolean <B>processEvents</B>(<A HREF="../../../../com/trolltech/qt/core/QEventLoop.ProcessEventsFlag.html" title="enum in com.trolltech.qt.core">QEventLoop.ProcessEventsFlag</A>... flags)</PRE> <DL> <DD><p>Processes pending events that match <tt>flags</tt> until there are no more events to process. Returns true if pending events were handled; otherwise returns false.</p> <p>This function is especially useful if you have a long running operation and want to show its progress without allowing user input; i.e. by using the <a href="QEventLoop.html#ProcessEventsFlag-enum"><tt>ExcludeUserInputEvents</tt></a> flag.</p> <p>This function is simply a wrapper for QAbstractEventDispatcher::processEvents(). See the documentation for that function for details.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="processEvents()"><!-- --></A><H3> processEvents</H3> <PRE> public final boolean <B>processEvents</B>()</PRE> <DL> <DD><p>Equivalent to <a href="QEventLoop.html#processEvents(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>processEvents</tt></a>(AllEvents). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="processEvents(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><!-- --></A><H3> processEvents</H3> <PRE> public final boolean <B>processEvents</B>(<A HREF="../../../../com/trolltech/qt/core/QEventLoop.ProcessEventsFlags.html" title="class in com.trolltech.qt.core">QEventLoop.ProcessEventsFlags</A> flags)</PRE> <DL> <DD><p>Processes pending events that match <tt>flags</tt> until there are no more events to process. Returns true if pending events were handled; otherwise returns false.</p> <p>This function is especially useful if you have a long running operation and want to show its progress without allowing user input; i.e. by using the <a href="QEventLoop.html#ProcessEventsFlag-enum"><tt>ExcludeUserInputEvents</tt></a> flag.</p> <p>This function is simply a wrapper for QAbstractEventDispatcher::processEvents(). See the documentation for that function for details.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="processEvents(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags, int)"><!-- --></A><H3> processEvents</H3> <PRE> public final void <B>processEvents</B>(<A HREF="../../../../com/trolltech/qt/core/QEventLoop.ProcessEventsFlags.html" title="class in com.trolltech.qt.core">QEventLoop.ProcessEventsFlags</A> flags, int maximumTime)</PRE> <DL> <DD><p>Process pending events that match <tt>flags</tt> for a maximum of <tt>maximumTime</tt> milliseconds, or until there are no more events to process, whichever is shorter. This function is especially useful if you have a long running operation and want to show its progress without allowing user input, i.e. by using the <a href="QEventLoop.html#ProcessEventsFlag-enum"><tt>ExcludeUserInputEvents</tt></a> flag.</p> <p><b>Notes:</b></p> <ul> <li>This function does not process events continuously; it returns after all available events are processed.</li> <li>Specifying the <a href="QEventLoop.html#ProcessEventsFlag-enum"><tt>WaitForMoreEvents</tt></a> flag makes no sense and will be ignored.</li> </ul> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="quit()"><!-- --></A><H3> quit</H3> <PRE> public final void <B>quit</B>()</PRE> <DL> <DD><p>Tells the event loop to exit normally.</p> <p>Same as exit(0).</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>QCoreApplication::quit</tt>, <a href="QEventLoop.html#exit(int)"><tt>exit</tt></a></DL> </DD> </DL> <HR> <A NAME="wakeUp()"><!-- --></A><H3> wakeUp</H3> <PRE> public final void <B>wakeUp</B>()</PRE> <DL> <DD><p>Wakes up the event loop.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>QAbstractEventDispatcher::wakeUp</tt></DL> </DD> </DL> <HR> <A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3> fromNativePointer</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/core/QEventLoop.html" title="class in com.trolltech.qt.core">QEventLoop</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 QEventLoop 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/core/QEvent.Type.html" title="enum in com.trolltech.qt.core"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/core/QEventLoop.ProcessEventsFlag.html" title="enum in com.trolltech.qt.core"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/core/QEventLoop.html" target="_top"><B>FRAMES</B></A> <A HREF="QEventLoop.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_class_summary">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>