Sophie

Sophie

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

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>
QAction
</TITLE>

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

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

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QAction";
}
</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/QAccessibleWidgetEx.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QAction.ActionEvent.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/QAction.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QAction.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 QAction</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A>
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">com.trolltech.qt.core.QObject</A>
              <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QAction</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/trolltech/qt/gui/QWidgetAction.html" title="class in com.trolltech.qt.gui">QWidgetAction</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QAction</B><DT>extends <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></DL>
</PRE>

<P>
<p>The <a href="QAction.html#QAction(com.trolltech.qt.gui.QIcon, java.lang.String, com.trolltech.qt.core.QObject)"><tt>QAction</tt></a> class provides an abstract user interface action that can be inserted into widgets.</p>
<p>In applications many common commands can be invoked via menus, toolbar buttons, and keyboard shortcuts. Since the user expects each command to be performed in the same way, regardless of the user interface used, it is useful to represent each command as an <i>action</i>.</p>
<p>Actions can be added to menus and toolbars, and will automatically keep them in sync. For example, in a word processor, if the user presses a Bold toolbar button, the Bold menu item will automatically be checked.</p>
<p>Actions can be created as independent objects, but they may also be created during the construction of menus; the <a href="QMenu.html"><tt>QMenu</tt></a> class contains convenience functions for creating actions suitable for use as menu items.</p>
<p>A <a href="QAction.html#QAction(com.trolltech.qt.gui.QIcon, java.lang.String, com.trolltech.qt.core.QObject)"><tt>QAction</tt></a> may contain an icon, menu text, a shortcut, status text, &quot;What's This?&quot; text, and a tooltip. Most of these can be set in the constructor. They can also be set independently with <a href="QAction.html#setIcon(com.trolltech.qt.gui.QIcon)"><tt>setIcon</tt></a>, <a href="QAction.html#setText(java.lang.String)"><tt>setText</tt></a>, <a href="QAction.html#setIconText(java.lang.String)"><tt>setIconText</tt></a>, <a href="QAction.html#setShortcut(com.trolltech.qt.gui.QKeySequence)"><tt>setShortcut</tt></a>, <a href="QAction.html#setStatusTip(java.lang.String)"><tt>setStatusTip</tt></a>, <a href="QAction.html#setWhatsThis(java.lang.String)"><tt>setWhatsThis</tt></a>, and <a href="QAction.html#setToolTip(java.lang.String)"><tt>setToolTip</tt></a>. For menu items, it is possible to set an individual font with <a href="QAction.html#setFont(com.trolltech.qt.gui.QFont)"><tt>setFont</tt></a>.</p>
<p>Actions are added to widgets using QWidget::addAction(). Note that an action must be added to a widget before it can be used; this is also true when the shortcut should be global (i.e&#x2e;, Qt::ApplicationShortcut as Qt::ShortcutContext).</p>
<p>Once a <a href="QAction.html#QAction(com.trolltech.qt.gui.QIcon, java.lang.String, com.trolltech.qt.core.QObject)"><tt>QAction</tt></a> has been created it should be added to the relevant menu and toolbar, then connected to the slot which will perform the action. For example:</p>
<pre>        openAct = new QAction(QIcon(&quot;:/images/open.png&quot;), tr(&quot;&amp;Open...&quot;), this);
        openAct-&gt;setShortcut(tr(&quot;Ctrl+O&quot;));
        openAct-&gt;setStatusTip(tr(&quot;Open an existing file&quot;));
        connect(openAct, SIGNAL(triggered()), this, SLOT(open()));

        fileMenu-&gt;addAction(openAct);
        fileToolBar-&gt;addAction(openAct);</pre>
<p>We recommend that actions are created as children of the window they are used in. In most cases actions will be children of the application's main window.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="QMenu.html"><tt>QMenu</tt></a>, 
<a href="QToolBar.html"><tt>QToolBar</tt></a>, 
<a href="%2E%2E/qtjambi-application.html">Application Example</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/QAction.ActionEvent.html" title="enum in com.trolltech.qt.gui">QAction.ActionEvent</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum type is used when calling QAction.:activate()</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/QAction.MenuRole.html" title="enum in com.trolltech.qt.gui">QAction.MenuRole</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes how an action should be moved into the application menu on Mac OS X.</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.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QAction.html#changed">changed</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted when an action has changed.</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/QAction.html#hovered">hovered</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted when an action is highlighted by the user; for example, when the user pauses with the cursor over a menu option, toolbar button, or presses an action's shortcut key combination.</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;java.lang.Boolean&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QAction.html#toggled">toggled</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted whenever a checkable action changes its <a href="QAction.html#isChecked()"><tt>isChecked</tt></a> status.</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;java.lang.Boolean&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QAction.html#triggered">triggered</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted when an action is activated by the user; for example, when the user clicks a menu option, toolbar button, or presses an action's shortcut key combination, or when <a href="QAction.html#trigger()"><tt>trigger</tt></a> was called.</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/QAction.html#QAction(com.trolltech.qt.gui.QIcon, java.lang.String, com.trolltech.qt.core.QObject)">QAction</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A>&nbsp;icon,
        java.lang.String&nbsp;text,
        <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an action with an <tt>icon</tt> and some <tt>text</tt> and <tt>parent</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QAction.html#QAction(com.trolltech.qt.core.QObject)">QAction</A></B>(<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an action with <tt>parent</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QAction.html#QAction(java.lang.String, com.trolltech.qt.core.QObject)">QAction</A></B>(java.lang.String&nbsp;text,
        <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an action with some <tt>text</tt> and <tt>parent</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>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QActionGroup.html" title="class in com.trolltech.qt.gui">QActionGroup</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QAction.html#actionGroup()">actionGroup</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the action group for this action.</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/QAction.html#activate(com.trolltech.qt.gui.QAction.ActionEvent)">activate</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QAction.ActionEvent.html" title="enum in com.trolltech.qt.gui">QAction.ActionEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sends the relevant signals for <a href="QAction.html#ActionEvent-enum"><tt>ActionEvent</tt></a> <tt>event</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&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/QAction.html#associatedWidgets()">associatedWidgets</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of widgets this action has been added to.</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/QAction.html#autoRepeat()">autoRepeat</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the action can auto repeat.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QAction.html#data()">data</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the user data as set in QAction::setData.</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/QAction.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>&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/QAction.html#font()">font</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the action's 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/QAction.html" title="class in com.trolltech.qt.gui">QAction</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QAction.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 QAction instance pointed to by nativePointer</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/QAction.html#hover()">hover</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a convenience slot that calls activate(Hover).</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/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QAction.html#icon()">icon</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the action's icon.</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/QAction.html#iconText()">iconText</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the action's descriptive icon text.</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/QAction.html#isCheckable()">isCheckable</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the action is a checkable action.</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/QAction.html#isChecked()">isChecked</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the action is checked..</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/QAction.html#isEnabled()">isEnabled</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the action is enabled.</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/QAction.html#isSeparator()">isSeparator</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this action is a separator action; otherwise it 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/QAction.html#isVisible()">isVisible</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the action can be seen (e.g&#x2e; in menus and toolbars).</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/QMenu.html" title="class in com.trolltech.qt.gui">QMenu</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QAction.html#menu()">menu</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the menu contained by this action.</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/QAction.MenuRole.html" title="enum in com.trolltech.qt.gui">QAction.MenuRole</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QAction.html#menuRole()">menuRole</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the action's menu role.</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/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QAction.html#parentWidget()">parentWidget</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the parent widget.</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/QAction.html#setActionGroup(com.trolltech.qt.gui.QActionGroup)">setActionGroup</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QActionGroup.html" title="class in com.trolltech.qt.gui">QActionGroup</A>&nbsp;group)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this action group to <tt>group</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/QAction.html#setAutoRepeat(boolean)">setAutoRepeat</A></B>(boolean&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether the action can auto repeat 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/QAction.html#setCheckable(boolean)">setCheckable</A></B>(boolean&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether the action is a checkable action 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/QAction.html#setChecked(boolean)">setChecked</A></B>(boolean&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether the action is checked.</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/QAction.html#setData(java.lang.Object)">setData</A></B>(java.lang.Object&nbsp;var)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the action's internal data to the given <tt>var</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/QAction.html#setDisabled(boolean)">setDisabled</A></B>(boolean&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a convenience function for the enabled</tt> property, that is useful for signals--slots connections.</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/QAction.html#setEnabled(boolean)">setEnabled</A></B>(boolean&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether the action is enabled 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/QAction.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;Sets the action's font to <tt>font</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/QAction.html#setIcon(com.trolltech.qt.gui.QIcon)">setIcon</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 action's icon to <tt>icon</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/QAction.html#setIcon(com.trolltech.qt.gui.QPixmap)">setIcon</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this QAction's icon to <tt>pm</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/QAction.html#setIconText(java.lang.String)">setIconText</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the action's descriptive icon text to <tt>text</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/QAction.html#setMenu(com.trolltech.qt.gui.QMenu)">setMenu</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QMenu.html" title="class in com.trolltech.qt.gui">QMenu</A>&nbsp;menu)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the menu contained by this action to the specified <tt>menu</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/QAction.html#setMenuRole(com.trolltech.qt.gui.QAction.MenuRole)">setMenuRole</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QAction.MenuRole.html" title="enum in com.trolltech.qt.gui">QAction.MenuRole</A>&nbsp;menuRole)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the action's menu role to <tt>menuRole</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/QAction.html#setSeparator(boolean)">setSeparator</A></B>(boolean&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If <tt>b</tt> is true then this action will be considered a separator.</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/QAction.html#setShortcut(com.trolltech.qt.gui.QKeySequence.StandardKey)">setShortcut</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QKeySequence.StandardKey.html" title="enum in com.trolltech.qt.gui">QKeySequence.StandardKey</A>&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the shortcut to the key sequence for the given key.</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/QAction.html#setShortcut(com.trolltech.qt.gui.QKeySequence)">setShortcut</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QKeySequence.html" title="class in com.trolltech.qt.gui">QKeySequence</A>&nbsp;shortcut)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the action's primary shortcut key to <tt>shortcut</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/QAction.html#setShortcut(java.lang.String)">setShortcut</A></B>(java.lang.String&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the shortcut to the key sequence for the given key string.</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/QAction.html#setShortcutContext(com.trolltech.qt.core.Qt.ShortcutContext)">setShortcutContext</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.ShortcutContext.html" title="enum in com.trolltech.qt.core">Qt.ShortcutContext</A>&nbsp;context)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the context for the action's shortcut to <tt>context</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/QAction.html#setShortcuts(java.util.List)">setShortcuts</A></B>(java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QKeySequence.html" title="class in com.trolltech.qt.gui">QKeySequence</A>&gt;&nbsp;shortcuts)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets <tt>shortcuts</tt> as the list of shortcuts that trigger the action.</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/QAction.html#setShortcuts(com.trolltech.qt.gui.QKeySequence.StandardKey)">setShortcuts</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QKeySequence.StandardKey.html" title="enum in com.trolltech.qt.gui">QKeySequence.StandardKey</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a platform dependent list of shortcuts based on the <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/QAction.html#setStatusTip(java.lang.String)">setStatusTip</A></B>(java.lang.String&nbsp;statusTip)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the action's status tip to <tt>statusTip</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/QAction.html#setText(java.lang.String)">setText</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the action's descriptive text to <tt>text</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/QAction.html#setToolTip(java.lang.String)">setToolTip</A></B>(java.lang.String&nbsp;tip)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the action's tooltip to <tt>tip</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/QAction.html#setVisible(boolean)">setVisible</A></B>(boolean&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether the action can be seen (e.g&#x2e; in menus and toolbars) 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/QAction.html#setWhatsThis(java.lang.String)">setWhatsThis</A></B>(java.lang.String&nbsp;what)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the action's &quot;What's This?&quot; help text to <tt>what</tt>.</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/QKeySequence.html" title="class in com.trolltech.qt.gui">QKeySequence</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QAction.html#shortcut()">shortcut</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the action's primary shortcut key.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/Qt.ShortcutContext.html" title="enum in com.trolltech.qt.core">Qt.ShortcutContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QAction.html#shortcutContext()">shortcutContext</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the context for the action's shortcut.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QKeySequence.html" title="class in com.trolltech.qt.gui">QKeySequence</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QAction.html#shortcuts()">shortcuts</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the list of shortcuts, with the primary shortcut as the first element of the list.</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/QAction.html#showStatusText()">showStatusText</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QAction.html#showStatusText(com.trolltech.qt.gui.QWidget)"><tt>showStatusText</tt></a>(0).</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/QAction.html#showStatusText(com.trolltech.qt.gui.QWidget)">showStatusText</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;Updates the relevant status bar for the <tt>widget</tt> specified by sending a <a href="QStatusTipEvent.html"><tt>QStatusTipEvent</tt></a> to its parent widget.</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/QAction.html#statusTip()">statusTip</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the action's status tip.</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/QAction.html#text()">text</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the action's descriptive text.</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/QAction.html#toggle()">toggle</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a convenience function for the checked</tt> property.</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/QAction.html#toolTip()">toolTip</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the action's tooltip.</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/QAction.html#trigger()">trigger</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a convenience slot that calls activate(Trigger).</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/QAction.html#whatsThis()">whatsThis</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the action's &quot;What's This?&quot; help text.</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#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD>
</TR>
</TABLE>
&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="changed"><!-- --></A><H3>
changed</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A> <B>changed</B></PRE>
<DL>
<DD><p>This signal is emitted when an action has changed. If you are only interested in actions in a given widget, you can watch for QWidget::actionEvent() sent with an QEvent::ActionChanged.</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::actionEvent</tt></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="hovered"><!-- --></A><H3>
hovered</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A> <B>hovered</B></PRE>
<DL>
<DD><p>This signal is emitted when an action is highlighted by the user; for example, when the user pauses with the cursor over a menu option, toolbar button, or presses an action's shortcut key combination.</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>QAction::activate</tt></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="toggled"><!-- --></A><H3>
toggled</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;java.lang.Boolean&gt; <B>toggled</B></PRE>
<DL>
<DD><p>This signal is emitted whenever a checkable action changes its <a href="QAction.html#isChecked()"><tt>isChecked</tt></a> status. This can be the result of a user interaction, or because <a href="QAction.html#setChecked(boolean)"><tt>setChecked</tt></a> was called.</p>
<p><tt>arg__1</tt> is true if the action is checked, or false if the action is unchecked.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(boolean arg__1)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><tt>QAction::activate</tt>, <tt>QAction::triggered</tt>, checked</tt></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="triggered"><!-- --></A><H3>
triggered</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;java.lang.Boolean&gt; <B>triggered</B></PRE>
<DL>
<DD><p>This signal is emitted when an action is activated by the user; for example, when the user clicks a menu option, toolbar button, or presses an action's shortcut key combination, or when <a href="QAction.html#trigger()"><tt>trigger</tt></a> was called. Notably, it is <i>not</i> emitted when <a href="QAction.html#setChecked(boolean)"><tt>setChecked</tt></a> or <a href="QAction.html#toggle()"><tt>toggle</tt></a> is called.</p>
<p>If the action is checkable, <tt>checked</tt> is true if the action is checked, or false if the action is unchecked.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(boolean checked)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><tt>QAction::activate</tt>, <tt>QAction::toggled</tt>, checked</tt></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="QAction(com.trolltech.qt.core.QObject)"><!-- --></A><H3>
QAction</H3>
<PRE>
public <B>QAction</B>(<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</PRE>
<DL>
<DD><p>Constructs an action with <tt>parent</tt>. If <tt>parent</tt> is an action group the action will be automatically inserted into the group.</p>
<P>
</DL>
<HR>

<A NAME="QAction(java.lang.String, com.trolltech.qt.core.QObject)"><!-- --></A><H3>
QAction</H3>
<PRE>
public <B>QAction</B>(java.lang.String&nbsp;text,
               <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</PRE>
<DL>
<DD><p>Constructs an action with some <tt>text</tt> and <tt>parent</tt>. If <tt>parent</tt> is an action group the action will be automatically inserted into the group.</p>
<p>The action uses a stripped version of <tt>text</tt> (e.g&#x2e; &quot;&amp;Menu Option..&#x2e;&quot; becomes &quot;Menu Option&quot;) as descriptive text for tool buttons. You can override this by setting a specific description with <a href="QAction.html#setText(java.lang.String)"><tt>setText</tt></a>. The same text will be used for tooltips unless you specify a different text using <a href="QAction.html#setToolTip(java.lang.String)"><tt>setToolTip</tt></a>.</p>
<P>
</DL>
<HR>

<A NAME="QAction(com.trolltech.qt.gui.QIcon, java.lang.String, com.trolltech.qt.core.QObject)"><!-- --></A><H3>
QAction</H3>
<PRE>
public <B>QAction</B>(<A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A>&nbsp;icon,
               java.lang.String&nbsp;text,
               <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</PRE>
<DL>
<DD><p>Constructs an action with an <tt>icon</tt> and some <tt>text</tt> and <tt>parent</tt>. If <tt>parent</tt> is an action group the action will be automatically inserted into the group.</p>
<p>The action uses a stripped version of <tt>text</tt> (e.g&#x2e; &quot;&amp;Menu Option..&#x2e;&quot; becomes &quot;Menu Option&quot;) as descriptive text for tool buttons. You can override this by setting a specific description with <a href="QAction.html#setText(java.lang.String)"><tt>setText</tt></a>. The same text will be used for tooltips unless you specify a different text using <a href="QAction.html#setToolTip(java.lang.String)"><tt>setToolTip</tt></a>.</p>
<P>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="actionGroup()"><!-- --></A><H3>
actionGroup</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QActionGroup.html" title="class in com.trolltech.qt.gui">QActionGroup</A> <B>actionGroup</B>()</PRE>
<DL>
<DD><p>Returns the action group for this action. If no action group manages this action then 0 will be returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QActionGroup.html"><tt>QActionGroup</tt></a>, 
<tt>QAction::setActionGroup</tt></DL>
</DD>
</DL>
<HR>

<A NAME="activate(com.trolltech.qt.gui.QAction.ActionEvent)"><!-- --></A><H3>
activate</H3>
<PRE>
public final void <B>activate</B>(<A HREF="../../../../com/trolltech/qt/gui/QAction.ActionEvent.html" title="enum in com.trolltech.qt.gui">QAction.ActionEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>Sends the relevant signals for <a href="QAction.html#ActionEvent-enum"><tt>ActionEvent</tt></a> <tt>event</tt>.</p>
<p>Action based widgets use this API to cause the <a href="QAction.html#QAction(com.trolltech.qt.gui.QIcon, java.lang.String, com.trolltech.qt.core.QObject)"><tt>QAction</tt></a> to emit signals as well as emitting their own.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="associatedWidgets()"><!-- --></A><H3>
associatedWidgets</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&gt; <B>associatedWidgets</B>()</PRE>
<DL>
<DD><p>Returns a list of widgets this action has been added to.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QWidget::addAction</tt></DL>
</DD>
</DL>
<HR>

<A NAME="autoRepeat()"><!-- --></A><H3>
autoRepeat</H3>
<PRE>
public final boolean <B>autoRepeat</B>()</PRE>
<DL>
<DD><p>Returns whether the action can auto repeat.</p>
<p>If true, the action will auto repeat when the keyboard shortcut combination is held down, provided that keyboard auto repeat is enabled on the system. The default value is true.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#setAutoRepeat(boolean)"><tt>setAutoRepeat</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="data()"><!-- --></A><H3>
data</H3>
<PRE>
public final java.lang.Object <B>data</B>()</PRE>
<DL>
<DD><p>Returns the user data as set in QAction::setData.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#setData(java.lang.Object)"><tt>setData</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="font()"><!-- --></A><H3>
font</H3>
<PRE>
public final <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 action's font.</p>
<p>The font property is used to render the text set on the <a href="QAction.html#QAction(com.trolltech.qt.gui.QIcon, java.lang.String, com.trolltech.qt.core.QObject)"><tt>QAction</tt></a>. The font will can be considered a hint as it will not be consulted in all cases based upon application and style.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#setFont(com.trolltech.qt.gui.QFont)"><tt>setFont</tt></a>, 
<tt>QAction::setText</tt>, 
<a href="QStyle.html"><tt>QStyle</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hover()"><!-- --></A><H3>
hover</H3>
<PRE>
public final void <B>hover</B>()</PRE>
<DL>
<DD><p>This is a convenience slot that calls activate(Hover).</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="icon()"><!-- --></A><H3>
icon</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A> <B>icon</B>()</PRE>
<DL>
<DD><p>Returns the action's icon.</p>
<p>In toolbars, the icon is used as the tool button icon; in menus, it is displayed to the left of the menu text. There is no default icon.</p>
<p>If a null icon (QIcon::isNull() is passed into this function, the icon of the action is cleared.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#setIcon(com.trolltech.qt.gui.QIcon)"><tt>setIcon</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="iconText()"><!-- --></A><H3>
iconText</H3>
<PRE>
public final java.lang.String <B>iconText</B>()</PRE>
<DL>
<DD><p>Returns the action's descriptive icon text.</p>
<p>If QToolBar::toolButtonStyle is set to a value that permits text to be displayed, the text defined held in this property appears as a label in the relevant tool button.</p>
<p>It also serves as the default text in menus and tooltips if the action has not been defined with <a href="QAction.html#setText(java.lang.String)"><tt>setText</tt></a> or <a href="QAction.html#setToolTip(java.lang.String)"><tt>setToolTip</tt></a>, and will also be used in toolbar buttons if no icon has been defined using <a href="QAction.html#setIcon(com.trolltech.qt.gui.QIcon)"><tt>setIcon</tt></a>.</p>
<p>If the icon text is not explicitly set, the action's normal text will be used for the icon text.</p>
<p>There is no default icon text.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#setIconText(java.lang.String)"><tt>setIconText</tt></a>, 
<a href="QAction.html#setToolTip(java.lang.String)"><tt>setToolTip</tt></a>, 
<a href="QAction.html#setStatusTip(java.lang.String)"><tt>setStatusTip</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isCheckable()"><!-- --></A><H3>
isCheckable</H3>
<PRE>
public final boolean <B>isCheckable</B>()</PRE>
<DL>
<DD><p>Returns whether the action is a checkable action.</p>
<p>A checkable action is one which has an on/off state. For example, in a word processor, a Bold toolbar button may be either on or off. An action which is not a toggle action is a command action; a command action is simply executed, e.g&#x2e; file save. By default, this property is false.</p>
<p>In some situations, the state of one toggle action should depend on the state of others. For example, &quot;Left Align&quot;, &quot;Center&quot; and &quot;Right Align&quot; toggle actions are mutually exclusive. To achieve exclusive toggling, add the relevant toggle actions to a <a href="QActionGroup.html"><tt>QActionGroup</tt></a> with the QActionGroup::exclusive property set to true.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QAction::setChecked</tt></DL>
</DD>
</DL>
<HR>

<A NAME="isChecked()"><!-- --></A><H3>
isChecked</H3>
<PRE>
public final boolean <B>isChecked</B>()</PRE>
<DL>
<DD><p>Returns whether the action is checked..</p>
<p>Only checkable actions can be checked. By default, this is false (the action is unchecked).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><CODE>checkable</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="isEnabled()"><!-- --></A><H3>
isEnabled</H3>
<PRE>
public final boolean <B>isEnabled</B>()</PRE>
<DL>
<DD><p>Returns whether the action is enabled.</p>
<p>Disabled actions cannot be chosen by the user. They do not disappear from menus or toolbars, but they are displayed in a way which indicates that they are unavailable. For example, they might be displayed using only shades of gray.</p>
<p>What's this? help on disabled actions is still available, provided that the QAction::whatsThis property is set.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isSeparator()"><!-- --></A><H3>
isSeparator</H3>
<PRE>
public final boolean <B>isSeparator</B>()</PRE>
<DL>
<DD><p>Returns true if this action is a separator action; otherwise it returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QAction::setSeparator</tt></DL>
</DD>
</DL>
<HR>

<A NAME="isVisible()"><!-- --></A><H3>
isVisible</H3>
<PRE>
public final boolean <B>isVisible</B>()</PRE>
<DL>
<DD><p>Returns whether the action can be seen (e.g&#x2e; in menus and toolbars).</p>
<p>If <i>visible</i> is true the action can be seen (e.g&#x2e; in menus and toolbars) and chosen by the user; if <i>visible</i> is false the action cannot be seen or chosen by the user.</p>
<p>Actions which are not visible are <i>not</i> grayed out; they do not appear at all.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="menu()"><!-- --></A><H3>
menu</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QMenu.html" title="class in com.trolltech.qt.gui">QMenu</A> <B>menu</B>()</PRE>
<DL>
<DD><p>Returns the menu contained by this action. Actions that contain menus can be used to create menu items with submenus, or inserted into toolbars to create buttons with popup menus.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#setMenu(com.trolltech.qt.gui.QMenu)"><tt>setMenu</tt></a>, 
<tt>QMenu::addAction</tt></DL>
</DD>
</DL>
<HR>

<A NAME="menuRole()"><!-- --></A><H3>
menuRole</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QAction.MenuRole.html" title="enum in com.trolltech.qt.gui">QAction.MenuRole</A> <B>menuRole</B>()</PRE>
<DL>
<DD><p>Returns the action's menu role.</p>
<p>This indicates what role the action serves in the application menu on Mac OS X. By default all action have the <a href="QAction.html#MenuRole-enum"><tt>TextHeuristicRole</tt></a>, which means that the action is added based on its text (see <a href="QMenuBar.html"><tt>QMenuBar</tt></a> for more information).</p>
<p>The menu role can only be changed before the actions are put into the menu bar in Mac OS X (usually just before the first application window is shown).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#setMenuRole(com.trolltech.qt.gui.QAction.MenuRole)"><tt>setMenuRole</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="parentWidget()"><!-- --></A><H3>
parentWidget</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>parentWidget</B>()</PRE>
<DL>
<DD><p>Returns the parent widget.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setActionGroup(com.trolltech.qt.gui.QActionGroup)"><!-- --></A><H3>
setActionGroup</H3>
<PRE>
public final void <B>setActionGroup</B>(<A HREF="../../../../com/trolltech/qt/gui/QActionGroup.html" title="class in com.trolltech.qt.gui">QActionGroup</A>&nbsp;group)</PRE>
<DL>
<DD><p>Sets this action group to <tt>group</tt>. The action will be automatically added to the group's list of actions.</p>
<p>Actions within the group will be mutually exclusive.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QActionGroup.html"><tt>QActionGroup</tt></a>, 
<tt>QAction::actionGroup</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setAutoRepeat(boolean)"><!-- --></A><H3>
setAutoRepeat</H3>
<PRE>
public final void <B>setAutoRepeat</B>(boolean&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets whether the action can auto repeat to <tt>arg__1</tt>.</p>
<p>If true, the action will auto repeat when the keyboard shortcut combination is held down, provided that keyboard auto repeat is enabled on the system. The default value is true.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#autoRepeat()"><tt>autoRepeat</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setCheckable(boolean)"><!-- --></A><H3>
setCheckable</H3>
<PRE>
public final void <B>setCheckable</B>(boolean&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets whether the action is a checkable action to <tt>arg__1</tt>.</p>
<p>A checkable action is one which has an on/off state. For example, in a word processor, a Bold toolbar button may be either on or off. An action which is not a toggle action is a command action; a command action is simply executed, e.g&#x2e; file save. By default, this property is false.</p>
<p>In some situations, the state of one toggle action should depend on the state of others. For example, &quot;Left Align&quot;, &quot;Center&quot; and &quot;Right Align&quot; toggle actions are mutually exclusive. To achieve exclusive toggling, add the relevant toggle actions to a <a href="QActionGroup.html"><tt>QActionGroup</tt></a> with the QActionGroup::exclusive property set to true.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#isCheckable()"><tt>isCheckable</tt></a>, 
<tt>QAction::setChecked</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setChecked(boolean)"><!-- --></A><H3>
setChecked</H3>
<PRE>
public final void <B>setChecked</B>(boolean&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets whether the action is checked. to <tt>arg__1</tt>.</p>
<p>Only checkable actions can be checked. By default, this is false (the action is unchecked).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#isChecked()"><tt>isChecked</tt></a>, 
<CODE>checkable</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setData(java.lang.Object)"><!-- --></A><H3>
setData</H3>
<PRE>
public final void <B>setData</B>(java.lang.Object&nbsp;var)</PRE>
<DL>
<DD><p>Sets the action's internal data to the given <tt>var</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#data()"><tt>data</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setDisabled(boolean)"><!-- --></A><H3>
setDisabled</H3>
<PRE>
public final void <B>setDisabled</B>(boolean&nbsp;b)</PRE>
<DL>
<DD><p>This is a convenience function for the enabled</tt> property, that is useful for signals--slots connections. If <tt>b</tt> is true the action is disabled; otherwise it is enabled.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setEnabled(boolean)"><!-- --></A><H3>
setEnabled</H3>
<PRE>
public final void <B>setEnabled</B>(boolean&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets whether the action is enabled to <tt>arg__1</tt>.</p>
<p>Disabled actions cannot be chosen by the user. They do not disappear from menus or toolbars, but they are displayed in a way which indicates that they are unavailable. For example, they might be displayed using only shades of gray.</p>
<p>What's this? help on disabled actions is still available, provided that the QAction::whatsThis property is set.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#isEnabled()"><tt>isEnabled</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFont(com.trolltech.qt.gui.QFont)"><!-- --></A><H3>
setFont</H3>
<PRE>
public final 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><p>Sets the action's font to <tt>font</tt>.</p>
<p>The font property is used to render the text set on the <a href="QAction.html#QAction(com.trolltech.qt.gui.QIcon, java.lang.String, com.trolltech.qt.core.QObject)"><tt>QAction</tt></a>. The font will can be considered a hint as it will not be consulted in all cases based upon application and style.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#font()"><tt>font</tt></a>, 
<tt>QAction::setText</tt>, 
<a href="QStyle.html"><tt>QStyle</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setIcon(com.trolltech.qt.gui.QIcon)"><!-- --></A><H3>
setIcon</H3>
<PRE>
public final void <B>setIcon</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 action's icon to <tt>icon</tt>.</p>
<p>In toolbars, the icon is used as the tool button icon; in menus, it is displayed to the left of the menu text. There is no default icon.</p>
<p>If a null icon (QIcon::isNull() is passed into this function, the icon of the action is cleared.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#icon()"><tt>icon</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setIconText(java.lang.String)"><!-- --></A><H3>
setIconText</H3>
<PRE>
public final void <B>setIconText</B>(java.lang.String&nbsp;text)</PRE>
<DL>
<DD><p>Sets the action's descriptive icon text to <tt>text</tt>.</p>
<p>If QToolBar::toolButtonStyle is set to a value that permits text to be displayed, the text defined held in this property appears as a label in the relevant tool button.</p>
<p>It also serves as the default text in menus and tooltips if the action has not been defined with <a href="QAction.html#setText(java.lang.String)"><tt>setText</tt></a> or <a href="QAction.html#setToolTip(java.lang.String)"><tt>setToolTip</tt></a>, and will also be used in toolbar buttons if no icon has been defined using <a href="QAction.html#setIcon(com.trolltech.qt.gui.QIcon)"><tt>setIcon</tt></a>.</p>
<p>If the icon text is not explicitly set, the action's normal text will be used for the icon text.</p>
<p>There is no default icon text.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#iconText()"><tt>iconText</tt></a>, 
<a href="QAction.html#setToolTip(java.lang.String)"><tt>setToolTip</tt></a>, 
<a href="QAction.html#setStatusTip(java.lang.String)"><tt>setStatusTip</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setMenu(com.trolltech.qt.gui.QMenu)"><!-- --></A><H3>
setMenu</H3>
<PRE>
public final void <B>setMenu</B>(<A HREF="../../../../com/trolltech/qt/gui/QMenu.html" title="class in com.trolltech.qt.gui">QMenu</A>&nbsp;menu)</PRE>
<DL>
<DD><p>Sets the menu contained by this action to the specified <tt>menu</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#menu()"><tt>menu</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setMenuRole(com.trolltech.qt.gui.QAction.MenuRole)"><!-- --></A><H3>
setMenuRole</H3>
<PRE>
public final void <B>setMenuRole</B>(<A HREF="../../../../com/trolltech/qt/gui/QAction.MenuRole.html" title="enum in com.trolltech.qt.gui">QAction.MenuRole</A>&nbsp;menuRole)</PRE>
<DL>
<DD><p>Sets the action's menu role to <tt>menuRole</tt>.</p>
<p>This indicates what role the action serves in the application menu on Mac OS X. By default all action have the <a href="QAction.html#MenuRole-enum"><tt>TextHeuristicRole</tt></a>, which means that the action is added based on its text (see <a href="QMenuBar.html"><tt>QMenuBar</tt></a> for more information).</p>
<p>The menu role can only be changed before the actions are put into the menu bar in Mac OS X (usually just before the first application window is shown).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#menuRole()"><tt>menuRole</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setSeparator(boolean)"><!-- --></A><H3>
setSeparator</H3>
<PRE>
public final void <B>setSeparator</B>(boolean&nbsp;b)</PRE>
<DL>
<DD><p>If <tt>b</tt> is true then this action will be considered a separator.</p>
<p>How a separator is represented depends on the widget it is inserted into. Under most circumstances the text, submenu, and icon will be ignored for separator actions.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QAction::isSeparator</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setShortcut(com.trolltech.qt.gui.QKeySequence)"><!-- --></A><H3>
setShortcut</H3>
<PRE>
public final void <B>setShortcut</B>(<A HREF="../../../../com/trolltech/qt/gui/QKeySequence.html" title="class in com.trolltech.qt.gui">QKeySequence</A>&nbsp;shortcut)</PRE>
<DL>
<DD><p>Sets the action's primary shortcut key to <tt>shortcut</tt>.</p>
<p>Valid keycodes for this property can be found in Qt::Key</tt> and Qt::Modifier</tt>. There is no default shortcut key.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#shortcut()"><tt>shortcut</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setShortcutContext(com.trolltech.qt.core.Qt.ShortcutContext)"><!-- --></A><H3>
setShortcutContext</H3>
<PRE>
public final void <B>setShortcutContext</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.ShortcutContext.html" title="enum in com.trolltech.qt.core">Qt.ShortcutContext</A>&nbsp;context)</PRE>
<DL>
<DD><p>Sets the context for the action's shortcut to <tt>context</tt>.</p>
<p>Valid values for this property can be found in <tt>Qt::ShortcutContext</tt>. The default value is Qt::WindowShortcut.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#shortcutContext()"><tt>shortcutContext</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setShortcuts(java.util.List)"><!-- --></A><H3>
setShortcuts</H3>
<PRE>
public final void <B>setShortcuts</B>(java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QKeySequence.html" title="class in com.trolltech.qt.gui">QKeySequence</A>&gt;&nbsp;shortcuts)</PRE>
<DL>
<DD><p>Sets <tt>shortcuts</tt> as the list of shortcuts that trigger the action. The first element of the list is the primary shortcut.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#shortcuts()"><tt>shortcuts</tt></a>, 
<a href="QAction.html#shortcut()">shortcut</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setShortcuts(com.trolltech.qt.gui.QKeySequence.StandardKey)"><!-- --></A><H3>
setShortcuts</H3>
<PRE>
public final void <B>setShortcuts</B>(<A HREF="../../../../com/trolltech/qt/gui/QKeySequence.StandardKey.html" title="enum in com.trolltech.qt.gui">QKeySequence.StandardKey</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets a platform dependent list of shortcuts based on the <tt>arg__1</tt>. The result of calling this function will depend on the currently running platform. Note that more than one shortcut can assigned by this action. If only the primary shortcut is required, use <a href="QAction.html#setShortcut(com.trolltech.qt.gui.QKeySequence)"><tt>setShortcut</tt></a> instead.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QKeySequence::keyBindings</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setStatusTip(java.lang.String)"><!-- --></A><H3>
setStatusTip</H3>
<PRE>
public final void <B>setStatusTip</B>(java.lang.String&nbsp;statusTip)</PRE>
<DL>
<DD><p>Sets the action's status tip to <tt>statusTip</tt>.</p>
<p>The status tip is displayed on all status bars provided by the action's top-level parent widget.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#statusTip()"><tt>statusTip</tt></a>, 
<a href="QAction.html#setToolTip(java.lang.String)"><tt>setToolTip</tt></a>, 
<a href="QAction.html#showStatusText(com.trolltech.qt.gui.QWidget)"><tt>showStatusText</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setText(java.lang.String)"><!-- --></A><H3>
setText</H3>
<PRE>
public final void <B>setText</B>(java.lang.String&nbsp;text)</PRE>
<DL>
<DD><p>Sets the action's descriptive text to <tt>text</tt>.</p>
<p>If the action is added to a menu, the menu option will consist of the icon (if there is one), the text, and the shortcut (if there is one). If the text is not explicitly set in the constructor, or by using <a href="QAction.html#setText(java.lang.String)"><tt>setText</tt></a>, the action's description icon text will be used as text. There is no default text.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#text()"><tt>text</tt></a>, 
<a href="QAction.html#iconText()"><tt>iconText</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setToolTip(java.lang.String)"><!-- --></A><H3>
setToolTip</H3>
<PRE>
public final void <B>setToolTip</B>(java.lang.String&nbsp;tip)</PRE>
<DL>
<DD><p>Sets the action's tooltip to <tt>tip</tt>.</p>
<p>This text is used for the tooltip. If no tooltip is specified, the action's text is used.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#toolTip()"><tt>toolTip</tt></a>, 
<a href="QAction.html#setStatusTip(java.lang.String)"><tt>setStatusTip</tt></a>, 
<a href="QAction.html#setShortcut(com.trolltech.qt.gui.QKeySequence)"><tt>setShortcut</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setVisible(boolean)"><!-- --></A><H3>
setVisible</H3>
<PRE>
public final void <B>setVisible</B>(boolean&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets whether the action can be seen (e.g&#x2e; in menus and toolbars) to <tt>arg__1</tt>.</p>
<p>If <i>visible</i> is true the action can be seen (e.g&#x2e; in menus and toolbars) and chosen by the user; if <i>visible</i> is false the action cannot be seen or chosen by the user.</p>
<p>Actions which are not visible are <i>not</i> grayed out; they do not appear at all.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#isVisible()"><tt>isVisible</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setWhatsThis(java.lang.String)"><!-- --></A><H3>
setWhatsThis</H3>
<PRE>
public final void <B>setWhatsThis</B>(java.lang.String&nbsp;what)</PRE>
<DL>
<DD><p>Sets the action's &quot;What's This?&quot; help text to <tt>what</tt>.</p>
<p>The &quot;What's This?&quot; text is used to provide a brief description of the action. The text may contain rich text. There is no default &quot;What's This?&quot; text.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#whatsThis()"><tt>whatsThis</tt></a>, 
<a href="QWhatsThis.html"><tt>QWhatsThis</tt></a>, 
<a href="%2E%2E/porting4.html#qstylesheet"><tt>QStyleSheet</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="shortcut()"><!-- --></A><H3>
shortcut</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QKeySequence.html" title="class in com.trolltech.qt.gui">QKeySequence</A> <B>shortcut</B>()</PRE>
<DL>
<DD><p>Returns the action's primary shortcut key.</p>
<p>Valid keycodes for this property can be found in Qt::Key</tt> and Qt::Modifier</tt>. There is no default shortcut key.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#setShortcut(com.trolltech.qt.gui.QKeySequence)"><tt>setShortcut</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="shortcutContext()"><!-- --></A><H3>
shortcutContext</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/Qt.ShortcutContext.html" title="enum in com.trolltech.qt.core">Qt.ShortcutContext</A> <B>shortcutContext</B>()</PRE>
<DL>
<DD><p>Returns the context for the action's shortcut.</p>
<p>Valid values for this property can be found in <tt>Qt::ShortcutContext</tt>. The default value is Qt::WindowShortcut.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#setShortcutContext(com.trolltech.qt.core.Qt.ShortcutContext)"><tt>setShortcutContext</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="shortcuts()"><!-- --></A><H3>
shortcuts</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QKeySequence.html" title="class in com.trolltech.qt.gui">QKeySequence</A>&gt; <B>shortcuts</B>()</PRE>
<DL>
<DD><p>Returns the list of shortcuts, with the primary shortcut as the first element of the list.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#setShortcuts(java.util.List<com.trolltech.qt.gui.QKeySequence>)"><tt>setShortcuts</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="showStatusText()"><!-- --></A><H3>
showStatusText</H3>
<PRE>
public final boolean <B>showStatusText</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QAction.html#showStatusText(com.trolltech.qt.gui.QWidget)"><tt>showStatusText</tt></a>(0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="showStatusText(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
showStatusText</H3>
<PRE>
public final boolean <B>showStatusText</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</PRE>
<DL>
<DD><p>Updates the relevant status bar for the <tt>widget</tt> specified by sending a <a href="QStatusTipEvent.html"><tt>QStatusTipEvent</tt></a> to its parent widget. Returns true if an event was sent; otherwise returns false.</p>
<p>If a null widget is specified, the event is sent to the action's parent.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#statusTip()"><tt>statusTip</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="statusTip()"><!-- --></A><H3>
statusTip</H3>
<PRE>
public final java.lang.String <B>statusTip</B>()</PRE>
<DL>
<DD><p>Returns the action's status tip.</p>
<p>The status tip is displayed on all status bars provided by the action's top-level parent widget.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#setStatusTip(java.lang.String)"><tt>setStatusTip</tt></a>, 
<a href="QAction.html#setToolTip(java.lang.String)"><tt>setToolTip</tt></a>, 
<a href="QAction.html#showStatusText(com.trolltech.qt.gui.QWidget)"><tt>showStatusText</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="text()"><!-- --></A><H3>
text</H3>
<PRE>
public final java.lang.String <B>text</B>()</PRE>
<DL>
<DD><p>Returns the action's descriptive text.</p>
<p>If the action is added to a menu, the menu option will consist of the icon (if there is one), the text, and the shortcut (if there is one). If the text is not explicitly set in the constructor, or by using <a href="QAction.html#setText(java.lang.String)"><tt>setText</tt></a>, the action's description icon text will be used as text. There is no default text.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#setText(java.lang.String)"><tt>setText</tt></a>, 
<a href="QAction.html#iconText()"><tt>iconText</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="toggle()"><!-- --></A><H3>
toggle</H3>
<PRE>
public final void <B>toggle</B>()</PRE>
<DL>
<DD><p>This is a convenience function for the checked</tt> property. Connect to it to change the checked state to its opposite state.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="toolTip()"><!-- --></A><H3>
toolTip</H3>
<PRE>
public final java.lang.String <B>toolTip</B>()</PRE>
<DL>
<DD><p>Returns the action's tooltip.</p>
<p>This text is used for the tooltip. If no tooltip is specified, the action's text is used.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#setToolTip(java.lang.String)"><tt>setToolTip</tt></a>, 
<a href="QAction.html#setStatusTip(java.lang.String)"><tt>setStatusTip</tt></a>, 
<a href="QAction.html#setShortcut(com.trolltech.qt.gui.QKeySequence)"><tt>setShortcut</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="trigger()"><!-- --></A><H3>
trigger</H3>
<PRE>
public final void <B>trigger</B>()</PRE>
<DL>
<DD><p>This is a convenience slot that calls activate(Trigger).</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="whatsThis()"><!-- --></A><H3>
whatsThis</H3>
<PRE>
public final java.lang.String <B>whatsThis</B>()</PRE>
<DL>
<DD><p>Returns the action's &quot;What's This?&quot; help text.</p>
<p>The &quot;What's This?&quot; text is used to provide a brief description of the action. The text may contain rich text. There is no default &quot;What's This?&quot; text.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QAction.html#setWhatsThis(java.lang.String)"><tt>setWhatsThis</tt></a>, 
<a href="QWhatsThis.html"><tt>QWhatsThis</tt></a>, 
<a href="%2E%2E/porting4.html#qstylesheet"><tt>QStyleSheet</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/QObject.html#event(com.trolltech.qt.core.QEvent)">event</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</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="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QAction.html" title="class in com.trolltech.qt.gui">QAction</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 QAction 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="setShortcut(java.lang.String)"><!-- --></A><H3>
setShortcut</H3>
<PRE>
public void <B>setShortcut</B>(java.lang.String&nbsp;key)</PRE>
<DL>
<DD>Sets the shortcut to the key sequence for the given key string. For example "Ctrl+O" gives CTRL+'O'. 
 The strings "Ctrl", "Shift", "Alt" and "Meta" are recognized, as well as their translated equivalents in the 
 "QShortcut" context (using QObject::tr()). Up to four key codes may be entered by separating them with commas, 
 e.g. "Alt+X,Ctrl+S,Q".
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - The description of the key sequence. Typically used with tr() so key sequences can be locale aware.</DL>
</DD>
</DL>
<HR>

<A NAME="setShortcut(com.trolltech.qt.gui.QKeySequence.StandardKey)"><!-- --></A><H3>
setShortcut</H3>
<PRE>
public void <B>setShortcut</B>(<A HREF="../../../../com/trolltech/qt/gui/QKeySequence.StandardKey.html" title="enum in com.trolltech.qt.gui">QKeySequence.StandardKey</A>&nbsp;key)</PRE>
<DL>
<DD>Sets the shortcut to the key sequence for the given key. The result will depend on the currently running platform.
 The key sequence will be based on the first element in the list of key bindings for the key.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - The key for which to select a key sequence</DL>
</DD>
</DL>
<HR>

<A NAME="setIcon(com.trolltech.qt.gui.QPixmap)"><!-- --></A><H3>
setIcon</H3>
<PRE>
public void <B>setIcon</B>(<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pm)</PRE>
<DL>
<DD>Sets this QAction's icon to <tt>pm</tt>.
<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/QAccessibleWidgetEx.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QAction.ActionEvent.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/QAction.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QAction.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>