Sophie

Sophie

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

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

<HTML>
<HEAD>
<TITLE>class KAccel</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 KAccel</h1>
		</TD>
		<TD valign="top" align="right" colspan="1">Configurable key binding support.
 <small><A HREF="#longdesc">More...</A></small></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		<TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="kaccel_h.html">kaccel.h</A>&gt;</code></TD></TR>
<TR><TH>Inherits</TH><TD><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html">QAccel</A> <small>(qt)</small> <small>[public ]</small></TD></TR>
<TR><TH><A HREF="full-list-KAccel.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 Types</h4><ul><LI>enum <A HREF="#ref49">ModKeysIndex</A> {		ModShiftIndex, ModCapsLockIndex, ModCtrlIndex, ModAltIndex,
		ModNumLockIndex, ModModeSwitchIndex, ModMetaIndex, ModScrollLockIndex,
		MOD_KEYS
	}
</LI>
</ul><h4>Public Methods</h4><ul><LI>&nbsp;<b><A HREF="#ref1">KAccel</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> * parent, const char *name = 0 ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref2">clear</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref3">connectItem</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action,
					 const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* receiver, const char *member,
					 bool activate = true ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref4">connectItem</A></b> ( <A HREF="KStdAccel.html#StdAccel">KStdAccel::StdAccel</A> accel,
					 const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* receiver, const char *member,
					 bool activate = true ) 
</LI>
<LI>uint &nbsp;<b><A HREF="#ref5">count</A></b> ()  const
</LI>
<LI>int &nbsp;<b><A HREF="#ref6">currentKey</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action )  const
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref7">description</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action )  const
</LI>
<LI>void &nbsp;<b><A HREF="#ref8">setDescription</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &action, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &description) 
</LI>
<LI>int &nbsp;<b><A HREF="#ref9">defaultKey</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action)  const
</LI>
<LI>void &nbsp;<b><A HREF="#ref10">disconnectItem</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action,
						const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* receiver, const char *member ) 
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref11">findKey</A></b> ( int key )  const
</LI>
<LI>bool &nbsp;<b><A HREF="#ref12">insertItem</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& descr, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action,
					int defaultKeyCode, bool configurable = true ) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref13">insertItem</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& descr, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action,
					<A HREF="KKey.html">KKey</A> defaultKeyCode3,
					<A HREF="KKey.html">KKey</A> defaultKeyCode4,
					bool configurable = true ) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref14">insertItem</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& descr, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action,
					int defaultKeyCode, int id, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *qmenu,
					bool configurable = true ) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref15">insertItem</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& descr, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action,
					<A HREF="KKey.html">KKey</A> defaultKeyCode3,
					<A HREF="KKey.html">KKey</A> defaultKeyCode4,
					int id, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *qmenu,
					bool configurable = true ) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref16">insertItem</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& descr, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action,
					const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& defaultKeyCode,
					bool configurable = true ) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref17">insertItem</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& descr, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action,
					const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& defaultKeyCode,
					int id, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *qmenu, bool configurable = true ) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref18">insertStdItem</A></b> ( <A HREF="KStdAccel.html#StdAccel">KStdAccel::StdAccel</A> id, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& descr = QString::null ) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref19">insertItem</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action, int defaultKeyCode,
				 bool configurable = true ) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref20">insertItem</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action, int defaultKeyCode,
				 int id, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *qmenu,
				 bool configurable = true ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref21">removeItem</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref22">changeMenuAccel</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *menu, int id,
			       const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref23">changeMenuAccel</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *menu, int id,
						  <A HREF="KStdAccel.html#StdAccel">KStdAccel::StdAccel</A> accel ) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref24">setKeyDict</A></b> ( const <A HREF="#KKeyEntryMap">KKeyEntryMap</A>& nKeyDict ) 
</LI>
<LI><A HREF="#KKeyEntryMap">KKeyEntryMap</A> &nbsp;<b><A HREF="#ref25">keyDict</A></b> ()  const
</LI>
<LI>const <A HREF="#KKeyMapOrder">KKeyMapOrder</A>& &nbsp;<b><A HREF="#ref26">keyInsertOrder</A></b> ()  const
</LI>
<LI><A HREF="#KKeyMapOrder">KKeyMapOrder</A>& &nbsp;<b><A HREF="#ref27">keyInsertOrder</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref28">readSettings</A></b> (<A HREF="KConfig.html">KConfig</A>* config = 0) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref30">writeSettings</A></b> (<A HREF="KConfig.html">KConfig</A>* config = 0)  const
</LI>
<LI>void &nbsp;<b><A HREF="#ref32">setConfigGroup</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& group ) 
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref33">configGroup</A></b> ()  const
</LI>
<LI>void &nbsp;<b><A HREF="#ref34">setConfigGlobal</A></b> ( bool global ) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref35">configGlobal</A></b> ()  const
</LI>
<LI>void &nbsp;<b><A HREF="#ref36">setEnabled</A></b> ( bool activate ) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref37">isEnabled</A></b> ()  const
</LI>
<LI>void &nbsp;<b><A HREF="#ref38">setItemEnabled</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action, bool activate ) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref39">isItemEnabled</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action )  const
</LI>
<LI>bool &nbsp;<b><A HREF="#ref40">configurable</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &action )  const
</LI>
<LI>bool &nbsp;<b><A HREF="#ref41">updateItem</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &action, int keyCode) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref42">clearItem</A></b> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &action) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref43">removeDeletedMenu</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *menu) 
</LI>
</ul><h4>Signals</h4><ul><LI>void &nbsp;<b><A HREF="#ref74">keycodeChanged</A></b> () 
</LI>
</ul><h4>Public Static Methods</h4><ul><LI>static  void &nbsp;<b><A HREF="#ref29">readKeyMap</A></b> ( <A HREF="#KKeyEntryMap">KKeyEntryMap</A> &aKeyMap, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &group,
                                <A HREF="KConfigBase.html">KConfigBase</A> *config = 0 ) 
