Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 6282078ae76a671f49c6af38c67b1a07 > files > 956

kdelibs-devel-2.2.2-49.2mdk.i586.rpm

<HTML>
<HEAD>
<TITLE>class KSelectAction</TITLE>

<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
	<TABLE BORDER="0">
		<TR><TD valign="top" align="left" cellspacing="10">
		<h1>class KSelectAction</h1>
		</TD>
		<TD valign="top" align="right" colspan="1">Action for selecting one of several items. <small><A HREF="#longdesc">More...</A></small></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		<TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="kaction_h.html">kaction.h</A>&gt;</code></TD></TR>
<TR><TH>Inherits</TH><TD><A HREF="KAction.html">KAction</A> <small>[public ]</small></TD></TR>
<TR><TH>Inherited by</TH><TD><A HREF="KFontAction.html">KFontAction</A>, <A HREF="KFontSizeAction.html">KFontSizeAction</A>, <A HREF="KListAction.html">KListAction</A>, <A HREF="KRecentFilesAction.html">KRecentFilesAction</A></TD></TR>
<TR><TH><A HREF="full-list-KSelectAction.html">List of all Methods</A></TH></TR>
	</TABLE>
	</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Methods</h4><ul><LI>&nbsp;<b><A HREF="#ref6">KSelectAction</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& text, int accel = 0, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* parent = 0, const char* name = 0 ) 
</LI>
<LI>&nbsp;<b><A HREF="#ref7">KSelectAction</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& text, int accel,
                   const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* receiver, const char* slot, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* parent, const char* name = 0 ) 
</LI>
<LI>&nbsp;<b><A HREF="#ref8">KSelectAction</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& text, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qiconset.html">QIconSet</A>& pix, int accel = 0,
             <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* parent = 0, const char* name = 0 ) 
</LI>
<LI>&nbsp;<b><A HREF="#ref9">KSelectAction</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& text, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& pix, int accel = 0,
                   <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* parent = 0, const char* name = 0 ) 
</LI>
<LI>&nbsp;<b><A HREF="#ref10">KSelectAction</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& text, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qiconset.html">QIconSet</A>& pix, int accel,
                   const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* receiver, const char* slot, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* parent, const char* name = 0 ) 
</LI>
<LI>&nbsp;<b><A HREF="#ref11">KSelectAction</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& text, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& pix, int accel,
                   const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* receiver, const char* slot,
                   <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* parent, const char* name = 0 ) 
</LI>
<LI>&nbsp;<b><A HREF="#ref12">KSelectAction</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* parent = 0, const char* name = 0 ) 
</LI>
<LI>virtual  &nbsp;<b><A HREF="#ref13">~KSelectAction</A></b> () 
</LI>
<LI>virtual  int &nbsp;<b><A HREF="#ref14">plug</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* widget, int index = -1 ) 
</LI>
<LI>virtual  bool &nbsp;<b><A HREF="#ref15">isEditable</A></b> ()  const
</LI>
<LI>virtual  <A HREF="#QStringList">QStringList</A> &nbsp;<b><A HREF="#ref16">items</A></b> ()  const
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref17">changeItem</A></b> ( int index, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& text ) 
</LI>
<LI>virtual  <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref18">currentText</A></b> ()  const
</LI>
<LI>virtual  int &nbsp;<b><A HREF="#ref19">currentItem</A></b> ()  const
</LI>
<LI>virtual  int &nbsp;<b><A HREF="#ref20">comboWidth</A></b> ()  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A>* &nbsp;<b><A HREF="#ref21">popupMenu</A></b> () 
</LI>
</ul><h4>Public Slots</h4><ul><LI>virtual  void &nbsp;<b><A HREF="#ref22">setCurrentItem</A></b> ( int index ) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref23">setItems</A></b> ( const <A HREF="#QStringList">QStringList</A> &lst ) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref24">clear</A></b> () 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref25">setEditable</A></b> ( bool ) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref26">setComboWidth</A></b> ( int width ) 
</LI>
</ul><h4>Signals</h4><ul><LI>void &nbsp;<b><A HREF="#ref31">activated</A></b> ( int index ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref32">activated</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& text ) 
</LI>
</ul><h4>Protected Methods</h4><ul><LI>virtual  void &nbsp;<b><A HREF="#ref27">changeItem</A></b> ( int id, int index, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& text ) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref33">setCurrentItem</A></b> ( int id, int index ) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref34">setComboWidth</A></b> ( int id, int width ) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref35">setItems</A></b> ( int id, const <A HREF="#QStringList">QStringList</A> &lst ) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref36">clear</A></b> ( int id ) 
</LI>
</ul><h4>Protected Slots</h4><ul><LI>virtual  void &nbsp;<b><A HREF="#ref28">slotActivated</A></b> ( int id ) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref29">slotActivated</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &text ) 
</LI>
<LI>virtual  void &nbsp;<b><A HREF="#ref30">slotActivated</A></b> () 
</LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
  Action for selecting one of several items.
</p>
<p>  This action shows up a submenu with a list of items.
  One of them can be checked. If the user clicks on an item
  this item will automatically be checked,
  the formerly checked item becomes unchecked.
  There can be only one item checked at a time.
</p>
<p></p>
<A NAME="KSelectAction"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KSelectAction</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& text, int accel = 0, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* parent = 0, const char* name = 0 )
<br></td><td align="right"><h3><strong>KSelectAction</strong></h3></td></tr></table><p></p><p>
 Construct a select action with text and potential keyboard
 accelerator but nothing else. Use this only if you really
 know what you are doing.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>text</i></TD><TD align="left" valign="top">The text that will be displayed.
