Sophie

Sophie

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

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

<!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:58:34 CEST 2007 -->
<TITLE>
QApplication
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.gui.QApplication class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QApplication";
}
</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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QActionGroup.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QApplication.ColorSpec.html" title="enum 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/QApplication.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QApplication.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 QApplication</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 "><A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html" title="class in com.trolltech.qt.core">com.trolltech.qt.core.QCoreApplication</A>
                  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QApplication</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>QApplication</B><DT>extends <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html" title="class in com.trolltech.qt.core">QCoreApplication</A></DL>
</PRE>

<P>
<p>The <a href="QApplication.html"><tt>QApplication</tt></a> class manages the GUI application's control flow and main settings.</p>
<p>It contains the main event loop, where all events from the window system and other sources are processed and dispatched. It also handles the application's initialization and finalization, and provides session management. It also handles most system-wide and application-wide settings.</p>
<p>For any GUI application that uses Qt, there is precisely one <a href="QApplication.html"><tt>QApplication</tt></a> object, no matter whether the application has 0, 1, 2 or more windows at any time. For non-GUI Qt applications, use <a href="%2E%2E/core/QCoreApplication.html"><tt>QCoreApplication</tt></a> instead, which doesn't depend on the <tt>QtGui</tt> library.</p>
<p>The <a href="QApplication.html"><tt>QApplication</tt></a> object is accessible through the <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#instance()"><tt>instance</tt></a> function which return a pointer equivalent to the global qApp pointer.</p>
<p><a href="QApplication.html"><tt>QApplication</tt></a>'s main areas of responsibility are:</p>
<ul>
<li>It initializes the application with the user's desktop settings such as <a href="QApplication.html#palette(com.trolltech.qt.gui.QWidget)"><tt>palette</tt></a>, <a href="QApplication.html#font()"><tt>font</tt></a> and <a href="QApplication.html#doubleClickInterval()"><tt>doubleClickInterval</tt></a>. It keeps track of these properties in case the user changes the desktop globally, for example through some kind of control panel.</li>
<li>It performs event handling, meaning that it receives events from the underlying window system and dispatches them to the relevant widgets. By using <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#sendEvent(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)"><tt>sendEvent</tt></a> and <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#postEvent(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent, int)"><tt>postEvent</tt></a> you can send your own events to widgets.</li>
<li>It parses common command line arguments and sets its internal state accordingly. See the constructor documentation</tt> below for more details about this.</li>
<li>It defines the application's look and feel, which is encapsulated in a <a href="QStyle.html"><tt>QStyle</tt></a> object. This can be changed at runtime with <a href="QApplication.html#setStyle(java.lang.String)"><tt>setStyle</tt></a>.</li>
<li>It specifies how the application is to allocate colors. See <a href="QApplication.html#setColorSpec(int)"><tt>setColorSpec</tt></a> for details.</li>
<li>It provides localization of strings that are visible to the user via translate().</li>
<li>It provides some magical objects like the <a href="QApplication.html#desktop()"><tt>desktop</tt></a> and the <a href="QApplication.html#clipboard()"><tt>clipboard</tt></a>.</li>
<li>It knows about the application's windows. You can ask which widget is at a certain position using <a href="QApplication.html#widgetAt(int, int)"><tt>widgetAt</tt></a>, get a list of <a href="QApplication.html#topLevelWidgets()"><tt>topLevelWidgets</tt></a> and <a href="QApplication.html#closeAllWindows()"><tt>closeAllWindows</tt></a>, etc.</li>
<li>It manages the application's mouse cursor handling, see <a href="QApplication.html#setOverrideCursor(com.trolltech.qt.gui.QCursor)"><tt>setOverrideCursor</tt></a></li>
<li>On the X window system, it provides functions to flush and sync the communication stream, see flushX() and <a href="QApplication.html#syncX()"><tt>syncX</tt></a>.</li>
<li>It provides support for sophisticated <a href="%2E%2E/session.html">session management</tt></a>. This makes it possible for applications to terminate gracefully when the user logs out, to cancel a shutdown process if termination isn't possible and even to preserve the entire application's state for a future session. See <a href="QApplication.html#isSessionRestored()"><tt>isSessionRestored</tt></a>, <a href="QApplication.html#sessionId()"><tt>sessionId</tt></a> and <a href="QApplication.html#commitData(com.trolltech.qt.gui.QSessionManager)"><tt>commitData</tt></a> and <a href="QApplication.html#saveState(com.trolltech.qt.gui.QSessionManager)"><tt>saveState</tt></a> for details.</li>
</ul>
<p>Since the <a href="QApplication.html"><tt>QApplication</tt></a> object does so much initialization, it <i>must</i> be created before any other objects related to the user interface are created.</p>
<p>Since it also deals with common command line arguments, it is usually a good idea to create it <i>before</i> any interpretation or modification of <tt>argv</tt> is done in the application itself.</p>
<p><table align="center" cellpadding="2" cellspacing="1" border="0">
<thead><tr valign="top" class="qt-style"><th colspan="2">Groups of functions</th></tr></thead>
<tr valign="top" class="odd"><td>System settings</td><td><a href="QApplication.html#desktopSettingsAware()"><tt>desktopSettingsAware</tt></a>, <a href="QApplication.html#setDesktopSettingsAware(boolean)"><tt>setDesktopSettingsAware</tt></a>, <a href="QApplication.html#cursorFlashTime()"><tt>cursorFlashTime</tt></a>, <a href="QApplication.html#setCursorFlashTime(int)"><tt>setCursorFlashTime</tt></a>, <a href="QApplication.html#doubleClickInterval()"><tt>doubleClickInterval</tt></a>, <a href="QApplication.html#setDoubleClickInterval(int)"><tt>setDoubleClickInterval</tt></a>, <a href="QApplication.html#setKeyboardInputInterval(int)"><tt>setKeyboardInputInterval</tt></a>, <a href="QApplication.html#wheelScrollLines()"><tt>wheelScrollLines</tt></a>, <a href="QApplication.html#setWheelScrollLines(int)"><tt>setWheelScrollLines</tt></a>, <a href="QApplication.html#palette(com.trolltech.qt.gui.QWidget)"><tt>palette</tt></a>, setPalette(), <a href="QApplication.html#font()"><tt>font</tt></a>, setFont(), <a href="QApplication.html#fontMetrics()"><tt>fontMetrics</tt></a>.</td></tr>
<tr valign="top" class="even"><td>Event handling</td><td><a href="QApplication.html#exec()"><tt>exec</tt></a>, <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#processEvents(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>processEvents</tt></a>, <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#exit(int)"><tt>exit</tt></a>, <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#quit()"><tt>quit</tt></a>. <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#sendEvent(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)"><tt>sendEvent</tt></a>, <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#postEvent(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent, int)"><tt>postEvent</tt></a>, <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#sendPostedEvents(com.trolltech.qt.core.QObject, int)"><tt>sendPostedEvents</tt></a>, <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#removePostedEvents(com.trolltech.qt.core.QObject, int)"><tt>removePostedEvents</tt></a>, <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#hasPendingEvents()"><tt>hasPendingEvents</tt></a>, <a href="QApplication.html#notify(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)"><tt>notify</tt></a>, macEventFilter(), qwsEventFilter(), x11EventFilter(), x11ProcessEvent(), winEventFilter().</td></tr>
<tr valign="top" class="odd"><td>GUI Styles</td><td><a href="QApplication.html#style()"><tt>style</tt></a>, <a href="QApplication.html#setStyle(java.lang.String)"><tt>setStyle</tt></a>.</td></tr>
<tr valign="top" class="even"><td>Color usage</td><td><a href="QApplication.html#colorSpec()"><tt>colorSpec</tt></a>, <a href="QApplication.html#setColorSpec(int)"><tt>setColorSpec</tt></a>, qwsSetCustomColors().</td></tr>
<tr valign="top" class="odd"><td>Text handling</td><td><a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#installTranslator(com.trolltech.qt.core.QTranslator)"><tt>installTranslator</tt></a>, <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#removeTranslator(com.trolltech.qt.core.QTranslator)"><tt>removeTranslator</tt></a> translate().</td></tr>
<tr valign="top" class="even"><td>Widgets</td><td><a href="QApplication.html#allWidgets()"><tt>allWidgets</tt></a>, <a href="QApplication.html#topLevelWidgets()"><tt>topLevelWidgets</tt></a>, <a href="QApplication.html#desktop()"><tt>desktop</tt></a>, <a href="QApplication.html#activePopupWidget()"><tt>activePopupWidget</tt></a>, <a href="QApplication.html#activeModalWidget()"><tt>activeModalWidget</tt></a>, <a href="QApplication.html#clipboard()"><tt>clipboard</tt></a>, <a href="QApplication.html#focusWidget()"><tt>focusWidget</tt></a>, winFocus(), <a href="QApplication.html#activeWindow()"><tt>activeWindow</tt></a>, <a href="QApplication.html#widgetAt(int, int)"><tt>widgetAt</tt></a>.</td></tr>
<tr valign="top" class="odd"><td>Advanced cursor handling</td><td>overrideCursor(), <a href="QApplication.html#setOverrideCursor(com.trolltech.qt.gui.QCursor)"><tt>setOverrideCursor</tt></a>, <a href="QApplication.html#restoreOverrideCursor()"><tt>restoreOverrideCursor</tt></a>.</td></tr>
<tr valign="top" class="even"><td>X Window System synchronization</td><td>flushX(), <a href="QApplication.html#syncX()"><tt>syncX</tt></a>.</td></tr>
<tr valign="top" class="odd"><td>Session management</td><td><a href="QApplication.html#isSessionRestored()"><tt>isSessionRestored</tt></a>, <a href="QApplication.html#sessionId()"><tt>sessionId</tt></a>, <a href="QApplication.html#commitData(com.trolltech.qt.gui.QSessionManager)"><tt>commitData</tt></a>, <a href="QApplication.html#saveState(com.trolltech.qt.gui.QSessionManager)"><tt>saveState</tt></a>.</td></tr>
<tr valign="top" class="even"><td>Miscellaneous</td><td><a href="QApplication.html#closeAllWindows()"><tt>closeAllWindows</tt></a>, <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#startingUp()"><tt>startingUp</tt></a>, <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#closingDown()"><tt>closingDown</tt></a>, <a href="QApplication.html#type()"><tt>type</tt></a>.</td></tr>
</table></p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="%2E%2E/core/QCoreApplication.html"><tt>QCoreApplication</tt></a>, 
<a href="%2E%2E/core/QAbstractEventDispatcher.html"><tt>QAbstractEventDispatcher</tt></a>, 
<a href="%2E%2E/core/QEventLoop.html"><tt>QEventLoop</tt></a>, 
<a href="%2E%2E/core/QSettings.html"><tt>QSettings</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&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.ColorSpec.html" title="enum in com.trolltech.qt.gui">QApplication.ColorSpec</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;See <a href="QApplication.html#setColorSpec(int)"><tt>setColorSpec</tt></a> for full details.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.Type.html" title="enum in com.trolltech.qt.gui">QApplication.Type</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Press link for info on QApplication.Type</TD>
</TR>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.core.QCoreApplication"><!-- --></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/QCoreApplication.html" title="class in com.trolltech.qt.core">QCoreApplication</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/core/QCoreApplication.Encoding.html" title="enum in com.trolltech.qt.core">QCoreApplication.Encoding</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<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>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A>&lt;<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>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A>&lt;<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>&gt;</CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_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>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/gui/QSessionManager.html" title="class in com.trolltech.qt.gui">QSessionManager</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#commitDataRequest">commitDataRequest</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal deals with <a href="%2E%2E/session.html">session management</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>,<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#focusChanged">focusChanged</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted when the widget that has keyboard focus changed from <tt>old</tt> to <tt>now</tt>, i.e&#x2e; because the user pressed the tab-key, clicked into a widget or changed the active window.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#lastWindowClosed">lastWindowClosed</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted from QApplication::exec() when the last visible primary window (i.e&#x2e; window with no parent) with the Qt::WA_QuitOnClose attribute set is closed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/gui/QSessionManager.html" title="class in com.trolltech.qt.gui">QSessionManager</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#saveStateRequest">saveStateRequest</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal deals with <a href="%2E%2E/session.html">session management</tt></a>.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_com.trolltech.qt.core.QCoreApplication"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class com.trolltech.qt.core.<A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html" title="class in com.trolltech.qt.core">QCoreApplication</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#aboutToQuit">aboutToQuit</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#m_instance">m_instance</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#unixSignal">unixSignal</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== 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/QApplication.html#QApplication(java.lang.String[])">QApplication</A></B>(java.lang.String[]&nbsp;args)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initializes the window system and constructs an application object
with the command line arguments in <tt>argv</tt>.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== 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>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#aboutQt()">aboutQt</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Displays a simple message box about Qt.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#aboutQtJambi()">aboutQtJambi</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Displays a simple message box about Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<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/QApplication.html#activeModalWidget()">activeModalWidget</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the active modal widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<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/QApplication.html#activePopupWidget()">activePopupWidget</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the active popup widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<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/QApplication.html#activeWindow()">activeWindow</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the application top-level window that has the keyboard input focus, or 0 if no application window has the focus.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#alert(com.trolltech.qt.gui.QWidget)">alert</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QApplication.html#alert(com.trolltech.qt.gui.QWidget, int)">alert</tt></a>(<tt>widget</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#alert(com.trolltech.qt.gui.QWidget, int)">alert</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget,
      int&nbsp;duration)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Causes an alert to be shown for <tt>widget</tt> if the window is not the active window.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#allWidgets()">allWidgets</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of all the widgets in the application.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#beep()">beep</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sounds the bell, using the default volume and sound.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#changeOverrideCursor(com.trolltech.qt.gui.QCursor)">changeOverrideCursor</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changes the currently active application override cursor to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QClipboard.html" title="class in com.trolltech.qt.gui">QClipboard</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#clipboard()">clipboard</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a pointer to the application global clipboard.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#closeAllWindows()">closeAllWindows</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closes all top-level windows.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#colorSpec()">colorSpec</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the color specification.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#commitData(com.trolltech.qt.gui.QSessionManager)">commitData</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QSessionManager.html" title="class in com.trolltech.qt.gui">QSessionManager</A>&nbsp;sm)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function deals with <a href="%2E%2E/session.html">session management</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#cursorFlashTime()">cursorFlashTime</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the text cursor's flash (blink) time in milliseconds.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QDesktopWidget.html" title="class in com.trolltech.qt.gui">QDesktopWidget</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#desktop()">desktop</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the desktop widget (also called the root window).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#desktopSettingsAware()">desktopSettingsAware</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if Qt is set to use the system's standard colors, fonts, etc.; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#doubleClickInterval()">doubleClickInterval</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the time limit in milliseconds that distinguishes a double click from two consecutive mouse clicks.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#event(com.trolltech.qt.core.QEvent)">event</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#exec()">exec</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enters the main event loop and waits until <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#exit(int)"><tt>exit</tt></a> is called or the main widget is destroyed, and returns the value that was set to <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#exit(int)"><tt>exit</tt></a> (which is 0 if <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#exit(int)"><tt>exit</tt></a> is called via <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#quit()"><tt>quit</tt></a>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<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/QApplication.html#focusWidget()">focusWidget</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the application widget that has the keyboard input focus, or 0 if no widget in this application has the focus.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#font()">font</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default application font.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#font(com.trolltech.qt.gui.QWidget)">font</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default font for the <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QFontMetrics.html" title="class in com.trolltech.qt.gui">QFontMetrics</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#fontMetrics()">fontMetrics</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns display (screen) font metrics for the application font.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QApplication.html" title="class in com.trolltech.qt.gui">QApplication</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the QApplication instance pointed to by nativePointer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#globalStrut()">globalStrut</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the minimum size that any GUI element that the user can interact with should have.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#initialize(java.lang.String[])">initialize</A></B>(java.lang.String[]&nbsp;args)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is internal to Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QInputContext.html" title="class in com.trolltech.qt.gui">QInputContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#inputContext()">inputContext</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <a href="QInputContext.html"><tt>QInputContext</tt></a> instance used by the application.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QApplication.html" title="class in com.trolltech.qt.gui">QApplication</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#instance()">instance</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the unique QApplication instance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#isEffectEnabled(com.trolltech.qt.core.Qt.UIEffect)">isEffectEnabled</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.UIEffect.html" title="enum in com.trolltech.qt.core">Qt.UIEffect</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if <tt>arg__1</tt> is enabled; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#isLeftToRight()">isLeftToRight</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the application's layout direction is Qt::LeftToRight; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#isRightToLeft()">isRightToLeft</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the application's layout direction is Qt::RightToLeft; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#isSessionRestored()">isSessionRestored</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the application has been restored from an earlier <a href="%2E%2E/session.html">session</tt></a>; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#keyboardInputDirection()">keyboardInputDirection</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current keyboard input direction.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#keyboardInputInterval()">keyboardInputInterval</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the time limit in milliseconds that distinguishes a key press from two consecutive key presses.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QLocale.html" title="class in com.trolltech.qt.core">QLocale</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#keyboardInputLocale()">keyboardInputLocale</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current keyboard input locale.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<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/QApplication.html#keyboardModifiers()">keyboardModifiers</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current state of the modifier keys on the keyboard.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#layoutDirection()">layoutDirection</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default layout direction for this application.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<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/QApplication.html#mouseButtons()">mouseButtons</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current state of the buttons on the mouse.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#notify(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)">notify</A></B>(<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;arg__1,
       <A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;arg__2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#overrideCursor()">overrideCursor</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the active application override cursor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPalette.html" title="class in com.trolltech.qt.gui">QPalette</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#palette()">palette</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the application palette.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPalette.html" title="class in com.trolltech.qt.gui">QPalette</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#palette(com.trolltech.qt.gui.QWidget)">palette</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If a <tt>arg__1</tt> is passed, the default palette for the widget's class is returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#quitOnLastWindowClosed()">quitOnLastWindowClosed</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the application implicitly quits when the last window is closed..</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#restoreOverrideCursor()">restoreOverrideCursor</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Undoes the last <a href="QApplication.html#setOverrideCursor(com.trolltech.qt.gui.QCursor)"><tt>setOverrideCursor</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#saveState(com.trolltech.qt.gui.QSessionManager)">saveState</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QSessionManager.html" title="class in com.trolltech.qt.gui">QSessionManager</A>&nbsp;sm)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function deals with <a href="%2E%2E/session.html">session management</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#sessionId()">sessionId</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current <a href="%2E%2E/session.html">session's</tt></a> identifier.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#sessionKey()">sessionKey</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the session key in the current <a href="%2E%2E/session.html">session</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setActiveWindow(com.trolltech.qt.gui.QWidget)">setActiveWindow</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;act)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the active window to the <tt>act</tt> widget in response to a system event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setColorSpec(int)">setColorSpec</A></B>(int&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the color specification for the application to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setCursorFlashTime(int)">setCursorFlashTime</A></B>(int&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the text cursor's flash (blink) time in milliseconds to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setDesktopSettingsAware(boolean)">setDesktopSettingsAware</A></B>(boolean&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether Qt should use the system's standard colors, fonts, etc., to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setDoubleClickInterval(int)">setDoubleClickInterval</A></B>(int&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the time limit in milliseconds that distinguishes a double click from two consecutive mouse clicks to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setEffectEnabled(com.trolltech.qt.core.Qt.UIEffect)">setEffectEnabled</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.UIEffect.html" title="enum in com.trolltech.qt.core">Qt.UIEffect</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QApplication.html#setEffectEnabled(com.trolltech.qt.core.Qt.UIEffect, boolean)"><tt>setEffectEnabled</tt></a>(<tt>arg__1</tt>, true).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setEffectEnabled(com.trolltech.qt.core.Qt.UIEffect, boolean)">setEffectEnabled</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.UIEffect.html" title="enum in com.trolltech.qt.core">Qt.UIEffect</A>&nbsp;arg__1,
                 boolean&nbsp;enable)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables the UI effect <tt>arg__1</tt> if <tt>enable</tt> is true, otherwise the effect will not be used.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setFont(com.trolltech.qt.gui.QFont)">setFont</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;font)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changes the default application font to <tt>font</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setGlobalStrut(com.trolltech.qt.core.QSize)">setGlobalStrut</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the minimum size that any GUI element that the user can interact with should have to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setInputContext(com.trolltech.qt.gui.QInputContext)">setInputContext</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QInputContext.html" title="class in com.trolltech.qt.gui">QInputContext</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function replaces the <a href="QInputContext.html"><tt>QInputContext</tt></a> instance used by the application with <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setKeyboardInputInterval(int)">setKeyboardInputInterval</A></B>(int&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the time limit in milliseconds that distinguishes a key press from two consecutive key presses to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setLayoutDirection(com.trolltech.qt.core.Qt.LayoutDirection)">setLayoutDirection</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A>&nbsp;direction)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the default layout direction for this application to <tt>direction</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setOverrideCursor(com.trolltech.qt.gui.QCursor)">setOverrideCursor</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the application override cursor to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setPalette(com.trolltech.qt.gui.QPalette)">setPalette</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPalette.html" title="class in com.trolltech.qt.gui">QPalette</A>&nbsp;palette)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changes the default application palette to <tt>palette</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setQuitOnLastWindowClosed(boolean)">setQuitOnLastWindowClosed</A></B>(boolean&nbsp;quit)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether the application implicitly quits when the last window is closed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setStartDragDistance(int)">setStartDragDistance</A></B>(int&nbsp;l)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If you support drag and drop in your application, and want to start a drag and drop operation after the user has moved the cursor a certain distance with a button held down, you should use this property's value as the minimum distance required.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setStartDragTime(int)">setStartDragTime</A></B>(int&nbsp;ms)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the time in milliseconds that a mouse button must be held down before a drag and drop operation will begin to <tt>ms</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setStyle(com.trolltech.qt.gui.QStyle)">setStyle</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the application's GUI style to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setStyle(java.lang.String)">setStyle</A></B>(java.lang.String&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Requests a <a href="QStyle.html"><tt>QStyle</tt></a> object for <tt>arg__1</tt> from the <a href="QStyleFactory.html"><tt>QStyleFactory</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setStyleSheet(java.lang.String)">setStyleSheet</A></B>(java.lang.String&nbsp;sheet)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the application style sheet to <tt>sheet</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setWheelScrollLines(int)">setWheelScrollLines</A></B>(int&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the number of lines to scroll when the mouse wheel is rotated to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#setWindowIcon(com.trolltech.qt.gui.QIcon)">setWindowIcon</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A>&nbsp;icon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the default window icon to <tt>icon</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#startDragDistance()">startDragDistance</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If you support drag and drop in your application, and want to start a drag and drop operation after the user has moved the cursor a certain distance with a button held down, you should use this property's value as the minimum distance required.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#startDragTime()">startDragTime</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the time in milliseconds that a mouse button must be held down before a drag and drop operation will begin.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#style()">style</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the application's style object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#styleSheet()">styleSheet</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the application style sheet.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#syncX()">syncX</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Synchronizes with the X server in the X11 implementation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<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/QApplication.html#topLevelAt(int, int)">topLevelAt</A></B>(int&nbsp;x,
           int&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the top-level widget at the point (<tt>x</tt>, <tt>y</tt>); returns 0 if there is no such widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<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/QApplication.html#topLevelAt(com.trolltech.qt.core.QPoint)">topLevelAt</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the top-level widget at the given <tt>p</tt>; returns 0 if there is no such widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#topLevelWidgets()">topLevelWidgets</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of the top-level widgets (windows) in the application.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QApplication.Type.html" title="enum in com.trolltech.qt.gui">QApplication.Type</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#type()">type</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the type of application (<a href="QApplication.html#Type-enum">Tty</tt></a>, <a href="QApplication.html#Type-enum"><tt>GuiClient</tt></a>, or <a href="QApplication.html#Type-enum"><tt>GuiServer</tt></a>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#wheelScrollLines()">wheelScrollLines</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of lines to scroll when the mouse wheel is rotated.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<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/QApplication.html#widgetAt(int, int)">widgetAt</A></B>(int&nbsp;x,
         int&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget at global screen position (<tt>x</tt>, <tt>y</tt>), or 0 if there is no Qt widget there.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<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/QApplication.html#widgetAt(com.trolltech.qt.core.QPoint)">widgetAt</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget at global screen position <tt>p</tt>, or 0 if there is no Qt widget there.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QApplication.html#windowIcon()">windowIcon</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default window icon.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.core.QCoreApplication"><!-- --></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/QCoreApplication.html" title="class in com.trolltech.qt.core">QCoreApplication</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#addLibraryPath(java.lang.String)">addLibraryPath</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#applicationDirPath()">applicationDirPath</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#applicationFilePath()">applicationFilePath</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#applicationName()">applicationName</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#argc(java.lang.String[])">argc</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#arguments()">arguments</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#argv(java.lang.String[])">argv</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#closingDown()">closingDown</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#exit()">exit</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#exit(int)">exit</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#flush()">flush</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#hasPendingEvents()">hasPendingEvents</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#installTranslator(com.trolltech.qt.core.QTranslator)">installTranslator</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#invokeLater(java.lang.Runnable)">invokeLater</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#libraryPaths()">libraryPaths</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#organizationDomain()">organizationDomain</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#organizationName()">organizationName</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#postEvent(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)">postEvent</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#postEvent(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent, int)">postEvent</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#processEvents()">processEvents</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#processEvents(com.trolltech.qt.core.QEventLoop.ProcessEventsFlag...)">processEvents</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#processEvents(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)">processEvents</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#processEvents(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags, int)">processEvents</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#quit()">quit</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#removeLibraryPath(java.lang.String)">removeLibraryPath</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#removePostedEvents(com.trolltech.qt.core.QObject)">removePostedEvents</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#removePostedEvents(com.trolltech.qt.core.QObject, int)">removePostedEvents</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#removeTranslator(com.trolltech.qt.core.QTranslator)">removeTranslator</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#sendEvent(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)">sendEvent</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#sendPostedEvents()">sendPostedEvents</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#sendPostedEvents(com.trolltech.qt.core.QObject, int)">sendPostedEvents</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#setApplicationName(java.lang.String)">setApplicationName</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#setAttribute(com.trolltech.qt.core.Qt.ApplicationAttribute)">setAttribute</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#setAttribute(com.trolltech.qt.core.Qt.ApplicationAttribute, boolean)">setAttribute</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#setLibraryPaths(java.util.List)">setLibraryPaths</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#setOrganizationDomain(java.lang.String)">setOrganizationDomain</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#setOrganizationName(java.lang.String)">setOrganizationName</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#startingUp()">startingUp</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#testAttribute(com.trolltech.qt.core.Qt.ApplicationAttribute)">testAttribute</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#translate(java.lang.String, java.lang.String)">translate</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#translate(java.lang.String, java.lang.String, java.lang.String)">translate</A>, <A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#translate(java.lang.String, java.lang.String, java.lang.String, int)">translate</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<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#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>
&nbsp;<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#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>
&nbsp;<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>
&nbsp;<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>
&nbsp;<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>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_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>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="commitDataRequest"><!-- --></A><H3>
commitDataRequest</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/gui/QSessionManager.html" title="class in com.trolltech.qt.gui">QSessionManager</A>&gt; <B>commitDataRequest</B></PRE>
<DL>
<DD><p>This signal deals with <a href="%2E%2E/session.html">session management</tt></a>. It is emitted when the <a href="QSessionManager.html"><tt>QSessionManager</tt></a> wants the application to commit all its data.</p>
<p>Usually this means saving all open files, after getting permission from the user. Furthermore you may want to provide a means by which the user can cancel the shutdown.</p>
<p>Note that you should not exit the application when called. Instead, the session manager may or may not do this afterwards, depending on the context.</p>
<p><b>Warning:</b> Within this signal, no user interaction is possible, <i>unless</i> you ask the <tt>sessionManager</tt> for explicit permission. See QSessionManager::allowsInteraction() and QSessionManager::allowsErrorInteraction() for details and example usage.</p>
<p>Note: You should use Qt::DirectConnection when connecting to this signal.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(com.trolltech.qt.gui.QSessionManager sessionManager)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><a href="QApplication.html#isSessionRestored()"><tt>isSessionRestored</tt></a>, <a href="QApplication.html#sessionId()"><tt>sessionId</tt></a>, <a href="QApplication.html#saveState(com.trolltech.qt.gui.QSessionManager)"><tt>saveState</tt></a>, <a href="%2E%2E/session.html">Session Management</tt></a></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="focusChanged"><!-- --></A><H3>
focusChanged</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>,<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&gt; <B>focusChanged</B></PRE>
<DL>
<DD><p>This signal is emitted when the widget that has keyboard focus changed from <tt>old</tt> to <tt>now</tt>, i.e&#x2e; because the user pressed the tab-key, clicked into a widget or changed the active window. Note that both <tt>old</tt> and <tt>now</tt> can be the null-pointer.</p>
<p>The signal is emitted after both widget have been notified about the change through <a href="QFocusEvent.html"><tt>QFocusEvent</tt></a>.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(com.trolltech.qt.gui.QWidget old, com.trolltech.qt.gui.QWidget now)</tt></dd>
<dd><tt>void mySlot(com.trolltech.qt.gui.QWidget old)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><tt>QWidget::setFocus</tt>, <tt>QWidget::clearFocus</tt>, <tt>Qt::FocusReason</tt></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="lastWindowClosed"><!-- --></A><H3>
lastWindowClosed</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A> <B>lastWindowClosed</B></PRE>
<DL>
<DD><p>This signal is emitted from QApplication::exec() when the last visible primary window (i.e&#x2e; window with no parent) with the Qt::WA_QuitOnClose attribute set is closed.</p>
<p>By default,</p>
<ul>
<li>this attribute is set for all widgets except transient windows such as splash screens, tool windows, and popup menus</li>
<li><a href="QApplication.html"><tt>QApplication</tt></a> implicitly quits when this signal is emitted.</li>
</ul>
<p>This feature be turned off by setting <a href="QApplication.html#quitOnLastWindowClosed()"><tt>quitOnLastWindowClosed</tt></a> to false.</p>
<dl>
<dt><b>Compatible Slot Signature:</b></dt>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><tt>QWidget::close</tt></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="saveStateRequest"><!-- --></A><H3>
saveStateRequest</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/gui/QSessionManager.html" title="class in com.trolltech.qt.gui">QSessionManager</A>&gt; <B>saveStateRequest</B></PRE>
<DL>
<DD><p>This signal deals with <a href="%2E%2E/session.html">session management</tt></a>. It is invoked when the <a href="QSessionManager.html">session manager</tt></a> wants the application to preserve its state for a future session.</p>
<p>For example, a text editor would create a temporary file that includes the current contents of its edit buffers, the location of the cursor and other aspects of the current editing session.</p>
<p>Note that you should never exit the application within this signal. Instead, the session manager may or may not do this afterwards, depending on the context. Futhermore, most session managers will very likely request a saved state immediately after the application has been started. This permits the session manager to learn about the application's restart policy.</p>
<p><b>Warning:</b> Within this function, no user interaction is possible, <i>unless</i> you ask the <tt>sessionManager</tt> for explicit permission. See QSessionManager::allowsInteraction() and QSessionManager::allowsErrorInteraction() for details.</p>
<p>Note:: You should use Qt::DirectConnection when connecting to this signal.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(com.trolltech.qt.gui.QSessionManager sessionManager)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><a href="QApplication.html#isSessionRestored()"><tt>isSessionRestored</tt></a>, <a href="QApplication.html#sessionId()"><tt>sessionId</tt></a>, <a href="QApplication.html#commitData(com.trolltech.qt.gui.QSessionManager)"><tt>commitData</tt></a>, <a href="%2E%2E/session.html">Session Management</tt></a></dd>
</dl>
<P>
<DL>
</DL>
</DL>

<!-- ========= 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="QApplication(java.lang.String[])"><!-- --></A><H3>
QApplication</H3>
<PRE>
public <B>QApplication</B>(java.lang.String[]&nbsp;args)</PRE>
<DL>
<DD>Initializes the window system and constructs an application object
with the command line arguments in <tt>argv</tt>.
<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="inputContext()"><!-- --></A><H3>
inputContext</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QInputContext.html" title="class in com.trolltech.qt.gui">QInputContext</A> <B>inputContext</B>()</PRE>
<DL>
<DD><p>Returns the <a href="QInputContext.html"><tt>QInputContext</tt></a> instance used by the application.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#setInputContext(com.trolltech.qt.gui.QInputContext)"><tt>setInputContext</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isSessionRestored()"><!-- --></A><H3>
isSessionRestored</H3>
<PRE>
public final boolean <B>isSessionRestored</B>()</PRE>
<DL>
<DD><p>Returns true if the application has been restored from an earlier <a href="%2E%2E/session.html">session</tt></a>; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#sessionId()"><tt>sessionId</tt></a>, 
<a href="QApplication.html#commitData(com.trolltech.qt.gui.QSessionManager)"><tt>commitData</tt></a>, 
<a href="QApplication.html#saveState(com.trolltech.qt.gui.QSessionManager)"><tt>saveState</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="sessionId()"><!-- --></A><H3>
sessionId</H3>
<PRE>
public final java.lang.String <B>sessionId</B>()</PRE>
<DL>
<DD><p>Returns the current <a href="%2E%2E/session.html">session's</tt></a> identifier.</p>
<p>If the application has been restored from an earlier session, this identifier is the same as it was in that previous session.</p>
<p>The session identifier is guaranteed to be unique both for different applications and for different instances of the same application.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#isSessionRestored()"><tt>isSessionRestored</tt></a>, 
<a href="QApplication.html#sessionKey()"><tt>sessionKey</tt></a>, 
<a href="QApplication.html#commitData(com.trolltech.qt.gui.QSessionManager)"><tt>commitData</tt></a>, 
<a href="QApplication.html#saveState(com.trolltech.qt.gui.QSessionManager)"><tt>saveState</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="sessionKey()"><!-- --></A><H3>
sessionKey</H3>
<PRE>
public final java.lang.String <B>sessionKey</B>()</PRE>
<DL>
<DD><p>Returns the session key in the current <a href="%2E%2E/session.html">session</tt></a>.</p>
<p>If the application has been restored from an earlier session, this key is the same as it was when the previous session ended.</p>
<p>The session key changes with every call of <a href="QApplication.html#commitData(com.trolltech.qt.gui.QSessionManager)"><tt>commitData</tt></a> or <a href="QApplication.html#saveState(com.trolltech.qt.gui.QSessionManager)"><tt>saveState</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#isSessionRestored()"><tt>isSessionRestored</tt></a>, 
<a href="QApplication.html#sessionId()"><tt>sessionId</tt></a>, 
<a href="QApplication.html#commitData(com.trolltech.qt.gui.QSessionManager)"><tt>commitData</tt></a>, 
<a href="QApplication.html#saveState(com.trolltech.qt.gui.QSessionManager)"><tt>saveState</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setInputContext(com.trolltech.qt.gui.QInputContext)"><!-- --></A><H3>
setInputContext</H3>
<PRE>
public final void <B>setInputContext</B>(<A HREF="../../../../com/trolltech/qt/gui/QInputContext.html" title="class in com.trolltech.qt.gui">QInputContext</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This function replaces the <a href="QInputContext.html"><tt>QInputContext</tt></a> instance used by the application with <tt>arg__1</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#inputContext()"><tt>inputContext</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setStyleSheet(java.lang.String)"><!-- --></A><H3>
setStyleSheet</H3>
<PRE>
public final void <B>setStyleSheet</B>(java.lang.String&nbsp;sheet)</PRE>
<DL>
<DD><p>Sets the application style sheet to <tt>sheet</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#styleSheet()"><tt>styleSheet</tt></a>, 
<tt>QWidget::setStyle</tt>, 
<a href="%2E%2E/stylesheet.html">Qt Style Sheets</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="styleSheet()"><!-- --></A><H3>
styleSheet</H3>
<PRE>
public final java.lang.String <B>styleSheet</B>()</PRE>
<DL>
<DD><p>Returns the application style sheet.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#setStyleSheet(java.lang.String)"><tt>setStyleSheet</tt></a>, 
<tt>QWidget::setStyle</tt>, 
<a href="%2E%2E/stylesheet.html">Qt Style Sheets</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="commitData(com.trolltech.qt.gui.QSessionManager)"><!-- --></A><H3>
commitData</H3>
<PRE>
public void <B>commitData</B>(<A HREF="../../../../com/trolltech/qt/gui/QSessionManager.html" title="class in com.trolltech.qt.gui">QSessionManager</A>&nbsp;sm)</PRE>
<DL>
<DD><p>This function deals with <a href="%2E%2E/session.html">session management</tt></a>. It is invoked when the <a href="QSessionManager.html"><tt>QSessionManager</tt></a> wants the application to commit all its data.</p>
<p>Usually this means saving all open files, after getting permission from the user. Furthermore you may want to provide a means by which the user can cancel the shutdown.</p>
<p>Note that you should not exit the application within this function. Instead, the session manager may or may not do this afterwards, depending on the context.</p>
<p><b>Warning:</b> Within this function, no user interaction is possible, <i>unless</i> you ask the <tt>sm</tt> for explicit permission. See QSessionManager::allowsInteraction() and QSessionManager::allowsErrorInteraction() for details and example usage.</p>
<p>The default implementation requests interaction and sends a close event to all visible top-level widgets. If any event was rejected, the shutdown is canceled.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#isSessionRestored()"><tt>isSessionRestored</tt></a>, 
<a href="QApplication.html#sessionId()"><tt>sessionId</tt></a>, 
<a href="QApplication.html#saveState(com.trolltech.qt.gui.QSessionManager)"><tt>saveState</tt></a>, 
<a href="%2E%2E/session.html">Session Management</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="event(com.trolltech.qt.core.QEvent)"><!-- --></A><H3>
event</H3>
<PRE>
public boolean <B>event</B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#event(com.trolltech.qt.core.QEvent)">event</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html" title="class in com.trolltech.qt.core">QCoreApplication</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QObject.html#installEventFilter(com.trolltech.qt.core.QObject)"><tt>installEventFilter</tt></a>, 
<a href="QObject.html#timerEvent(com.trolltech.qt.core.QTimerEvent)"><tt>timerEvent</tt></a>, 
<tt>QApplication::sendEvent</tt>, 
<tt>QApplication::postEvent</tt>, 
<tt>QWidget::event</tt></DL>
</DD>
</DL>
<HR>

<A NAME="notify(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)"><!-- --></A><H3>
notify</H3>
<PRE>
public boolean <B>notify</B>(<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;arg__1,
                      <A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;arg__2)</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html#notify(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)">notify</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/core/QCoreApplication.html" title="class in com.trolltech.qt.core">QCoreApplication</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QObject::event</tt>, 
<a href="QObject.html#installEventFilter(com.trolltech.qt.core.QObject)"><tt>installEventFilter</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="saveState(com.trolltech.qt.gui.QSessionManager)"><!-- --></A><H3>
saveState</H3>
<PRE>
public void <B>saveState</B>(<A HREF="../../../../com/trolltech/qt/gui/QSessionManager.html" title="class in com.trolltech.qt.gui">QSessionManager</A>&nbsp;sm)</PRE>
<DL>
<DD><p>This function deals with <a href="%2E%2E/session.html">session management</tt></a>. It is invoked when the <a href="QSessionManager.html">session manager</tt></a> wants the application to preserve its state for a future session.</p>
<p>For example, a text editor would create a temporary file that includes the current contents of its edit buffers, the location of the cursor and other aspects of the current editing session.</p>
<p>Note that you should never exit the application within this function. Instead, the session manager may or may not do this afterwards, depending on the context. Futhermore, most session managers will very likely request a saved state immediately after the application has been started. This permits the session manager to learn about the application's restart policy.</p>
<p><b>Warning:</b> Within this function, no user interaction is possible, <i>unless</i> you ask the <tt>sm</tt> for explicit permission. See QSessionManager::allowsInteraction() and QSessionManager::allowsErrorInteraction() for details.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#isSessionRestored()"><tt>isSessionRestored</tt></a>, 
<a href="QApplication.html#sessionId()"><tt>sessionId</tt></a>, 
<a href="QApplication.html#commitData(com.trolltech.qt.gui.QSessionManager)"><tt>commitData</tt></a>, 
<a href="%2E%2E/session.html">Session Management</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="aboutQt()"><!-- --></A><H3>
aboutQt</H3>
<PRE>
public static void <B>aboutQt</B>()</PRE>
<DL>
<DD><p>Displays a simple message box about Qt. The message includes the version number of Qt being used by the application.</p>
<p>This is useful for inclusion in the <b>Help</b> menu of an application, as shown in the Menus</tt> example.</p>
<p>This function is a convenience slot for QMessageBox::aboutQt().</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="activeModalWidget()"><!-- --></A><H3>
activeModalWidget</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>activeModalWidget</B>()</PRE>
<DL>
<DD><p>Returns the active modal widget.</p>
<p>A modal widget is a special top-level widget which is a subclass of <a href="QDialog.html"><tt>QDialog</tt></a> that specifies the modal parameter of the constructor as true. A modal widget must be closed before the user can continue with other parts of the program.</p>
<p>Modal widgets are organized in a stack. This function returns the active modal widget at the top of the stack.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#activePopupWidget()"><tt>activePopupWidget</tt></a>, 
<a href="QApplication.html#topLevelWidgets()"><tt>topLevelWidgets</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="activePopupWidget()"><!-- --></A><H3>
activePopupWidget</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>activePopupWidget</B>()</PRE>
<DL>
<DD><p>Returns the active popup widget.</p>
<p>A popup widget is a special top-level widget that sets the <tt>Qt::WType_Popup</tt> widget flag, e.g&#x2e; the <a href="QMenu.html"><tt>QMenu</tt></a> widget. When the application opens a popup widget, all events are sent to the popup. Normal widgets and modal widgets cannot be accessed before the popup widget is closed.</p>
<p>Only other popup widgets may be opened when a popup widget is shown. The popup widgets are organized in a stack. This function returns the active popup widget at the top of the stack.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#activeModalWidget()"><tt>activeModalWidget</tt></a>, 
<a href="QApplication.html#topLevelWidgets()"><tt>topLevelWidgets</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="activeWindow()"><!-- --></A><H3>
activeWindow</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>activeWindow</B>()</PRE>
<DL>
<DD><p>Returns the application top-level window that has the keyboard input focus, or 0 if no application window has the focus. Note that there might be an <a href="QApplication.html#activeWindow()"><tt>activeWindow</tt></a> even if there is no <a href="QApplication.html#focusWidget()"><tt>focusWidget</tt></a>, for example if no widget in that window accepts key events.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#setActiveWindow(com.trolltech.qt.gui.QWidget)"><tt>setActiveWindow</tt></a>, 
<tt>QWidget::setFocus</tt>, 
<tt>QWidget::hasFocus</tt>, 
<a href="QApplication.html#focusWidget()"><tt>focusWidget</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="alert(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
alert</H3>
<PRE>
public static void <B>alert</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</PRE>
<DL>
<DD><p>Equivalent to <a href="QApplication.html#alert(com.trolltech.qt.gui.QWidget, int)">alert</tt></a>(<tt>widget</tt>, 0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="alert(com.trolltech.qt.gui.QWidget, int)"><!-- --></A><H3>
alert</H3>
<PRE>
public static void <B>alert</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget,
                         int&nbsp;duration)</PRE>
<DL>
<DD><p>Causes an alert to be shown for <tt>widget</tt> if the window is not the active window. The alert is shown for <tt>duration</tt> miliseconds. If <tt>duration</tt> is zero (the default), then the alert is shown indefinitely until the window becomes active again.</p>
<p>Currently this function does nothing on Qtopia Core.</p>
<p>On Mac OS X, this works more at the application level and will cause the application icon to bounce in the dock.</p>
<p>On Windows this causes the window's taskbar entry to flash for a time. If <tt>duration</tt> is zero, the flashing will stop and the taskbar entry will turn a different color (currently orange).</p>
<p>On X11, this will cause the window to be marked as &quot;demands attention&quot;, the window must not be hidden (i.e&#x2e; not have hide() called on it, but be visible in some sort of way) in order for this to work.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="allWidgets()"><!-- --></A><H3>
allWidgets</H3>
<PRE>
public static java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&gt; <B>allWidgets</B>()</PRE>
<DL>
<DD><p>Returns a list of all the widgets in the application.</p>
<p>The list is empty (QList::isEmpty()) if there are no widgets.</p>
<p>Note that some of the widgets may be hidden.</p>
<p>Example:</p>
<pre>    void updateAllWidgets()
    {
        foreach (QWidget *widget, QApplication::allWidgets())
            widget-&gt;update();
    }</pre>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#topLevelWidgets()"><tt>topLevelWidgets</tt></a>, 
<tt>QWidget::isVisible</tt></DL>
</DD>
</DL>
<HR>

<A NAME="beep()"><!-- --></A><H3>
beep</H3>
<PRE>
public static void <B>beep</B>()</PRE>
<DL>
<DD><p>Sounds the bell, using the default volume and sound. The function is <i>not</i> available in Qtopia Core.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="changeOverrideCursor(com.trolltech.qt.gui.QCursor)"><!-- --></A><H3>
changeOverrideCursor</H3>
<PRE>
public static void <B>changeOverrideCursor</B>(<A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Changes the currently active application override cursor to <tt>arg__1</tt>.</p>
<p>This function has no effect if <a href="QApplication.html#setOverrideCursor(com.trolltech.qt.gui.QCursor)"><tt>setOverrideCursor</tt></a> wasn't called.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#setOverrideCursor(com.trolltech.qt.gui.QCursor)"><tt>setOverrideCursor</tt></a>, 
<tt>overrideCursor</tt>, 
<a href="QApplication.html#restoreOverrideCursor()"><tt>restoreOverrideCursor</tt></a>, 
<tt>QWidget::setCursor</tt></DL>
</DD>
</DL>
<HR>

<A NAME="clipboard()"><!-- --></A><H3>
clipboard</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QClipboard.html" title="class in com.trolltech.qt.gui">QClipboard</A> <B>clipboard</B>()</PRE>
<DL>
<DD><p>Returns a pointer to the application global clipboard.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="closeAllWindows()"><!-- --></A><H3>
closeAllWindows</H3>
<PRE>
public static void <B>closeAllWindows</B>()</PRE>
<DL>
<DD><p>Closes all top-level windows.</p>
<p>This function is particularly useful for applications with many top-level windows. It could, for example, be connected to a <b>Exit</b> entry in the <b>File</b> menu:</p>
<pre>        exitAct = new QAction(tr(&quot;E&amp;xit&quot;), this);
        exitAct-&gt;setShortcut(tr(&quot;Ctrl+Q&quot;));
        exitAct-&gt;setStatusTip(tr(&quot;Exit the application&quot;));
        connect(exitAct, SIGNAL(triggered()), qApp, SLOT(closeAllWindows()));</pre>
<p>The windows are closed in random order, until one window does not accept the close event. The application quits when the last window was successfully closed; this can be turned off by setting <a href="QApplication.html#quitOnLastWindowClosed()"><tt>quitOnLastWindowClosed</tt></a> to false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#quitOnLastWindowClosed()"><tt>quitOnLastWindowClosed</tt></a>, 
<a href="QApplication.html#lastWindowClosed()"><tt>lastWindowClosed</tt></a>, 
<tt>QWidget::close</tt>, 
<tt>QWidget::closeEvent</tt>, 
<a href="QApplication.html#lastWindowClosed()"><tt>lastWindowClosed</tt></a>, 
<a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#quit()"><tt>quit</tt></a>, 
<a href="QApplication.html#topLevelWidgets()"><tt>topLevelWidgets</tt></a>, 
<tt>QWidget::isWindow</tt></DL>
</DD>
</DL>
<HR>

<A NAME="colorSpec()"><!-- --></A><H3>
colorSpec</H3>
<PRE>
public static int <B>colorSpec</B>()</PRE>
<DL>
<DD><p>Returns the color specification.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QApplication::setColorSpec</tt></DL>
</DD>
</DL>
<HR>

<A NAME="cursorFlashTime()"><!-- --></A><H3>
cursorFlashTime</H3>
<PRE>
public static int <B>cursorFlashTime</B>()</PRE>
<DL>
<DD><p>Returns the text cursor's flash (blink) time in milliseconds.</p>
<p>The flash time is the time required to display, invert and restore the caret display. Usually the text cursor is displayed for half the cursor flash time, then hidden for the same amount of time, but this may vary.</p>
<p>The default value on X11 is 1000 milliseconds. On Windows, the control panel value is used. Widgets should not cache this value since it may be changed at any time by the user changing the global desktop settings.</p>
<p>Note that on Microsoft Windows, setting this property sets the cursor flash time for all applications.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#setCursorFlashTime(int)"><tt>setCursorFlashTime</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="desktop()"><!-- --></A><H3>
desktop</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QDesktopWidget.html" title="class in com.trolltech.qt.gui">QDesktopWidget</A> <B>desktop</B>()</PRE>
<DL>
<DD><p>Returns the desktop widget (also called the root window).</p>
<p>Note that the desktop may be composed of multiple screens, so it would be incorrect, for example, to attempt to <i>center</i> some widget in the desktop's geometry. <a href="QDesktopWidget.html"><tt>QDesktopWidget</tt></a> has various functions for obtaining useful geometries upon the desktop, such as QDesktopWidget::screenGeometry() and QDesktopWidget::availableGeometry().</p>
<p>On X11, it is also possible to draw on the desktop.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="desktopSettingsAware()"><!-- --></A><H3>
desktopSettingsAware</H3>
<PRE>
public static boolean <B>desktopSettingsAware</B>()</PRE>
<DL>
<DD><p>Returns true if Qt is set to use the system's standard colors, fonts, etc.; otherwise returns false. The default is true.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#setDesktopSettingsAware(boolean)"><tt>setDesktopSettingsAware</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="doubleClickInterval()"><!-- --></A><H3>
doubleClickInterval</H3>
<PRE>
public static int <B>doubleClickInterval</B>()</PRE>
<DL>
<DD><p>Returns the time limit in milliseconds that distinguishes a double click from two consecutive mouse clicks.</p>
<p>The default value on X11 is 400 milliseconds. On Windows and Mac OS X, the operating system's value is used.</p>
<p>On Microsoft Windows, calling this function sets the double click interval for all applications.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#setDoubleClickInterval(int)"><tt>setDoubleClickInterval</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="exec()"><!-- --></A><H3>
exec</H3>
<PRE>
public static int <B>exec</B>()</PRE>
<DL>
<DD><p>Enters the main event loop and waits until <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#exit(int)"><tt>exit</tt></a> is called or the main widget is destroyed, and returns the value that was set to <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#exit(int)"><tt>exit</tt></a> (which is 0 if <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#exit(int)"><tt>exit</tt></a> is called via <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#quit()"><tt>quit</tt></a>).</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="QApplication.html#exec()"><tt>exec</tt></a>. As a special case, modal widgets like <a href="QMessageBox.html"><tt>QMessageBox</tt></a> can be used before calling <a href="QApplication.html#exec()"><tt>exec</tt></a>, because modal widgets call <a href="QApplication.html#exec()"><tt>exec</tt></a> to start a local event loop.</p>
<p>To make your application perform idle processing, i.e&#x2e; executing a special function whenever there are no pending events, use a <a href="%2E%2E/core/QTimer.html"><tt>QTimer</tt></a> with 0 timeout. More advanced idle processing schemes can be achieved using <a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#processEvents(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>processEvents</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#quitOnLastWindowClosed()"><tt>quitOnLastWindowClosed</tt></a>, 
<a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#quit()"><tt>quit</tt></a>, 
<a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#exit(int)"><tt>exit</tt></a>, 
<a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#processEvents(com.trolltech.qt.core.QEventLoop.ProcessEventsFlags)"><tt>processEvents</tt></a>, 
<tt>QCoreApplication::exec</tt></DL>
</DD>
</DL>
<HR>

<A NAME="focusWidget()"><!-- --></A><H3>
focusWidget</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>focusWidget</B>()</PRE>
<DL>
<DD><p>Returns the application widget that has the keyboard input focus, or 0 if no widget in this application has the focus.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QWidget::setFocus</tt>, 
<tt>QWidget::hasFocus</tt>, 
<a href="QApplication.html#activeWindow()"><tt>activeWindow</tt></a>, 
<a href="QApplication.html#focusChanged(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QWidget)"><tt>focusChanged</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="font(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
font</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A> <B>font</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Returns the default font for the <tt>arg__1</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#fontMetrics()"><tt>fontMetrics</tt></a>, 
<tt>QWidget::setFont</tt></DL>
</DD>
</DL>
<HR>

<A NAME="font()"><!-- --></A><H3>
font</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A> <B>font</B>()</PRE>
<DL>
<DD><p>Returns the default application font.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#fontMetrics()"><tt>fontMetrics</tt></a>, 
<tt>QWidget::font</tt></DL>
</DD>
</DL>
<HR>

<A NAME="fontMetrics()"><!-- --></A><H3>
fontMetrics</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QFontMetrics.html" title="class in com.trolltech.qt.gui">QFontMetrics</A> <B>fontMetrics</B>()</PRE>
<DL>
<DD><p>Returns display (screen) font metrics for the application font.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#font()"><tt>font</tt></a>, 
<tt>setFont</tt>, 
<tt>QWidget::fontMetrics</tt>, 
<tt>QPainter::fontMetrics</tt></DL>
</DD>
</DL>
<HR>

<A NAME="globalStrut()"><!-- --></A><H3>
globalStrut</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>globalStrut</B>()</PRE>
<DL>
<DD><p>Returns the minimum size that any GUI element that the user can interact with should have.</p>
<p>For example no button should be resized to be smaller than the global strut size. The strut size should be considered when reimplementing GUI controls that may be used on touch-screens or similar I/O devices.</p>
<p>Example:</p>
<pre>    QSize MyWidget::sizeHint() const
    {
        return QSize(80, 25).expandedTo(QApplication::globalStrut());
    }</pre>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#setGlobalStrut(com.trolltech.qt.core.QSize)"><tt>setGlobalStrut</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isEffectEnabled(com.trolltech.qt.core.Qt.UIEffect)"><!-- --></A><H3>
isEffectEnabled</H3>
<PRE>
public static boolean <B>isEffectEnabled</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.UIEffect.html" title="enum in com.trolltech.qt.core">Qt.UIEffect</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Returns true if <tt>arg__1</tt> is enabled; otherwise returns false.</p>
<p>By default, Qt will try to use the desktop settings. Call <a href="QApplication.html#setDesktopSettingsAware(boolean)"><tt>setDesktopSettingsAware</tt></a>(false) to prevent this.</p>
<p>Note: All effects are disabled on screens running at less than 16-bit color depth.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#setEffectEnabled(com.trolltech.qt.core.Qt.UIEffect, boolean)"><tt>setEffectEnabled</tt></a>, 
<tt>Qt::UIEffect</tt></DL>
</DD>
</DL>
<HR>

<A NAME="isLeftToRight()"><!-- --></A><H3>
isLeftToRight</H3>
<PRE>
public static boolean <B>isLeftToRight</B>()</PRE>
<DL>
<DD><p>Returns true if the application's layout direction is Qt::LeftToRight; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#layoutDirection()"><tt>layoutDirection</tt></a>, 
<a href="QApplication.html#isRightToLeft()"><tt>isRightToLeft</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isRightToLeft()"><!-- --></A><H3>
isRightToLeft</H3>
<PRE>
public static boolean <B>isRightToLeft</B>()</PRE>
<DL>
<DD><p>Returns true if the application's layout direction is Qt::RightToLeft; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#layoutDirection()"><tt>layoutDirection</tt></a>, 
<a href="QApplication.html#isLeftToRight()"><tt>isLeftToRight</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="keyboardInputDirection()"><!-- --></A><H3>
keyboardInputDirection</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A> <B>keyboardInputDirection</B>()</PRE>
<DL>
<DD><p>Returns the current keyboard input direction.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="keyboardInputInterval()"><!-- --></A><H3>
keyboardInputInterval</H3>
<PRE>
public static int <B>keyboardInputInterval</B>()</PRE>
<DL>
<DD><p>Returns the time limit in milliseconds that distinguishes a key press from two consecutive key presses.</p>
<p>The default value on X11 is 400 milliseconds. On Windows and Mac OS X, the operating system's value is used.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#setKeyboardInputInterval(int)"><tt>setKeyboardInputInterval</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="keyboardInputLocale()"><!-- --></A><H3>
keyboardInputLocale</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QLocale.html" title="class in com.trolltech.qt.core">QLocale</A> <B>keyboardInputLocale</B>()</PRE>
<DL>
<DD><p>Returns the current keyboard input locale.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="keyboardModifiers()"><!-- --></A><H3>
keyboardModifiers</H3>
<PRE>
public static <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 current state of the modifier keys on the keyboard. The current state is updated sychronously as the event queue is emptied of events that will spontaneously change the keyboard state (QEvent::KeyPress and QEvent::KeyRelease events).</p>
<p>It should be noted this may not reflect the actual keys held on the input device at the time of calling but rather the modifiers as last reported in one of the above events. If no keys are being held Qt::NoModifier is returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#mouseButtons()"><tt>mouseButtons</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="layoutDirection()"><!-- --></A><H3>
layoutDirection</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A> <B>layoutDirection</B>()</PRE>
<DL>
<DD><p>Returns the default layout direction for this application.</p>
<p>On system start-up, the default layout direction depends on the application's language.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#setLayoutDirection(com.trolltech.qt.core.Qt.LayoutDirection)"><tt>setLayoutDirection</tt></a>, 
<tt>QWidget::layoutDirection</tt>, 
<a href="QApplication.html#isLeftToRight()"><tt>isLeftToRight</tt></a>, 
<a href="QApplication.html#isRightToLeft()"><tt>isRightToLeft</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mouseButtons()"><!-- --></A><H3>
mouseButtons</H3>
<PRE>
public static <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 current state of the buttons on the mouse. The current state is updated syncronously as the event queue is emptied of events that will spontaneously change the mouse state (QEvent::MousePress and QEvent::MouseRelease events).</p>
<p>It should be noted this may not reflect the actual buttons held on theinput device at the time of calling but rather the mouse buttons as last reported in one of the above events. If no mouse buttons are being held Qt::NoButton is returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#keyboardModifiers()"><tt>keyboardModifiers</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="palette(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
palette</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QPalette.html" title="class in com.trolltech.qt.gui">QPalette</A> <B>palette</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>If a <tt>arg__1</tt> is passed, the default palette for the widget's class is returned. This may or may not be the application palette. In most cases there isn't a special palette for certain types of widgets, but one notable exception is the popup menu under Windows, if the user has defined a special background color for menus in the display settings.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>setPalette</tt>, 
<tt>QWidget::palette</tt></DL>
</DD>
</DL>
<HR>

<A NAME="palette()"><!-- --></A><H3>
palette</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QPalette.html" title="class in com.trolltech.qt.gui">QPalette</A> <B>palette</B>()</PRE>
<DL>
<DD><p>Returns the application palette.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>setPalette</tt>, 
<tt>QWidget::palette</tt></DL>
</DD>
</DL>
<HR>

<A NAME="quitOnLastWindowClosed()"><!-- --></A><H3>
quitOnLastWindowClosed</H3>
<PRE>
public static boolean <B>quitOnLastWindowClosed</B>()</PRE>
<DL>
<DD><p>Returns whether the application implicitly quits when the last window is closed..</p>
<p>The default is true.</p>
<p>If this property is true, the applications quits when the last visible primary window (i.e&#x2e; window with no parent) with the Qt::WA_QuitOnClose attribute set is closed. By default this attribute is set for all widgets except transient windows such as splash screens, tool windows, and popup menus.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#setQuitOnLastWindowClosed(boolean)"><tt>setQuitOnLastWindowClosed</tt></a>, 
<a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#quit()"><tt>quit</tt></a>, 
<tt>QWidget::close</tt></DL>
</DD>
</DL>
<HR>

<A NAME="restoreOverrideCursor()"><!-- --></A><H3>
restoreOverrideCursor</H3>
<PRE>
public static void <B>restoreOverrideCursor</B>()</PRE>
<DL>
<DD><p>Undoes the last <a href="QApplication.html#setOverrideCursor(com.trolltech.qt.gui.QCursor)"><tt>setOverrideCursor</tt></a>.</p>
<p>If <a href="QApplication.html#setOverrideCursor(com.trolltech.qt.gui.QCursor)"><tt>setOverrideCursor</tt></a> has been called twice, calling <a href="QApplication.html#restoreOverrideCursor()"><tt>restoreOverrideCursor</tt></a> will activate the first cursor set. Calling this function a second time restores the original widgets' cursors.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#setOverrideCursor(com.trolltech.qt.gui.QCursor)"><tt>setOverrideCursor</tt></a>, 
<tt>overrideCursor</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setActiveWindow(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
setActiveWindow</H3>
<PRE>
public static void <B>setActiveWindow</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;act)</PRE>
<DL>
<DD><p>Sets the active window to the <tt>act</tt> widget in response to a system event. The function is called from the platform specific event handlers.</p>
<p><b>Warning:</b> This function does <i>not</i> set the keyboard focus to the active widget. Call QWidget::activateWindow() instead.</p>
<p>It sets the <a href="QApplication.html#activeWindow()"><tt>activeWindow</tt></a> and <a href="QApplication.html#focusWidget()"><tt>focusWidget</tt></a> attributes and sends proper WindowActivate/WindowDeactivate and FocusIn/FocusOut events to all appropriate widgets. The window will then be painted in active state (e.g&#x2e; cursors in line edits will blink), and it will have tool tips enabled.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#activeWindow()"><tt>activeWindow</tt></a>, 
<tt>QWidget::activateWindow</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setColorSpec(int)"><!-- --></A><H3>
setColorSpec</H3>
<PRE>
public static void <B>setColorSpec</B>(int&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the color specification for the application to <tt>arg__1</tt>.</p>
<p>The color specification controls how the application allocates colors when run on a display with a limited amount of colors, e.g&#x2e; 8 bit / 256 color displays.</p>
<p>The color specification must be set before you create the <a href="QApplication.html"><tt>QApplication</tt></a> object.</p>
<p>The options are:</p>
<ul>
<li>QApplication::NormalColor. This is the default color allocation strategy. Use this option if your application uses buttons, menus, texts and pixmaps with few colors. With this option, the application uses system global colors. This works fine for most applications under X11, but on Windows machines it may cause dithering of non-standard colors.</li>
<li>QApplication::CustomColor. Use this option if your application needs a small number of custom colors. On X11, this option is the same as <a href="QApplication.html#ColorSpec-enum"><tt>NormalColor</tt></a>. On Windows, Qt creates a Windows palette, and allocates colors to it on demand.</li>
<li>QApplication::ManyColor. Use this option if your application is very color hungry (e.g&#x2e; it requires thousands of colors). Under X11 the effect is:<ul>
<li>For 256-color displays which have at best a 256 color true color visual, the default visual is used, and colors are allocated from a color cube. The color cube is the 6x6x6 (216 color) &quot;Web palette&quot; (the red, green, and blue components always have one of the following values: 0x00, 0x33, 0x66, 0x99, 0xCC, or 0xFF), but the number of colors can be changed by the <i>-ncols</i> option. The user can force the application to use the true color visual with the -visual</tt> option.</li>
<li>For 256-color displays which have a true color visual with more than 256 colors, use that visual. Silicon Graphics X servers have this feature, for example. They provide an 8 bit visual by default but can deliver true color when asked.</li>
</ul>
<p>On Windows, Qt creates a Windows palette, and fills it with a color cube.</p>
</li>
</ul>
<p>Be aware that the <a href="QApplication.html#ColorSpec-enum"><tt>CustomColor</tt></a> and <a href="QApplication.html#ColorSpec-enum"><tt>ManyColor</tt></a> choices may lead to colormap flashing: The foreground application gets (most) of the available colors, while the background windows will look less attractive.</p>
<p>Example:</p>
<pre>    int main(int argc, char *argv[])
    {
        QApplication::setColorSpec(QApplication::ManyColor);
        QApplication app(argc, argv);
        ...
        return app.exec();
    }</pre>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#colorSpec()"><tt>colorSpec</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setCursorFlashTime(int)"><!-- --></A><H3>
setCursorFlashTime</H3>
<PRE>
public static void <B>setCursorFlashTime</B>(int&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the text cursor's flash (blink) time in milliseconds to <tt>arg__1</tt>.</p>
<p>The flash time is the time required to display, invert and restore the caret display. Usually the text cursor is displayed for half the cursor flash time, then hidden for the same amount of time, but this may vary.</p>
<p>The default value on X11 is 1000 milliseconds. On Windows, the control panel value is used. Widgets should not cache this value since it may be changed at any time by the user changing the global desktop settings.</p>
<p>Note that on Microsoft Windows, setting this property sets the cursor flash time for all applications.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#cursorFlashTime()"><tt>cursorFlashTime</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setDesktopSettingsAware(boolean)"><!-- --></A><H3>
setDesktopSettingsAware</H3>
<PRE>
public static void <B>setDesktopSettingsAware</B>(boolean&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets whether Qt should use the system's standard colors, fonts, etc., to <tt>arg__1</tt>. By default, this is true.</p>
<p>This function must be called before creating the <a href="QApplication.html"><tt>QApplication</tt></a> object, like this:</p>
<pre>    int main(int argc, char *argv[])
    {
        QApplication::setDesktopSettingsAware(false);
        QApplication app(argc, argv);
        ...
        return app.exec();
    }</pre>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#desktopSettingsAware()"><tt>desktopSettingsAware</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setDoubleClickInterval(int)"><!-- --></A><H3>
setDoubleClickInterval</H3>
<PRE>
public static void <B>setDoubleClickInterval</B>(int&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the time limit in milliseconds that distinguishes a double click from two consecutive mouse clicks to <tt>arg__1</tt>.</p>
<p>The default value on X11 is 400 milliseconds. On Windows and Mac OS X, the operating system's value is used.</p>
<p>On Microsoft Windows, calling this function sets the double click interval for all applications.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#doubleClickInterval()"><tt>doubleClickInterval</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setEffectEnabled(com.trolltech.qt.core.Qt.UIEffect)"><!-- --></A><H3>
setEffectEnabled</H3>
<PRE>
public static void <B>setEffectEnabled</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.UIEffect.html" title="enum in com.trolltech.qt.core">Qt.UIEffect</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Equivalent to <a href="QApplication.html#setEffectEnabled(com.trolltech.qt.core.Qt.UIEffect, boolean)"><tt>setEffectEnabled</tt></a>(<tt>arg__1</tt>, true).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setEffectEnabled(com.trolltech.qt.core.Qt.UIEffect, boolean)"><!-- --></A><H3>
setEffectEnabled</H3>
<PRE>
public static void <B>setEffectEnabled</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.UIEffect.html" title="enum in com.trolltech.qt.core">Qt.UIEffect</A>&nbsp;arg__1,
                                    boolean&nbsp;enable)</PRE>
<DL>
<DD><p>Enables the UI effect <tt>arg__1</tt> if <tt>enable</tt> is true, otherwise the effect will not be used.</p>
<p>Note: All effects are disabled on screens running at less than 16-bit color depth.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#isEffectEnabled(com.trolltech.qt.core.Qt.UIEffect)"><tt>isEffectEnabled</tt></a>, 
<tt>Qt::UIEffect</tt>, 
<a href="QApplication.html#setDesktopSettingsAware(boolean)"><tt>setDesktopSettingsAware</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setGlobalStrut(com.trolltech.qt.core.QSize)"><!-- --></A><H3>
setGlobalStrut</H3>
<PRE>
public static void <B>setGlobalStrut</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the minimum size that any GUI element that the user can interact with should have to <tt>arg__1</tt>.</p>
<p>For example no button should be resized to be smaller than the global strut size. The strut size should be considered when reimplementing GUI controls that may be used on touch-screens or similar I/O devices.</p>
<p>Example:</p>
<pre>    QSize MyWidget::sizeHint() const
    {
        return QSize(80, 25).expandedTo(QApplication::globalStrut());
    }</pre>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#globalStrut()"><tt>globalStrut</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setKeyboardInputInterval(int)"><!-- --></A><H3>
setKeyboardInputInterval</H3>
<PRE>
public static void <B>setKeyboardInputInterval</B>(int&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the time limit in milliseconds that distinguishes a key press from two consecutive key presses to <tt>arg__1</tt>.</p>
<p>The default value on X11 is 400 milliseconds. On Windows and Mac OS X, the operating system's value is used.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#keyboardInputInterval()"><tt>keyboardInputInterval</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setLayoutDirection(com.trolltech.qt.core.Qt.LayoutDirection)"><!-- --></A><H3>
setLayoutDirection</H3>
<PRE>
public static void <B>setLayoutDirection</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.LayoutDirection.html" title="enum in com.trolltech.qt.core">Qt.LayoutDirection</A>&nbsp;direction)</PRE>
<DL>
<DD><p>Sets the default layout direction for this application to <tt>direction</tt>.</p>
<p>On system start-up, the default layout direction depends on the application's language.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QWidget::layoutDirection</tt>, 
<a href="QApplication.html#isLeftToRight()"><tt>isLeftToRight</tt></a>, 
<a href="QApplication.html#isRightToLeft()"><tt>isRightToLeft</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setOverrideCursor(com.trolltech.qt.gui.QCursor)"><!-- --></A><H3>
setOverrideCursor</H3>
<PRE>
public static void <B>setOverrideCursor</B>(<A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the application override cursor to <tt>arg__1</tt>.</p>
<p>Application override cursors are intended for showing the user that the application is in a special state, for example during an operation that might take some time.</p>
<p>This cursor will be displayed in all the application's widgets until <a href="QApplication.html#restoreOverrideCursor()"><tt>restoreOverrideCursor</tt></a> or another <a href="QApplication.html#setOverrideCursor(com.trolltech.qt.gui.QCursor)"><tt>setOverrideCursor</tt></a> is called.</p>
<p>Application cursors are stored on an internal stack. <a href="QApplication.html#setOverrideCursor(com.trolltech.qt.gui.QCursor)"><tt>setOverrideCursor</tt></a> pushes the cursor onto the stack, and <a href="QApplication.html#restoreOverrideCursor()"><tt>restoreOverrideCursor</tt></a> pops the active cursor off the stack. <a href="QApplication.html#changeOverrideCursor(com.trolltech.qt.gui.QCursor)"><tt>changeOverrideCursor</tt></a> changes the curently active application override cursor. Every <a href="QApplication.html#setOverrideCursor(com.trolltech.qt.gui.QCursor)"><tt>setOverrideCursor</tt></a> must eventually be followed by a corresponding <a href="QApplication.html#restoreOverrideCursor()"><tt>restoreOverrideCursor</tt></a>, otherwise the stack will never be emptied.</p>
<p>Example:</p>
<pre>    QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
    calculateHugeMandelbrot();              <span class="comment">// lunch time...</span>
    QApplication::restoreOverrideCursor();</pre>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>overrideCursor</tt>, 
<a href="QApplication.html#restoreOverrideCursor()"><tt>restoreOverrideCursor</tt></a>, 
<a href="QApplication.html#changeOverrideCursor(com.trolltech.qt.gui.QCursor)"><tt>changeOverrideCursor</tt></a>, 
<tt>QWidget::setCursor</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setQuitOnLastWindowClosed(boolean)"><!-- --></A><H3>
setQuitOnLastWindowClosed</H3>
<PRE>
public static void <B>setQuitOnLastWindowClosed</B>(boolean&nbsp;quit)</PRE>
<DL>
<DD><p>Sets whether the application implicitly quits when the last window is closed. to <tt>quit</tt>.</p>
<p>The default is true.</p>
<p>If this property is true, the applications quits when the last visible primary window (i.e&#x2e; window with no parent) with the Qt::WA_QuitOnClose attribute set is closed. By default this attribute is set for all widgets except transient windows such as splash screens, tool windows, and popup menus.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#quitOnLastWindowClosed()"><tt>quitOnLastWindowClosed</tt></a>, 
<a href="%2E%2E/core/%2E%2E/core/QCoreApplication.html#quit()"><tt>quit</tt></a>, 
<tt>QWidget::close</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setStartDragDistance(int)"><!-- --></A><H3>
setStartDragDistance</H3>
<PRE>
public static void <B>setStartDragDistance</B>(int&nbsp;l)</PRE>
<DL>
<DD><p>If you support drag and drop in your application, and want to start a drag and drop operation after the user has moved the cursor a certain distance with a button held down, you should use this property's value as the minimum distance required.</p>
<p>For example, if the mouse position of the click is stored in <tt>startPos</tt> and the current position (e.g&#x2e; in the mouse move event) is <tt>currentPos</tt>, you can find out if a drag should be started with code like this:</p>
<pre>    if ((startPos - currentPos).manhattanLength() &gt;=
            QApplication::startDragDistance())
        startTheDrag();</pre>
<p>Qt uses this value internally, e.g&#x2e; in <a href="QFileDialog.html"><tt>QFileDialog</tt></a>.</p>
<p>The default value is 4 pixels.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#startDragDistance()"><tt>startDragDistance</tt></a>, 
<a href="QApplication.html#startDragTime()"><tt>startDragTime</tt></a>, 
<tt>QPoint::manhattanLength</tt>, 
<a href="%2E%2E/dnd.html">Drag and Drop</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setStartDragTime(int)"><!-- --></A><H3>
setStartDragTime</H3>
<PRE>
public static void <B>setStartDragTime</B>(int&nbsp;ms)</PRE>
<DL>
<DD><p>Sets the time in milliseconds that a mouse button must be held down before a drag and drop operation will begin to <tt>ms</tt>.</p>
<p>If you support drag and drop in your application, and want to start a drag and drop operation after the user has held down a mouse button for a certain amount of time, you should use this property's value as the delay.</p>
<p>Qt also uses this delay internally, e.g&#x2e; in <a href="QTextEdit.html"><tt>QTextEdit</tt></a> and <a href="QLineEdit.html"><tt>QLineEdit</tt></a>, for starting a drag.</p>
<p>The default value is 500 ms.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#startDragTime()"><tt>startDragTime</tt></a>, 
<a href="QApplication.html#startDragDistance()"><tt>startDragDistance</tt></a>, 
<a href="%2E%2E/dnd.html">Drag and Drop</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setStyle(java.lang.String)"><!-- --></A><H3>
setStyle</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A> <B>setStyle</B>(java.lang.String&nbsp;arg__1)</PRE>
<DL>
<DD><p>Requests a <a href="QStyle.html"><tt>QStyle</tt></a> object for <tt>arg__1</tt> from the <a href="QStyleFactory.html"><tt>QStyleFactory</tt></a>.</p>
<p>The string must be one of the QStyleFactory::keys(), typically one of &quot;windows&quot;, &quot;motif&quot;, &quot;cde&quot;, &quot;plastique&quot;, &quot;windowsxp&quot;, or &quot;macintosh&quot;. Style names are case insensitive.</p>
<p>Returns 0 if an unknown <tt>arg__1</tt> is passed, otherwise the <a href="QStyle.html"><tt>QStyle</tt></a> object returned is set as the application's GUI style.</p>
<p><b>Warning:</b> To ensure that the application's style is set correctly, it is best to call this function before the <a href="QApplication.html"><tt>QApplication</tt></a> constructor, if possible.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#style()"><tt>style</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setStyle(com.trolltech.qt.gui.QStyle)"><!-- --></A><H3>
setStyle</H3>
<PRE>
public static void <B>setStyle</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the application's GUI style to <tt>arg__1</tt>. Ownership of the style object is transferred to <a href="QApplication.html"><tt>QApplication</tt></a>, so <a href="QApplication.html"><tt>QApplication</tt></a> will delete the style object on application exit or when a new style is set.</p>
<p>Example usage:</p>
<pre>    QApplication::setStyle(new QWindowsStyle);</pre>
<p>When switching application styles, the color palette is set back to the initial colors or the system defaults. This is necessary since certain styles have to adapt the color palette to be fully style-guide compliant.</p>
<p>Note that setting the style before a palette has been set (i.e&#x2e; before creating <a href="QApplication.html"><tt>QApplication</tt></a>) will cause the application to use QStyle::standardPalette() for the palette.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#style()"><tt>style</tt></a>, 
<a href="QStyle.html"><tt>QStyle</tt></a>, 
<tt>setPalette</tt>, 
<a href="QApplication.html#desktopSettingsAware()"><tt>desktopSettingsAware</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setWheelScrollLines(int)"><!-- --></A><H3>
setWheelScrollLines</H3>
<PRE>
public static void <B>setWheelScrollLines</B>(int&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the number of lines to scroll when the mouse wheel is rotated to <tt>arg__1</tt>.</p>
<p>If this number exceeds the number of visible lines in a certain widget, the widget should interpret the scroll operation as a single &quot;page up&quot; or &quot;page down&quot; operation instead.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#wheelScrollLines()"><tt>wheelScrollLines</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setWindowIcon(com.trolltech.qt.gui.QIcon)"><!-- --></A><H3>
setWindowIcon</H3>
<PRE>
public static void <B>setWindowIcon</B>(<A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A>&nbsp;icon)</PRE>
<DL>
<DD><p>Sets the default window icon to <tt>icon</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#windowIcon()"><tt>windowIcon</tt></a>, 
<tt>QWidget::setWindowIcon</tt>, 
<a href="%2E%2E/appicon.html">Setting the Application Icon</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="startDragDistance()"><!-- --></A><H3>
startDragDistance</H3>
<PRE>
public static int <B>startDragDistance</B>()</PRE>
<DL>
<DD><p>If you support drag and drop in your application, and want to start a drag and drop operation after the user has moved the cursor a certain distance with a button held down, you should use this property's value as the minimum distance required.</p>
<p>For example, if the mouse position of the click is stored in <tt>startPos</tt> and the current position (e.g&#x2e; in the mouse move event) is <tt>currentPos</tt>, you can find out if a drag should be started with code like this:</p>
<pre>    if ((startPos - currentPos).manhattanLength() &gt;=
            QApplication::startDragDistance())
        startTheDrag();</pre>
<p>Qt uses this value internally, e.g&#x2e; in <a href="QFileDialog.html"><tt>QFileDialog</tt></a>.</p>
<p>The default value is 4 pixels.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#setStartDragDistance(int)"><tt>setStartDragDistance</tt></a>, 
<a href="QApplication.html#startDragTime()"><tt>startDragTime</tt></a>, 
<tt>QPoint::manhattanLength</tt>, 
<a href="%2E%2E/dnd.html">Drag and Drop</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="startDragTime()"><!-- --></A><H3>
startDragTime</H3>
<PRE>
public static int <B>startDragTime</B>()</PRE>
<DL>
<DD><p>Returns the time in milliseconds that a mouse button must be held down before a drag and drop operation will begin.</p>
<p>If you support drag and drop in your application, and want to start a drag and drop operation after the user has held down a mouse button for a certain amount of time, you should use this property's value as the delay.</p>
<p>Qt also uses this delay internally, e.g&#x2e; in <a href="QTextEdit.html"><tt>QTextEdit</tt></a> and <a href="QLineEdit.html"><tt>QLineEdit</tt></a>, for starting a drag.</p>
<p>The default value is 500 ms.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#setStartDragTime(int)"><tt>setStartDragTime</tt></a>, 
<a href="QApplication.html#startDragDistance()"><tt>startDragDistance</tt></a>, 
<a href="%2E%2E/dnd.html">Drag and Drop</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="style()"><!-- --></A><H3>
style</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QStyle.html" title="class in com.trolltech.qt.gui">QStyle</A> <B>style</B>()</PRE>
<DL>
<DD><p>Returns the application's style object.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#setStyle(java.lang.String)"><tt>setStyle</tt></a>, 
<a href="QStyle.html"><tt>QStyle</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="syncX()"><!-- --></A><H3>
syncX</H3>
<PRE>
public static void <B>syncX</B>()</PRE>
<DL>
<DD><p>Synchronizes with the X server in the X11 implementation. This normally takes some time. Does nothing on other platforms.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="topLevelAt(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
topLevelAt</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>topLevelAt</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</PRE>
<DL>
<DD><p>Returns the top-level widget at the given <tt>p</tt>; returns 0 if there is no such widget.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="topLevelAt(int, int)"><!-- --></A><H3>
topLevelAt</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>topLevelAt</B>(int&nbsp;x,
                                 int&nbsp;y)</PRE>
<DL>
<DD><p>Returns the top-level widget at the point (<tt>x</tt>, <tt>y</tt>); returns 0 if there is no such widget.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="topLevelWidgets()"><!-- --></A><H3>
topLevelWidgets</H3>
<PRE>
public static java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&gt; <B>topLevelWidgets</B>()</PRE>
<DL>
<DD><p>Returns a list of the top-level widgets (windows) in the application.</p>
<p>Note that some of the top-level widgets may be hidden, for example a tooltip if no tooltip is currently shown.</p>
<p>Example:</p>
<pre>    void showAllHiddenTopLevelWidgets()
    {
        foreach (QWidget *widget, QApplication::topLevelWidgets()) {
            if (widget-&gt;isHidden())
                widget-&gt;show();
        }
    }</pre>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#allWidgets()"><tt>allWidgets</tt></a>, 
<tt>QWidget::isWindow</tt>, 
<tt>QWidget::isHidden</tt></DL>
</DD>
</DL>
<HR>

<A NAME="type()"><!-- --></A><H3>
type</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QApplication.Type.html" title="enum in com.trolltech.qt.gui">QApplication.Type</A> <B>type</B>()</PRE>
<DL>
<DD><p>Returns the type of application (<a href="QApplication.html#Type-enum">Tty</tt></a>, <a href="QApplication.html#Type-enum"><tt>GuiClient</tt></a>, or <a href="QApplication.html#Type-enum"><tt>GuiServer</tt></a>). The type is set when constructing the <a href="QApplication.html"><tt>QApplication</tt></a> object.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="wheelScrollLines()"><!-- --></A><H3>
wheelScrollLines</H3>
<PRE>
public static int <B>wheelScrollLines</B>()</PRE>
<DL>
<DD><p>Returns the number of lines to scroll when the mouse wheel is rotated.</p>
<p>If this number exceeds the number of visible lines in a certain widget, the widget should interpret the scroll operation as a single &quot;page up&quot; or &quot;page down&quot; operation instead.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QApplication.html#setWheelScrollLines(int)"><tt>setWheelScrollLines</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="widgetAt(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
widgetAt</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>widgetAt</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</PRE>
<DL>
<DD><p>Returns the widget at global screen position <tt>p</tt>, or 0 if there is no Qt widget there.</p>
<p>This function can be slow.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QCursor::pos</tt>, 
<tt>QWidget::grabMouse</tt>, 
<tt>QWidget::grabKeyboard</tt></DL>
</DD>
</DL>
<HR>

<A NAME="widgetAt(int, int)"><!-- --></A><H3>
widgetAt</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>widgetAt</B>(int&nbsp;x,
                               int&nbsp;y)</PRE>
<DL>
<DD><p>Returns the widget at global screen position (<tt>x</tt>, <tt>y</tt>), or 0 if there is no Qt widget there.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="windowIcon()"><!-- --></A><H3>
windowIcon</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A> <B>windowIcon</B>()</PRE>
<DL>
<DD><p>Returns the default window icon.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QWidget::setWindowIcon</tt>, 
<a href="%2E%2E/appicon.html">Setting the Application Icon</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QApplication.html" title="class in com.trolltech.qt.gui">QApplication</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</PRE>
<DL>
<DD>This function returns the QApplication 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>
<HR>

<A NAME="initialize(java.lang.String[])"><!-- --></A><H3>
initialize</H3>
<PRE>
public static void <B>initialize</B>(java.lang.String[]&nbsp;args)</PRE>
<DL>
<DD>This method is internal to Qt Jambi.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="aboutQtJambi()"><!-- --></A><H3>
aboutQtJambi</H3>
<PRE>
public static void <B>aboutQtJambi</B>()</PRE>
<DL>
<DD>Displays a simple message box about Qt Jambi. The message includes the
version number of Qt being used by the application.
<p>
This is useful for inclusion in the Help menu of an application.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="instance()"><!-- --></A><H3>
instance</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QApplication.html" title="class in com.trolltech.qt.gui">QApplication</A> <B>instance</B>()</PRE>
<DL>
<DD>Returns the unique QApplication instance.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setFont(com.trolltech.qt.gui.QFont)"><!-- --></A><H3>
setFont</H3>
<PRE>
public static void <B>setFont</B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;font)</PRE>
<DL>
<DD>Changes the default application font to <tt>font</tt>.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setPalette(com.trolltech.qt.gui.QPalette)"><!-- --></A><H3>
setPalette</H3>
<PRE>
public static void <B>setPalette</B>(<A HREF="../../../../com/trolltech/qt/gui/QPalette.html" title="class in com.trolltech.qt.gui">QPalette</A>&nbsp;palette)</PRE>
<DL>
<DD>Changes the default application palette to <tt>palette</tt>.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="overrideCursor()"><!-- --></A><H3>
overrideCursor</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A> <B>overrideCursor</B>()</PRE>
<DL>
<DD>Returns the active application override cursor.
<p>
This function returns null if no application cursor has been defined
(i.e. the internal cursor stack is empty).
<P>
<DD><DL>
</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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QActionGroup.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QApplication.ColorSpec.html" title="enum 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/QApplication.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QApplication.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>