</LI>
<LI>static  void &nbsp;<b><A HREF="#ref31">writeKeyMap</A></b> ( const <A HREF="#KKeyEntryMap">KKeyEntryMap</A> &aKeyMap, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& group,
            <A HREF="KConfig.html">KConfig</A> *config = 0, bool global = false ) 
</LI>
<LI>static  bool &nbsp;<b><A HREF="#ref44">useFourModifierKeys</A></b> () 
</LI>
<LI>static  void &nbsp;<b><A HREF="#ref45">useFourModifierKeys</A></b> ( bool b ) 
</LI>
<LI>static  bool &nbsp;<b><A HREF="#ref46">qtSupportsMetaKey</A></b> () 
</LI>
<LI>static  int &nbsp;<b><A HREF="#ref47">stringToKey</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& sKey ) 
</LI>
<LI>static  <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref48">keyToString</A></b> ( int keyCode, bool i18_n = FALSE ) 
</LI>
<LI>static  void &nbsp;<b><A HREF="#ref50">readModifierMapping</A></b> () 
</LI>
<LI>static  uint &nbsp;<b><A HREF="#ref51">stringToKey</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& keyStr, uchar *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ) 
</LI>
<LI>static  uint &nbsp;<b><A HREF="#ref52">keyCodeXToKeySymX</A></b> ( uchar keyCodeX, uint keyModX ) 
</LI>
<LI>static  void &nbsp;<b><A HREF="#ref53">keyEventXToKeyX</A></b> ( const XEvent *pEvent, uchar *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ) 
</LI>
<LI>static  uint &nbsp;<b><A HREF="#ref54">keyEventXToKeyQt</A></b> ( const XEvent *pEvent ) 
</LI>
<LI>static  int &nbsp;<b><A HREF="#ref55">keySymXIndex</A></b> ( uint keySym ) 
</LI>
<LI>static  void &nbsp;<b><A HREF="#ref56">keySymXMods</A></b> ( uint keySym, uint *pKeyModQt, uint *pKeyModX ) 
</LI>
<LI>static  uint &nbsp;<b><A HREF="#ref57">keyCodeXToKeyQt</A></b> ( uchar keyCodeX, uint keyModX ) 
</LI>
<LI>static  uint &nbsp;<b><A HREF="#ref58">keySymXToKeyQt</A></b> ( uint keySymX, uint keyModX ) 
</LI>
<LI>static  void &nbsp;<b><A HREF="#ref59">keyQtToKeyX</A></b> ( uint keyCombQt, uchar *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ) 
</LI>
<LI>static  uint &nbsp;<b><A HREF="#ref60">keyEventQtToKeyQt</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qkeyevent.html">QKeyEvent</A>* ) 
</LI>
<LI>static  <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref61">keyCodeXToString</A></b> ( uchar keyCodeX, uint keyModX, bool bi18n ) 
</LI>
<LI>static  <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref62">keySymXToString</A></b> ( uint keySymX, uint keyModX, bool bi18n ) 
</LI>
<LI>static  uint &nbsp;<b><A HREF="#ref63">keyModXShift</A></b> () 
</LI>
<LI>static  uint &nbsp;<b><A HREF="#ref64">keyModXLock</A></b> () 
</LI>
<LI>static  uint &nbsp;<b><A HREF="#ref65">keyModXCtrl</A></b> () 
</LI>
<LI>static  uint &nbsp;<b><A HREF="#ref66">keyModXAlt</A></b> () 
</LI>
<LI>static  uint &nbsp;<b><A HREF="#ref67">keyModXNumLock</A></b> () 
</LI>
<LI>static  uint &nbsp;<b><A HREF="#ref68">keyModXModeSwitch</A></b> () 
</LI>
<LI>static  uint &nbsp;<b><A HREF="#ref69">keyModXMeta</A></b> () 
</LI>
<LI>static  uint &nbsp;<b><A HREF="#ref70">keyModXScrollLock</A></b> () 
</LI>
<LI>static  uint &nbsp;<b><A HREF="#ref71">accelModMaskQt</A></b> () 
</LI>
<LI>static  uint &nbsp;<b><A HREF="#ref72">accelModMaskX</A></b> () 
</LI>
<LI>static  bool &nbsp;<b><A HREF="#ref73">keyboardHasMetaKey</A></b> () 
</LI>
</ul><h4>Protected Members</h4><ul><LI>int <b><A HREF="#ref75">aAvailableId</A></b></LI>
<LI>KKeyEntryMap <b><A HREF="#ref76">aKeyMap</A></b></LI>
<LI>bool <b><A HREF="#ref77">bEnabled</A></b></LI>
<LI>bool <b><A HREF="#ref78">bGlobal</A></b></LI>
<LI>QString <b><A HREF="#ref79">aGroup</A></b></LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
 Handle keyboard accelerators.
</p>
<p> Allow an user to configure
 key bindings through application configuration files or through the
 KKeyChooser GUI.
</p>
<p> A <A HREF="KAccel.html#KAccel">KAccel</A> contains a list of accelerator items. Each accelerator item
 consists of an action name and a keyboard code combined with modifiers
 (Shift, Ctrl and Alt.)
</p>
<p> For example, "Ctrl+P" could be a shortcut for printing a document. The key
 codes are listed in ckey.h. "Print" could be the action name for printing.
 The action name identifies the key binding in configuration files and the
 KKeyChooser GUI.
</p>
<p> When pressed, an accelerator key calls the slot to which it has been
 connected. Accelerator items can be connected so that a key will activate
 two different slots.
</p>
<p> A KAccel object handles key events sent to its parent widget and to all
 children of this parent widget.