</TD></TR>
<TR><TD align="left" valign="top"><i>accel</i></TD><TD align="left" valign="top">The corresponding keyboard accelerator (shortcut).
</TD></TR>
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">This action's parent.
</TD></TR>
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">An internal name for this action.
     </TD></TR>
</TABLE></P>
<A NAME="KSelectAction"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KSelectAction</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& text, int accel,
                   const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* receiver, const char* slot, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* parent, const char* name = 0 )
<br></td><td align="right"><h3><strong>KSelectAction</strong></h3></td></tr></table><p></p><p>
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>text</i></TD><TD align="left" valign="top">The text that will be displayed.
</TD></TR>
<TR><TD align="left" valign="top"><i>accel</i></TD><TD align="left" valign="top">The corresponding keyboard accelerator (shortcut).
</TD></TR>
<TR><TD align="left" valign="top"><i>receiver</i></TD><TD align="left" valign="top">The SLOT's parent.
</TD></TR>
<TR><TD align="left" valign="top"><i>slot</i></TD><TD align="left" valign="top">The SLOT to invoke to execute this action.
</TD></TR>
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">This action's parent.
</TD></TR>
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">An internal name for this action.
     </TD></TR>
</TABLE></P>
<A NAME="KSelectAction"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KSelectAction</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& text, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qiconset.html">QIconSet</A>& pix, int accel = 0,
             <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* parent = 0, const char* name = 0 )
<br></td><td align="right"><h3><strong>KSelectAction</strong></h3></td></tr></table><p></p><p>
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>text</i></TD><TD align="left" valign="top">The text that will be displayed.
</TD></TR>
<TR><TD align="left" valign="top"><i>pix</i></TD><TD align="left" valign="top">The icons that go with this action.
</TD></TR>
<TR><TD align="left" valign="top"><i>accel</i></TD><TD align="left" valign="top">The corresponding keyboard accelerator (shortcut).
</TD></TR>
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">This action's parent.
</TD></TR>
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">An internal name for this action.
     </TD></TR>
</TABLE></P>
<A NAME="KSelectAction"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KSelectAction</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& text, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& pix, int accel = 0,
                   <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* parent = 0, const char* name = 0 )
<br></td><td align="right"><h3><strong>KSelectAction</strong></h3></td></tr></table><p></p><p>
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>text</i></TD><TD align="left" valign="top">The text that will be displayed.
</TD></TR>
<TR><TD align="left" valign="top"><i>pix</i></TD><TD align="left" valign="top">The dynamically loaded icon that goes with this action.
</TD></TR>
<TR><TD align="left" valign="top"><i>accel</i></TD><TD align="left" valign="top">The corresponding keyboard accelerator (shortcut).
</TD></TR>
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">This action's parent.
</TD></TR>
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">An internal name for this action.
     </TD></TR>
</TABLE></P>
<A NAME="KSelectAction"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KSelectAction</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& text, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qiconset.html">QIconSet</A>& pix, int accel,
                   const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* receiver, const char* slot, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* parent, const char* name = 0 )
<br></td><td align="right"><h3><strong>KSelectAction</strong></h3></td></tr></table><p></p><p>
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>text</i></TD><TD align="left" valign="top">The text that will be displayed.
</TD></TR>
<TR><TD align="left" valign="top"><i>pix</i></TD><TD align="left" valign="top">The icons that go with this action.
</TD></TR>
<TR><TD align="left" valign="top"><i>accel</i></TD><TD align="left" valign="top">The corresponding keyboard accelerator (shortcut).
</TD></TR>
<TR><TD align="left" valign="top"><i>receiver</i></TD><TD align="left" valign="top">The SLOT's parent.
</TD></TR>
<TR><TD align="left" valign="top"><i>slot</i></TD><TD align="left" valign="top">The SLOT to invoke to execute this action.
</TD></TR>
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">This action's parent.
</TD></TR>
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">An internal name for this action.
     </TD></TR>
