<HTML> <HEAD> <TITLE>class KListAction</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 KListAction</h1> </TD> <TD valign="top" align="right" colspan="1"></TD></TR> </TABLE> <HR> <TABLE BORDER="0"> <TR><TH>Definition</TH><TD><code>#include <<A HREF="kaction_h.html">kaction.h</A>></code></TD></TR> <TR><TH>Inherits</TH><TD><A HREF="KSelectAction.html">KSelectAction</A> <small>[public ]</small></TD></TR> <TR><TH>Inherited by</TH><TD><A HREF="KRecentFilesAction.html">KRecentFilesAction</A></TD></TR> <TR><TH><A HREF="full-list-KListAction.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> <b><A HREF="#ref1">KListAction</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> <b><A HREF="#ref2">KListAction</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> <b><A HREF="#ref3">KListAction</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> <b><A HREF="#ref4">KListAction</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> <b><A HREF="#ref5">KListAction</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> <b><A HREF="#ref6">KListAction</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> <b><A HREF="#ref7">KListAction</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 <b><A HREF="#ref8">~KListAction</A></b> () </LI> <LI>virtual <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> <b><A HREF="#ref9">currentText</A></b> () const </LI> <LI>virtual int <b><A HREF="#ref10">currentItem</A></b> () const </LI> </ul><h4>Public Slots</h4><ul><LI>virtual void <b><A HREF="#ref11">setCurrentItem</A></b> ( int index ) </LI> <LI>virtual void <b><A HREF="#ref12">setCurrentItem</A></b> (int a, int b) </LI> </ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><A NAME="KListAction"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>KListAction</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>KListAction</strong></h3></td></tr></table><p></p><p> Construct a list 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="KListAction"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>KListAction</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>KListAction</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="KListAction"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>KListAction</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>KListAction</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="KListAction"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>KListAction</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>KListAction</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="KListAction"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>KListAction</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>KListAction</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="KListAction"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>KListAction</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>KListAction</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="KListAction"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>KListAction</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>KListAction</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="~KListAction"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>~KListAction</strong> () <br></td><td align="right"><h3><strong>~KListAction</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Destructor </p> <A NAME="currentText"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> <strong>currentText</strong> () <br></td><td align="right"><h3><strong>currentText</strong></h3></td></tr></table><p> <small>[const virtual]</small></p><p>Reimplemented from <A HREF="KSelectAction.html#currentText">KSelectAction</A>.</p> <A NAME="currentItem"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int <strong>currentItem</strong> () <br></td><td align="right"><h3><strong>currentItem</strong></h3></td></tr></table><p> <small>[const virtual]</small></p><p>Reimplemented from <A HREF="KSelectAction.html#currentItem">KSelectAction</A>.</p> <A NAME="setCurrentItem"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <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> <p>Reimplemented from <A HREF="KSelectAction.html#setCurrentItem">KSelectAction</A>.</p> <A NAME="setCurrentItem"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>setCurrentItem</strong> (int a, int b) <br></td><td align="right"><h3><strong>setCurrentItem</strong></h3></td></tr></table><p> <small>[virtual slot]</small></p><p>Reimplemented from <A HREF="KSelectAction.html#setCurrentItem">KSelectAction</A>.</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>