</p>
<p> Key binding reconfiguration during run time can be prevented by specifying
 that an accelerator item is not configurable when it is inserted. A special
 group of non-configurable key bindings are known as the
 standard accelerators.
</p>
<p> The standard accelerators appear repeatedly in applications for
 standard document actions such as printing and saving. Convenience methods are
 available to insert and connect these accelerators which are configurable on
 a desktop-wide basis.
</p>
<p> It is possible for a user to choose to have no key associated with
 an action.
</p>
<p> The translated first argument for <A HREF="KAccel.html#insertItem">insertItem</A>() is used only
 in the configuration dialog.
</p><table border="0" width="100%">
<tr>
<td bgcolor="#BEEAE0">
<pre>

 <A HREF="KAccel.html#KAccel">KAccel</A> *a = new <A HREF="KAccel.html#KAccel">KAccel</A>( myWindow );
 // Insert an action "Scroll Up" which is associated with the "Up" key:
 a-><A HREF="KAccel.html#insertItem">insertItem</A>( <A HREF="#i18n">i18n</A>("Scroll up"), "Scroll Up", "Up" );
 // Insert an action "Scroll Down" which is not associated with any key:
 a-><A HREF="KAccel.html#insertItem">insertItem</A>( <A HREF="#i18n">i18n</A>("Scroll down"), "Scroll Down", 0);
 a-><A HREF="KAccel.html#connectItem">connectItem</A>( "Scroll up", myWindow, SLOT( scrollUp() ) );
 // a-><A HREF="KAccel.html#insertStdItem">insertStdItem</A>( KStdAccel::Print ); //not necessary, since it
	// is done automatially with the
	// connect below!
 a-><A HREF="KAccel.html#connectItem">connectItem</A>(KStdAccel::Print, myWindow, SLOT( printDoc() ) );

 a-><A HREF="KAccel.html#readSettings">readSettings</A>();

</pre>
</td></tr>

</table> <p>
</p>
<p> If a shortcut has a menu entry as well, you could insert them like
 this. The example is again the KStdAccel::Print from above.
</p>
<p></p><table border="0" width="100%">
<tr>
<td bgcolor="#BEEAE0">
<pre>

 int id;
 id = popup-><A HREF="KAccel.html#insertItem">insertItem</A>("&Print",this, SLOT(printDoc()));
 a-><A HREF="KAccel.html#changeMenuAccel">changeMenuAccel</A>(popup, id, KStdAccel::Print );

</pre>
</td></tr>

</table> <p>
</p>
<p> If you want a somewhat "exotic" name for your standard print action, like
   id = popup->insertItem(i18n("Print &Document"),this, SLOT(printDoc()));
 it might be a good idea to insert the standard action before as
          a->insertStdItem( KStdAccel::Print, i18n("Print Document") )
 as well, so that the user can easily find the corresponding function.
</p>
<p> This technique works for other actions as well.  Your "scroll up" function
 in a menu could be done with
</p>
<p></p><table border="0" width="100%">
<tr>
<td bgcolor="#BEEAE0">
<pre>

    id = popup-><A HREF="KAccel.html#insertItem">insertItem</A>(<A HREF="#i18n">i18n</A>"Scroll &up",this, SLOT(scrollUp()));
    a-><A HREF="KAccel.html#changeMenuAccel">changeMenuAccel</A>(popup, id, "Scroll Up" );

</pre>
</td></tr>

</table> <p>
</p>
<p> Please keep the order right:  First insert all functions in the
 acceleratior, then call a -> <A HREF="KAccel.html#readSettings">readSettings</A>() and <em>then</em> build your
 menu structure.
</p>
<p></p>
<A NAME="KAccel"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KAccel</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> * parent, const char *name = 0 )
<br></td><td align="right"><h3><strong>KAccel</strong></h3></td></tr></table><p></p><p>
 Create a KAccel object with a parent widget and a name.
	 </p>
<A NAME="clear"></A><A NAME="ref2"></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></p><p>
 Remove all accelerator items.
	 </p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#355d1f">QAccel</A>.</p>
<A NAME="connectItem"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>connectItem</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action,
					 const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* receiver, const char *member,
					 bool activate = true )
<br></td><td align="right"><h3><strong>connectItem</strong></h3></td></tr></table><p></p><p>
 Connect an accelerator item to a slot/signal in another object.
</p>
<p> Arguments:
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>action</i></TD><TD align="left" valign="top">The accelerator item action name.
</TD></TR>
<TR><TD align="left" valign="top"><i>receiver</i></TD><TD align="left" valign="top">The object to receive a signal.
</TD></TR>
<TR><TD align="left" valign="top"><i>member</i></TD><TD align="left" valign="top">A slot or signal in the receiver.
</TD></TR>
<TR><TD align="left" valign="top"><i>activate</i></TD><TD align="left" valign="top">Indicates whether the accelerator item should be
  enabled immediately.
	 </TD></TR>
</TABLE></P>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#5625cd">QAccel</A>.</p>
<A NAME="connectItem"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>connectItem</strong> ( <A HREF="KStdAccel.html#StdAccel">KStdAccel::StdAccel</A> accel,
					 const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* receiver, const char *member,
					 bool activate = true )
<br></td><td align="right"><h3><strong>connectItem</strong></h3></td></tr></table><p></p><p>
 Same as the preceding <A HREF="KAccel.html#connectItem">connectItem</A>(), but used for standard
 accelerators.
</p>
<p> If the standard accelerator was not inserted so far, it
 will be inserted automatically.
	 </p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#5625cd">QAccel</A>.</p>
<A NAME="count"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td>uint &nbsp;<strong>count</strong> ()
<br></td><td align="right"><h3><strong>count</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Retrieve the number of accelerator items.
	</p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#9278dc">QAccel</A>.</p>