</TABLE></P>
<A NAME="KSelectAction"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KSelectAction</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& text, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& pix, int accel,
                   const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* receiver, const char* slot,
                   <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* parent, const char* name = 0 )
<br></td><td align="right"><h3><strong>KSelectAction</strong></h3></td></tr></table><p></p><p>
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>text</i></TD><TD align="left" valign="top">The text that will be displayed.
</TD></TR>
<TR><TD align="left" valign="top"><i>pix</i></TD><TD align="left" valign="top">The dynamically loaded icon that goes with this action.
</TD></TR>
<TR><TD align="left" valign="top"><i>accel</i></TD><TD align="left" valign="top">The corresponding keyboard accelerator (shortcut).
</TD></TR>
<TR><TD align="left" valign="top"><i>receiver</i></TD><TD align="left" valign="top">The SLOT's parent.
</TD></TR>
<TR><TD align="left" valign="top"><i>slot</i></TD><TD align="left" valign="top">The SLOT to invoke to execute this action.
</TD></TR>
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">This action's parent.
</TD></TR>
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">An internal name for this action.
     </TD></TR>
</TABLE></P>
<A NAME="KSelectAction"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KSelectAction</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* parent = 0, const char* name = 0 )
<br></td><td align="right"><h3><strong>KSelectAction</strong></h3></td></tr></table><p></p><p>
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">This action's parent.
</TD></TR>
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">An internal name for this action.
     </TD></TR>
</TABLE></P>
<A NAME="~KSelectAction"></A><A NAME="ref13"></A><table width="100%"><tr bgcolor="#eeeeee"><td> &nbsp;<strong>~KSelectAction</strong> ()
<br></td><td align="right"><h3><strong>~KSelectAction</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
 Destructor
     </p>
<A NAME="plug"></A><A NAME="ref14"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>plug</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* widget, int index = -1 )
<br></td><td align="right"><h3><strong>plug</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p>
  "Plug" or insert this action into a given widget.
</p>
<p>  This will typically be a menu or a toolbar.
  From this point on, you will never need to directly
  manipulate the item in the menu or toolbar.
  You do all enabling/disabling/manipulation directly with your KSelectAction object.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>widget</i></TD><TD align="left" valign="top">The GUI element to display this action.
</TD></TR>
<TR><TD align="left" valign="top"><i>index</i></TD><TD align="left" valign="top">The index of the item.
     </TD></TR>
</TABLE></P>
<p>Reimplemented from <A HREF="KAction.html#plug">KAction</A>.</p>
<A NAME="isEditable"></A><A NAME="ref15"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>isEditable</strong> ()
<br></td><td align="right"><h3><strong>isEditable</strong></h3></td></tr></table><p> <small>[const virtual]</small></p><p>
 When this action is plugged into a toolbar, it creates a combobox.
</p>
<p><b>Returns</b>: true if the combo editable.
     </p>
<A NAME="items"></A><A NAME="ref16"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="#QStringList">QStringList</A> &nbsp;<strong>items</strong> ()
<br></td><td align="right"><h3><strong>items</strong></h3></td></tr></table><p> <small>[const virtual]</small></p><p>
</p>
<p><b>Returns</b>: the items that can be selected with this action.
 Use setItems to set them.
     </p>
<A NAME="changeItem"></A><A NAME="ref17"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>changeItem</strong> ( int index, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& text )
<br></td><td align="right"><h3><strong>changeItem</strong></h3></td></tr></table><p> <small>[virtual]</small></p><A NAME="currentText"></A><A NAME="ref18"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>currentText</strong> ()
<br></td><td align="right"><h3><strong>currentText</strong></h3></td></tr></table><p> <small>[const virtual]</small></p><A NAME="currentItem"></A><A NAME="ref19"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>currentItem</strong> ()
<br></td><td align="right"><h3><strong>currentItem</strong></h3></td></tr></table><p> <small>[const virtual]</small></p><A NAME="comboWidth"></A><A NAME="ref20"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>comboWidth</strong> ()
<br></td><td align="right"><h3><strong>comboWidth</strong></h3></td></tr></table><p> <small>[const virtual]</small></p><p>
 When this action is plugged into a toolbar, it creates a combobox.
 This returns the maximum width set by setComboWidth
     </p>