<A NAME="currentKey"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int &nbsp;<strong>currentKey</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action )
<br></td><td align="right"><h3><strong>currentKey</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Retrieve the key code of the accelerator item with the action name
 <code>action</code>, or zero if either the action name cannot be
 found or the current key is set to no key.
	</p>
<A NAME="description"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>description</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action )
<br></td><td align="right"><h3><strong>description</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Retrieve the description  of the accelerator item with the
 action name <code>action</code>, or QString::null if the action name cannot
 be found. Useful for menus.
	 </p>
<A NAME="setDescription"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setDescription</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &action, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &description)
<br></td><td align="right"><h3><strong>setDescription</strong></h3></td></tr></table><p></p><A NAME="defaultKey"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int &nbsp;<strong>defaultKey</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action)
<br></td><td align="right"><h3><strong>defaultKey</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Retrieve the default key code of the accelerator item with
 the action name
 <code>action</code>, or zero if the action name cannot be found.
	</p>
<A NAME="disconnectItem"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>disconnectItem</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action,
						const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A>* receiver, const char *member )
<br></td><td align="right"><h3><strong>disconnectItem</strong></h3></td></tr></table><p></p><p>
 Disconnect an accelerator item from a function in another object.
	 </p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#d8d5ff">QAccel</A>.</p>
<A NAME="findKey"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>findKey</strong> ( int key )
<br></td><td align="right"><h3><strong>findKey</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Rerieve the identifier of the accelerator item with the keycode <code>key</code>,
 or QString::null if the item cannot be found.
	 </p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#352bcf">QAccel</A>.</p>
<A NAME="insertItem"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>insertItem</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& descr, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action,
					int defaultKeyCode, bool configurable = true )
<br></td><td align="right"><h3><strong>insertItem</strong></h3></td></tr></table><p></p><p>
 Insert an accelerator item.
</p>
<p> If an action already exists the old association and connections
 will be removed.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>descr</i></TD><TD align="left" valign="top">The localized name of the action, useful in
  menus or the keybinding editor.
</TD></TR>
<TR><TD align="left" valign="top"><i>action</i></TD><TD align="left" valign="top">The internal accelerator item action name. It
  is supposed to be the same for all languages.
</TD></TR>
<TR><TD align="left" valign="top"><i>defaultKeyCode</i></TD><TD align="left" valign="top">A key code to be used as the default
  for the action.  Set it to 0 for no default key (It still
  may be configured later.)
</TD></TR>
<TR><TD align="left" valign="top"><i>configurable</i></TD><TD align="left" valign="top">Indicates whether a user can configure
  the key binding using the KKeyChooser GUI and whether the
  key will be written back to configuration files when
  <A HREF="KAccel.html#writeSettings">writeSettings</A>() is called.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: <code>true</code> if successful.
	 </p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#7e5e75">QAccel</A>.</p>
<A NAME="insertItem"></A><A NAME="ref13"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>insertItem</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& descr, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action,
					<A HREF="KKey.html">KKey</A> defaultKeyCode3,
					<A HREF="KKey.html">KKey</A> defaultKeyCode4,
					bool configurable = true )
<br></td><td align="right"><h3><strong>insertItem</strong></h3></td></tr></table><p></p><p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#7e5e75">QAccel</A>.</p>
<A NAME="insertItem"></A><A NAME="ref14"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>insertItem</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& descr, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action,
					int defaultKeyCode, int id, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *qmenu,
					bool configurable = true )
<br></td><td align="right"><h3><strong>insertItem</strong></h3></td></tr></table><p></p><p>
 Insert an accelerator item.
</p>
<p> If an action already exists the old association and connections
 will be removed.
</p>
<p></p>
<p>	 </p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>descr</i></TD><TD align="left" valign="top">The localized name of the action, useful in
  menus or the keybinding editor.
</TD></TR>
<TR><TD align="left" valign="top"><i>action</i></TD><TD align="left" valign="top">The internal accelerator item action name. It
  is supposed to be the same for all languages.
</TD></TR>
<TR><TD align="left" valign="top"><i>defaultKeyCode</i></TD><TD align="left" valign="top">A key code to be used as the default
  for the action.  Set it to 0 for no default key (It still
  may be configured later.)
</TD></TR>
<TR><TD align="left" valign="top"><i>id</i></TD><TD align="left" valign="top">Menu index of menu items associated with this action.
</TD></TR>
<TR><TD align="left" valign="top"><i>qmenu</i></TD><TD align="left" valign="top">Menu containing items associated with this action.
</TD></TR>
<TR><TD align="left" valign="top"><i>configurable</i></TD><TD align="left" valign="top">Indicates whether a user can configure
  the key binding using the KKeyChooser GUI and whether the
  key will be written back to configuration files when
  <A HREF="KAccel.html#writeSettings">writeSettings</A>() is called.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: <code>true</code> if successful.
</p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#7e5e75">QAccel</A>.</p>
<A NAME="insertItem"></A><A NAME="ref15"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>insertItem</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& descr, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action,
					<A HREF="KKey.html">KKey</A> defaultKeyCode3,
					<A HREF="KKey.html">KKey</A> defaultKeyCode4,
					int id, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *qmenu,
					bool configurable = true )
<br></td><td align="right"><h3><strong>insertItem</strong></h3></td></tr></table><p></p><p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#7e5e75">QAccel</A>.</p>
<A NAME="insertItem"></A><A NAME="ref16"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>insertItem</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& descr, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action,
					const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& defaultKeyCode,
					bool configurable = true )
<br></td><td align="right"><h3><strong>insertItem</strong></h3></td></tr></table><p></p><p>
 Insert an accelerator item.
</p>
<p> If an action already exists the old association and connections
 will be removed.
</p>
<p></p>
<p>	 </p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>descr</i></TD><TD align="left" valign="top">The localized name of the action, useful in
  menus or the keybinding editor.
</TD></TR>
<TR><TD align="left" valign="top"><i>action</i></TD><TD align="left" valign="top">The internal accelerator item action name. It
  is supposed to be the same for all languages.
</TD></TR>
<TR><TD align="left" valign="top"><i>defaultKeyCode</i></TD><TD align="left" valign="top">A key plus a combination of Shift, Ctrl
	and Alt to be used as the default for the action.
</TD></TR>
<TR><TD align="left" valign="top"><i>id</i></TD><TD align="left" valign="top">Menu index of menu items associated with this action.
</TD></TR>
<TR><TD align="left" valign="top"><i>qmenu</i></TD><TD align="left" valign="top">Menu containing items associated with this action.
</TD></TR>
<TR><TD align="left" valign="top"><i>configurable</i></TD><TD align="left" valign="top">Indicates whether a user can configure
  the key binding using the KKeyChooser GUI and whether the
  key will be written back to configuration files when
  <A HREF="KAccel.html#writeSettings">writeSettings</A>() is called.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: <code>true</code> if successful.
</p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#7e5e75">QAccel</A>.</p>
<A NAME="insertItem"></A><A NAME="ref17"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>insertItem</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& descr, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action,
					const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& defaultKeyCode,
					int id, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *qmenu, bool configurable = true )
<br></td><td align="right"><h3><strong>insertItem</strong></h3></td></tr></table><p></p><p>
 Insert an accelerator item.
</p>
<p> If an action already exists the old association and connections
 will be removed..
</p>
<p></p>
<p>	 </p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>descr</i></TD><TD align="left" valign="top">The localized name of the action, useful in
  menus or the keybinding editor.
</TD></TR>
<TR><TD align="left" valign="top"><i>action</i></TD><TD align="left" valign="top">The internal accelerator item action name. It
  is supposed to be the same for all languages.
</TD></TR>
<TR><TD align="left" valign="top"><i>defaultKeyCode</i></TD><TD align="left" valign="top">A key plus a combination of Shift, Ctrl
	and Alt to be used as the default for the action.
</TD></TR>
<TR><TD align="left" valign="top"><i>configurable</i></TD><TD align="left" valign="top">Indicates whether a user can configure
  the key binding using the KKeyChooser GUI and whether the
  key will be written back to configuration files when
  <A HREF="KAccel.html#writeSettings">writeSettings</A>() is called.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: <code>true</code> if successful.
</p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#7e5e75">QAccel</A>.</p>
<A NAME="insertStdItem"></A><A NAME="ref18"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>insertStdItem</strong> ( <A HREF="KStdAccel.html#StdAccel">KStdAccel::StdAccel</A> id, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& descr = QString::null )
<br></td><td align="right"><h3><strong>insertStdItem</strong></h3></td></tr></table><p></p><p>
 Insert a standard accelerator item.
</p>
<p> If an action already exists the old association and connections
 will be removed.
 param id One of the following: <code>Open</code>,
	<code>New</code>, <code>Close</code>, <code>Save</code>, <code>Print</code>, <code>Quit</code>, <code>Cut</code>, <code>Copy</code>, <code>Paste</code>, <code>Undo</code>, <code>Redo</code>,
	<code>Find</code>, <code>Replace</code>, <code>Insert</code>, <code>Home</code>, <code>End</code>, <code>Prior</code>, <code>Next</code>, or @pHelp.
 param descr You can optionally also assign a description to
 the standard item which may be used a in a popup menu.
	 </p>
<A NAME="insertItem"></A><A NAME="ref19"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>insertItem</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action, int defaultKeyCode,
				 bool configurable = true )
<br></td><td align="right"><h3><strong>insertItem</strong></h3></td></tr></table><p></p><p>
 Convenience function form of <A HREF="KAccel.html#insertItem">insertItem</A>()
 without the need to specify a localized
 function name for the user.
</p>
<p> This is useful if the accelerator
 is used internally only, without appearing in a menu or a
 keybinding editor.
	 </p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#7e5e75">QAccel</A>.</p>
<A NAME="insertItem"></A><A NAME="ref20"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>insertItem</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action, int defaultKeyCode,
				 int id, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *qmenu,
				 bool configurable = true )
<br></td><td align="right"><h3><strong>insertItem</strong></h3></td></tr></table><p></p><p>
 Convenience function for of <A HREF="KAccel.html#insertItem">insertItem</A>() without the need
 to specify a localized
 function name for the user.
</p>
<p> This is useful if the accelerator
 is only used internally, without appearing in a menu or a
 keybinding editor.
	 </p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#7e5e75">QAccel</A>.</p>
<A NAME="removeItem"></A><A NAME="ref21"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>removeItem</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action )
<br></td><td align="right"><h3><strong>removeItem</strong></h3></td></tr></table><p></p><p>
 Remove the accelerator item with the action name action.
	 </p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#c9471d">QAccel</A>.</p>
<A NAME="changeMenuAccel"></A><A NAME="ref22"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>changeMenuAccel</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *menu, int id,
			       const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action )
<br></td><td align="right"><h3><strong>changeMenuAccel</strong></h3></td></tr></table><p></p><p>
 Shortcuts should be visible in the menu
 structure of an application.
</p>
<p> Use this function for that
 purpose.  Note that the action must have been inserted
 before!
	 </p>
<A NAME="changeMenuAccel"></A><A NAME="ref23"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>changeMenuAccel</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *menu, int id,
						  <A HREF="KStdAccel.html#StdAccel">KStdAccel::StdAccel</A> accel )
<br></td><td align="right"><h3><strong>changeMenuAccel</strong></h3></td></tr></table><p></p><p>
 Same as <A HREF="KAccel.html#changeMenuAccel">changeMenuAccel</A>() but for standard accelerators.
	 </p>