<A NAME="popupMenu"></A><A NAME="ref21"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A>* &nbsp;<strong>popupMenu</strong> ()
<br></td><td align="right"><h3><strong>popupMenu</strong></h3></td></tr></table><p></p><p>Reimplemented from <A HREF="KAction.html#popupMenu">KAction</A>.</p>
<A NAME="setCurrentItem"></A><A NAME="ref22"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setCurrentItem</strong> ( int index )
<br></td><td align="right"><h3><strong>setCurrentItem</strong></h3></td></tr></table><p> <small>[virtual slot]</small></p><p>
  Sets the currently checked item.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>index</i></TD><TD align="left" valign="top">Index of the item (remember the first item is zero).
     </TD></TR>
</TABLE></P>
<A NAME="setItems"></A><A NAME="ref23"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setItems</strong> ( const <A HREF="#QStringList">QStringList</A> &lst )
<br></td><td align="right"><h3><strong>setItems</strong></h3></td></tr></table><p> <small>[virtual slot]</small></p><p>
 Sets the items to be displayed in this action
 You need to call this.
     </p>
<A NAME="clear"></A><A NAME="ref24"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>clear</strong> ()
<br></td><td align="right"><h3><strong>clear</strong></h3></td></tr></table><p> <small>[virtual slot]</small></p><p>
 Clears up all the items in this action
     </p>
<A NAME="setEditable"></A><A NAME="ref25"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setEditable</strong> ( bool )
<br></td><td align="right"><h3><strong>setEditable</strong></h3></td></tr></table><p> <small>[virtual slot]</small></p><p>
 When this action is plugged into a toolbar, it creates a combobox.
 This makes the combo editable or read-only.
     </p>
<A NAME="setComboWidth"></A><A NAME="ref26"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setComboWidth</strong> ( int width )
<br></td><td align="right"><h3><strong>setComboWidth</strong></h3></td></tr></table><p> <small>[virtual slot]</small></p><p>
 When this action is plugged into a toolbar, it creates a combobox.
 This gives a _maximum_ size to the combobox.
 The minimum size is automatically given by the contents (the items).
     </p>
<A NAME="changeItem"></A><A NAME="ref27"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>changeItem</strong> ( int id, int index, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& text )
<br></td><td align="right"><h3><strong>changeItem</strong></h3></td></tr></table><p> <small>[protected virtual]</small></p><A NAME="slotActivated"></A><A NAME="ref28"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>slotActivated</strong> ( int id )
<br></td><td align="right"><h3><strong>slotActivated</strong></h3></td></tr></table><p> <small>[protected slots virtual slot]</small></p><p>Reimplemented from <A HREF="KAction.html#slotActivated">KAction</A>.</p>
<A NAME="slotActivated"></A><A NAME="ref29"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>slotActivated</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &text )
<br></td><td align="right"><h3><strong>slotActivated</strong></h3></td></tr></table><p> <small>[protected slots virtual slot]</small></p><p>Reimplemented from <A HREF="KAction.html#slotActivated">KAction</A>.</p>
<A NAME="slotActivated"></A><A NAME="ref30"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>slotActivated</strong> ()
<br></td><td align="right"><h3><strong>slotActivated</strong></h3></td></tr></table><p> <small>[protected slots virtual slot]</small></p><p>Reimplemented from <A HREF="KAction.html#slotActivated">KAction</A>.</p>
<A NAME="activated"></A><A NAME="ref31"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>activated</strong> ( int index )
<br></td><td align="right"><h3><strong>activated</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>Reimplemented from <A HREF="KAction.html#activated">KAction</A>.</p>
<A NAME="activated"></A><A NAME="ref32"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>activated</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& text )
<br></td><td align="right"><h3><strong>activated</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>Reimplemented from <A HREF="KAction.html#activated">KAction</A>.</p>
<A NAME="setCurrentItem"></A><A NAME="ref33"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setCurrentItem</strong> ( int id, int index )
<br></td><td align="right"><h3><strong>setCurrentItem</strong></h3></td></tr></table><p> <small>[protected virtual]</small></p><A NAME="setComboWidth"></A><A NAME="ref34"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setComboWidth</strong> ( int id, int width )
<br></td><td align="right"><h3><strong>setComboWidth</strong></h3></td></tr></table><p> <small>[protected virtual]</small></p><A NAME="setItems"></A><A NAME="ref35"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>setItems</strong> ( int id, const <A HREF="#QStringList">QStringList</A> &lst )
<br></td><td align="right"><h3><strong>setItems</strong></h3></td></tr></table><p> <small>[protected virtual]</small></p><A NAME="clear"></A><A NAME="ref36"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>clear</strong> ( int id )
<br></td><td align="right"><h3><strong>clear</strong></h3></td></tr></table><p> <small>[protected virtual]</small></p><HR>
	<table>
	<tr><td><small>Generated by: qateam on updates.mandrakesoft.com on Mon Dec 30 16:09:05 2002, using kdoc 2.0a53.</small></td></tr>
	</table>
</BODY>
</HTML>