<A NAME="setKeyDict"></A><A NAME="ref24"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>setKeyDict</strong> ( const <A HREF="#KKeyEntryMap">KKeyEntryMap</A>& nKeyDict )
<br></td><td align="right"><h3><strong>setKeyDict</strong></h3></td></tr></table><p></p><p>
 Set the dictionary of accelerator action names and <A HREF="KKeyEntry.html">KKeyEntry</A>
 objects to <code>nKeyDict</code>.
</p>
<p> Note that only a shallow copy is made so
 that items will be lost when the <A HREF="KKeyEntry.html">KKeyEntry</A> objects are deleted.
	 </p>
<A NAME="keyDict"></A><A NAME="ref25"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="#KKeyEntryMap">KKeyEntryMap</A> &nbsp;<strong>keyDict</strong> ()
<br></td><td align="right"><h3><strong>keyDict</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Retrieve the dictionary of accelerator action names and
 <A HREF="KKeyEntry.html">KKeyEntry</A>
 objects. Note that only a shallow copy is returned so that
 items will be lost when the <A HREF="KKeyEntry.html">KKeyEntry</A> objects are deleted.
	 </p>
<A NAME="keyInsertOrder"></A><A NAME="ref26"></A><table width="100%"><tr bgcolor="#eeeeee"><td>const <A HREF="#KKeyMapOrder">KKeyMapOrder</A>& &nbsp;<strong>keyInsertOrder</strong> ()
<br></td><td align="right"><h3><strong>keyInsertOrder</strong></h3></td></tr></table><p> <small>[const]</small></p><A NAME="keyInsertOrder"></A><A NAME="ref27"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="#KKeyMapOrder">KKeyMapOrder</A>& &nbsp;<strong>keyInsertOrder</strong> ()
<br></td><td align="right"><h3><strong>keyInsertOrder</strong></h3></td></tr></table><p></p><A NAME="readSettings"></A><A NAME="ref28"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>readSettings</strong> (<A HREF="KConfig.html">KConfig</A>* config = 0)
<br></td><td align="right"><h3><strong>readSettings</strong></h3></td></tr></table><p></p><p>
 Read all key associations from <code>config</code>, or (if <code>config</code>
 is zero) from the application's configuration file
 <A HREF="KGlobal.html#config">KGlobal::config</A>().
</p>
<p> The group in which the configuration is stored can be
 set with <A HREF="KAccel.html#setConfigGroup">setConfigGroup</A>().
	 </p>
<A NAME="readKeyMap"></A><A NAME="ref29"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>readKeyMap</strong> ( <A HREF="#KKeyEntryMap">KKeyEntryMap</A> &aKeyMap, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &group,
                                <A HREF="KConfigBase.html">KConfigBase</A> *config = 0 )
<br></td><td align="right"><h3><strong>readKeyMap</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="writeSettings"></A><A NAME="ref30"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>writeSettings</strong> (<A HREF="KConfig.html">KConfig</A>* config = 0)
<br></td><td align="right"><h3><strong>writeSettings</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Write the current configurable associations to <code>config</code>,
 or (if <code>config</code> is zero) to the application's
 configuration file.
	 </p>
<A NAME="writeKeyMap"></A><A NAME="ref31"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>writeKeyMap</strong> ( const <A HREF="#KKeyEntryMap">KKeyEntryMap</A> &aKeyMap, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& group,
            <A HREF="KConfig.html">KConfig</A> *config = 0, bool global = false )
<br></td><td align="right"><h3><strong>writeKeyMap</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 More flexible version of @see writeSettings. You can specify your
 own key map. ( writeSettings calls this function internally )
</p>
<A NAME="setConfigGroup"></A><A NAME="ref32"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setConfigGroup</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& group )
<br></td><td align="right"><h3><strong>setConfigGroup</strong></h3></td></tr></table><p></p><p>
 Set the group in the configuration file in which the
 accelerator settings are stored.
</p>
<p> By default, this is "Keys".
	 </p>
<A NAME="configGroup"></A><A NAME="ref33"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>configGroup</strong> ()
<br></td><td align="right"><h3><strong>configGroup</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Retrieve the name of the group in which accelerator
 settings are stored.
</p>
<A NAME="setConfigGlobal"></A><A NAME="ref34"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setConfigGlobal</strong> ( bool global )
<br></td><td align="right"><h3><strong>setConfigGlobal</strong></h3></td></tr></table><p></p><p>
 If <code>global</code> is true, KAccel writes to the global
  configuration file, instead of the application configuration file.
</p>
<A NAME="configGlobal"></A><A NAME="ref35"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>configGlobal</strong> ()
<br></td><td align="right"><h3><strong>configGlobal</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Will KAccel write to the global configuration file (instead of
  the application configuration file)?
</p>
<A NAME="setEnabled"></A><A NAME="ref36"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setEnabled</strong> ( bool activate )
<br></td><td align="right"><h3><strong>setEnabled</strong></h3></td></tr></table><p></p><p>
 Enable all accelerators if activate is true, or disable it if
 activate is false.
</p>
<p> Individual keys can also be enabled or disabled.
	 </p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#133d7c">QAccel</A>.</p>
<A NAME="isEnabled"></A><A NAME="ref37"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>isEnabled</strong> ()
<br></td><td align="right"><h3><strong>isEnabled</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Are accelerators enabled?
</p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#433bef">QAccel</A>.</p>
<A NAME="setItemEnabled"></A><A NAME="ref38"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setItemEnabled</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action, bool activate )
<br></td><td align="right"><h3><strong>setItemEnabled</strong></h3></td></tr></table><p></p><p>
 Enable or disable an accelerator item.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>action</i></TD><TD align="left" valign="top">The accelerator item action name.
</TD></TR>
<TR><TD align="left" valign="top"><i>activate</i></TD><TD align="left" valign="top">Specifies whether the item should be enabled or
	disabled.
	 </TD></TR>
</TABLE></P>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#58cae2">QAccel</A>.</p>
<A NAME="isItemEnabled"></A><A NAME="ref39"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>isItemEnabled</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& action )
<br></td><td align="right"><h3><strong>isItemEnabled</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Check whether a specific accelerator, <code>action</code>, is enabled.
</p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#8a96c1">QAccel</A>.</p>
<A NAME="configurable"></A><A NAME="ref40"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>configurable</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &action )
<br></td><td align="right"><h3><strong>configurable</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
 Returns <code>true</code> if keyentry can be modified.
	 </p>
<A NAME="updateItem"></A><A NAME="ref41"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>updateItem</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &action, int keyCode)
<br></td><td align="right"><h3><strong>updateItem</strong></h3></td></tr></table><p></p><p>
  Change the keycode for an accelerator.
	 </p>
<A NAME="clearItem"></A><A NAME="ref42"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>clearItem</strong> (const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &action)
<br></td><td align="right"><h3><strong>clearItem</strong></h3></td></tr></table><p></p><p>
  Remove the keycode for an accelerator.
</p>
<A NAME="removeDeletedMenu"></A><A NAME="ref43"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>removeDeletedMenu</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qpopupmenu.html">QPopupMenu</A> *menu)
<br></td><td align="right"><h3><strong>removeDeletedMenu</strong></h3></td></tr></table><p></p><p>
  Clear any pointers to a menu.
</p>
<A NAME="useFourModifierKeys"></A><A NAME="ref44"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>useFourModifierKeys</strong> ()
<br></td><td align="right"><h3><strong>useFourModifierKeys</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="useFourModifierKeys"></A><A NAME="ref45"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>useFourModifierKeys</strong> ( bool b )
<br></td><td align="right"><h3><strong>useFourModifierKeys</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="qtSupportsMetaKey"></A><A NAME="ref46"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>qtSupportsMetaKey</strong> ()
<br></td><td align="right"><h3><strong>qtSupportsMetaKey</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="stringToKey"></A><A NAME="ref47"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>stringToKey</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& sKey )
<br></td><td align="right"><h3><strong>stringToKey</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Retrieve the key code corresponding to the string <code>sKey</code> or
 zero if the string is not recognized.
</p>
<p> The string must be something like "Shift+A",
 "F1+Ctrl+Alt" or "Backspace" for example. That is, the string
 must consist of a key name plus a combination of
 the modifiers Shift, Ctrl and Alt.
</p>
<p> N.B.: <code>sKey</code> must <em>not</em> be <A HREF="#i18n">i18n</A>()'d!
	 </p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#7c073d">QAccel</A>.</p>
<A NAME="keyToString"></A><A NAME="ref48"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>keyToString</strong> ( int keyCode, bool i18_n = FALSE )
<br></td><td align="right"><h3><strong>keyToString</strong></h3></td></tr></table><p> <small>[static]</small></p><p>
 Retrieve a string corresponding to the key code <code>keyCode</code>,
 which is empty if
 <code>keyCode</code> is not recognized or zero.
	 </p>
<p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#8ecf54">QAccel</A>.</p>
<A NAME="ModKeysIndex"></A><A NAME="ref49"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong>ModKeysIndex</strong> {		ModShiftIndex, ModCapsLockIndex, ModCtrlIndex, ModAltIndex,
		ModNumLockIndex, ModModeSwitchIndex, ModMetaIndex, ModScrollLockIndex,
		MOD_KEYS
	}
</td><td align="right"><h3><strong>ModKeysIndex</strong></h3></td></tr></table><p></p><A NAME="readModifierMapping"></A><A NAME="ref50"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>readModifierMapping</strong> ()
<br></td><td align="right"><h3><strong>readModifierMapping</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="stringToKey"></A><A NAME="ref51"></A><table width="100%"><tr bgcolor="#eeeeee"><td> uint &nbsp;<strong>stringToKey</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& keyStr, uchar *pKeyCodeX, uint *pKeySymX, uint *pKeyModX )
<br></td><td align="right"><h3><strong>stringToKey</strong></h3></td></tr></table><p> <small>[static]</small></p><p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qaccel.html#7c073d">QAccel</A>.</p>
<A NAME="keyCodeXToKeySymX"></A><A NAME="ref52"></A><table width="100%"><tr bgcolor="#eeeeee"><td> uint &nbsp;<strong>keyCodeXToKeySymX</strong> ( uchar keyCodeX, uint keyModX )
<br></td><td align="right"><h3><strong>keyCodeXToKeySymX</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="keyEventXToKeyX"></A><A NAME="ref53"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>keyEventXToKeyX</strong> ( const XEvent *pEvent, uchar *pKeyCodeX, uint *pKeySymX, uint *pKeyModX )
<br></td><td align="right"><h3><strong>keyEventXToKeyX</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="keyEventXToKeyQt"></A><A NAME="ref54"></A><table width="100%"><tr bgcolor="#eeeeee"><td> uint &nbsp;<strong>keyEventXToKeyQt</strong> ( const XEvent *pEvent )
<br></td><td align="right"><h3><strong>keyEventXToKeyQt</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="keySymXIndex"></A><A NAME="ref55"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<strong>keySymXIndex</strong> ( uint keySym )
<br></td><td align="right"><h3><strong>keySymXIndex</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="keySymXMods"></A><A NAME="ref56"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>keySymXMods</strong> ( uint keySym, uint *pKeyModQt, uint *pKeyModX )
<br></td><td align="right"><h3><strong>keySymXMods</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="keyCodeXToKeyQt"></A><A NAME="ref57"></A><table width="100%"><tr bgcolor="#eeeeee"><td> uint &nbsp;<strong>keyCodeXToKeyQt</strong> ( uchar keyCodeX, uint keyModX )
<br></td><td align="right"><h3><strong>keyCodeXToKeyQt</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="keySymXToKeyQt"></A><A NAME="ref58"></A><table width="100%"><tr bgcolor="#eeeeee"><td> uint &nbsp;<strong>keySymXToKeyQt</strong> ( uint keySymX, uint keyModX )
<br></td><td align="right"><h3><strong>keySymXToKeyQt</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="keyQtToKeyX"></A><A NAME="ref59"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>keyQtToKeyX</strong> ( uint keyCombQt, uchar *pKeyCodeX, uint *pKeySymX, uint *pKeyModX )
<br></td><td align="right"><h3><strong>keyQtToKeyX</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="keyEventQtToKeyQt"></A><A NAME="ref60"></A><table width="100%"><tr bgcolor="#eeeeee"><td> uint &nbsp;<strong>keyEventQtToKeyQt</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qkeyevent.html">QKeyEvent</A>* )
<br></td><td align="right"><h3><strong>keyEventQtToKeyQt</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="keyCodeXToString"></A><A NAME="ref61"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>keyCodeXToString</strong> ( uchar keyCodeX, uint keyModX, bool bi18n )
<br></td><td align="right"><h3><strong>keyCodeXToString</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="keySymXToString"></A><A NAME="ref62"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> &nbsp;<strong>keySymXToString</strong> ( uint keySymX, uint keyModX, bool bi18n )
<br></td><td align="right"><h3><strong>keySymXToString</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="keyModXShift"></A><A NAME="ref63"></A><table width="100%"><tr bgcolor="#eeeeee"><td> uint &nbsp;<strong>keyModXShift</strong> ()
<br></td><td align="right"><h3><strong>keyModXShift</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="keyModXLock"></A><A NAME="ref64"></A><table width="100%"><tr bgcolor="#eeeeee"><td> uint &nbsp;<strong>keyModXLock</strong> ()
<br></td><td align="right"><h3><strong>keyModXLock</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="keyModXCtrl"></A><A NAME="ref65"></A><table width="100%"><tr bgcolor="#eeeeee"><td> uint &nbsp;<strong>keyModXCtrl</strong> ()
<br></td><td align="right"><h3><strong>keyModXCtrl</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="keyModXAlt"></A><A NAME="ref66"></A><table width="100%"><tr bgcolor="#eeeeee"><td> uint &nbsp;<strong>keyModXAlt</strong> ()
<br></td><td align="right"><h3><strong>keyModXAlt</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="keyModXNumLock"></A><A NAME="ref67"></A><table width="100%"><tr bgcolor="#eeeeee"><td> uint &nbsp;<strong>keyModXNumLock</strong> ()
<br></td><td align="right"><h3><strong>keyModXNumLock</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="keyModXModeSwitch"></A><A NAME="ref68"></A><table width="100%"><tr bgcolor="#eeeeee"><td> uint &nbsp;<strong>keyModXModeSwitch</strong> ()
<br></td><td align="right"><h3><strong>keyModXModeSwitch</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="keyModXMeta"></A><A NAME="ref69"></A><table width="100%"><tr bgcolor="#eeeeee"><td> uint &nbsp;<strong>keyModXMeta</strong> ()
<br></td><td align="right"><h3><strong>keyModXMeta</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="keyModXScrollLock"></A><A NAME="ref70"></A><table width="100%"><tr bgcolor="#eeeeee"><td> uint &nbsp;<strong>keyModXScrollLock</strong> ()
<br></td><td align="right"><h3><strong>keyModXScrollLock</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="accelModMaskQt"></A><A NAME="ref71"></A><table width="100%"><tr bgcolor="#eeeeee"><td> uint &nbsp;<strong>accelModMaskQt</strong> ()
<br></td><td align="right"><h3><strong>accelModMaskQt</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="accelModMaskX"></A><A NAME="ref72"></A><table width="100%"><tr bgcolor="#eeeeee"><td> uint &nbsp;<strong>accelModMaskX</strong> ()
<br></td><td align="right"><h3><strong>accelModMaskX</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="keyboardHasMetaKey"></A><A NAME="ref73"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>keyboardHasMetaKey</strong> ()
<br></td><td align="right"><h3><strong>keyboardHasMetaKey</strong></h3></td></tr></table><p> <small>[static]</small></p><A NAME="keycodeChanged"></A><A NAME="ref74"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>keycodeChanged</strong> ()
<br></td><td align="right"><h3><strong>keycodeChanged</strong></h3></td></tr></table><p> <small>[signal]</small></p><A NAME="aAvailableId"></A><A NAME="ref75"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int  <strong>aAvailableId</strong>
</td><td align="right"><h3><strong>aAvailableId</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="aKeyMap"></A><A NAME="ref76"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="#KKeyEntryMap">KKeyEntryMap</A>  <strong>aKeyMap</strong>
</td><td align="right"><h3><strong>aKeyMap</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="bEnabled"></A><A NAME="ref77"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool  <strong>bEnabled</strong>
</td><td align="right"><h3><strong>bEnabled</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="bGlobal"></A><A NAME="ref78"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool  <strong>bGlobal</strong>
</td><td align="right"><h3><strong>bGlobal</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="aGroup"></A><A NAME="ref79"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>  <strong>aGroup</strong>
</td><td align="right"><h3><strong>aGroup</strong></h3></td></tr></table><p> <small>[protected]</small></p><HR><UL><LI><i>Version</i>: $Id: kaccel.h,v 1.55 2001/06/19 18:59:17 ellis Exp $
 </LI><LI><i>Generated</i>: qateam on updates.mandrakesoft.com on Mon Dec 30 16:08:56 2002, using kdoc 2.0a53.</LI></UL></BODY></HTML>