Sophie

Sophie

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

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

<HTML>
<HEAD>
<TITLE>class KKeyChooser</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 KKeyChooser</h1>
		</TD>
		<TD valign="top" align="right" colspan="1">Widget for configuration of <A HREF="../kdecore/KAccel.html">KAccel</A> and <A HREF="../kdecore/KGlobalAccel.html">KGlobalAccel</A>.
 <small><A HREF="#longdesc">More...</A></small></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		<TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="kkeydialog_h.html">kkeydialog.h</A>&gt;</code></TD></TR>
<TR><TH>Inherits</TH><TD><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> <small>(qt)</small> <small>[public ]</small></TD></TR>
<TR><TH><A HREF="full-list-KKeyChooser.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="#ref1"></A> { NoKey = 1, DefaultKey, CustomKey }
</LI>
</ul><h4>Public Methods</h4><ul><LI>&nbsp;<b><A HREF="#ref2">KKeyChooser</A></b> ( KKeyEntryMap *aKeyMap, KKeyMapOrder *pMapOrder, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* parent,
		bool check_against_std_keys,
		bool bAllowLetterShortcuts,
		bool bAllowMetaKey = false ) 
</LI>
<LI>&nbsp;<b><A HREF="#ref3">KKeyChooser</A></b> ( KKeyEntryMap *aKeyMap, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* parent,
		bool check_against_std_keys,
		bool bAllowLetterShortcuts,
		bool bAllowMetaKey = false ) 
</LI>
<LI>&nbsp;<b><A HREF="#ref4">KKeyChooser</A></b> ( KKeyEntryMap *aKeyDict, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* parent = 0,
                 bool check_against_std_keys = false ) 
</LI>
<LI>&nbsp;<b><A HREF="#ref5">~KKeyChooser</A></b> () 
</LI>
</ul><h4>Public Slots</h4><ul><LI>void &nbsp;<b><A HREF="#ref8">allDefault</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref9">allDefault</A></b> ( bool useFourModifierKeys ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref10">setPreferFourModifierKeys</A></b> ( bool preferFourModifierKeys ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref11">listSync</A></b> () 
</LI>
</ul><h4>Signals</h4><ul><LI>void &nbsp;<b><A HREF="#ref7">keyChange</A></b> () 
</LI>
</ul><h4>Protected Methods</h4><ul><LI>void &nbsp;<b><A HREF="#ref6">init</A></b> ( KKeyEntryMap *aKeyMap, KKeyMapOrder *pMapOrder,
		bool check_against_std_keys,
		bool bAllowLetterShortcuts,
		bool bAllowMetaKey ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref26">fontChange</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qfont.html">QFont</A>& _font ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref27">readKeysInternal</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdict.html">QDict</A>< int >* dict, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& group ) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref28">isKeyPresent</A></b> (int kcode, bool warnuser = true ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref29">setKey</A></b> ( int kCode ) 
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdict.html">QDict</A><int>* &nbsp;<b><A HREF="#ref30">globalDict</A></b> () 
</LI>
<LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdict.html">QDict</A><int>* &nbsp;<b><A HREF="#ref31">stdDict</A></b> () 
</LI>
</ul><h4>Protected Slots</h4><ul><LI>void &nbsp;<b><A HREF="#ref12">toChange</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qlistviewitem.html">QListViewItem</A> *item ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref13">changeKey</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref14">capturedKey</A></b> ( uint key ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref15">updateAction</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qlistviewitem.html">QListViewItem</A> *item ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref16">defaultKey</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref17">noKey</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref18">keyMode</A></b> ( int _mode ) 
</LI>
<LI>void &nbsp;<b><A HREF="#ref19">shiftClicked</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref20">ctrlClicked</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref21">altClicked</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref22">editKey</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref23">editEnd</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref24">readGlobalKeys</A></b> () 
</LI>
<LI>void &nbsp;<b><A HREF="#ref25">readStdKeys</A></b> () 
</LI>
</ul><h4>Protected Members</h4><ul><LI>KKeyChooserPrivate *<b><A HREF="#ref32">d</A></b></LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
 Configure dictionaries of key/action associations for KAccel and
 KGlobalAccel.
</p>
<p> The class takes care of all aspects of configuration, including
 handling key conflicts internally. Connect to the <A HREF="KKeyChooser.html#allDefault">allDefault</A>()
 slot if you want to set all configurable keybindings to their
 default values.
</p>
<p></p>
<p> </p>
<p><b>See also</b>: <A HREF="KKeyDialog.html">KKeyDialog</A></p>
<A NAME=""></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong></strong> { NoKey = 1, DefaultKey, CustomKey }
</td><td align="right"><h3><strong></strong></h3></td></tr></table><p></p><A NAME="KKeyChooser"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KKeyChooser</strong> ( KKeyEntryMap *aKeyMap, KKeyMapOrder *pMapOrder, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* parent,
		bool check_against_std_keys,
		bool bAllowLetterShortcuts,
		bool bAllowMetaKey = false )
<br></td><td align="right"><h3><strong>KKeyChooser</strong></h3></td></tr></table><p></p><p>
 Constructor.
</p>
<p></p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>aKeyDict</i></TD><TD align="left" valign="top">A dictionary (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qmap.html">QMap</A>) of key definitons.
</TD></TR>
</TABLE></P>
<A NAME="KKeyChooser"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KKeyChooser</strong> ( KKeyEntryMap *aKeyMap, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* parent,
		bool check_against_std_keys,
		bool bAllowLetterShortcuts,
		bool bAllowMetaKey = false )
<br></td><td align="right"><h3><strong>KKeyChooser</strong></h3></td></tr></table><p></p><A NAME="KKeyChooser"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>KKeyChooser</strong> ( KKeyEntryMap *aKeyDict, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A>* parent = 0,
                 bool check_against_std_keys = false )
<br></td><td align="right"><h3><strong>KKeyChooser</strong></h3></td></tr></table><p></p><A NAME="~KKeyChooser"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>~KKeyChooser</strong> ()
<br></td><td align="right"><h3><strong>~KKeyChooser</strong></h3></td></tr></table><p></p><A NAME="init"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>init</strong> ( KKeyEntryMap *aKeyMap, KKeyMapOrder *pMapOrder,
		bool check_against_std_keys,
		bool bAllowLetterShortcuts,
		bool bAllowMetaKey )
<br></td><td align="right"><h3><strong>init</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="keyChange"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>keyChange</strong> ()
<br></td><td align="right"><h3><strong>keyChange</strong></h3></td></tr></table><p> <small>[signal]</small></p><p>
 Emitted when a key definition has been changed.
</p>
<A NAME="allDefault"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>allDefault</strong> ()
<br></td><td align="right"><h3><strong>allDefault</strong></h3></td></tr></table><p> <small>[slot]</small></p><p>
 Set all keys to their default values (bindings).
</p>
<A NAME="allDefault"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>allDefault</strong> ( bool useFourModifierKeys )
<br></td><td align="right"><h3><strong>allDefault</strong></h3></td></tr></table><p> <small>[slot]</small></p><A NAME="setPreferFourModifierKeys"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setPreferFourModifierKeys</strong> ( bool preferFourModifierKeys )
<br></td><td align="right"><h3><strong>setPreferFourModifierKeys</strong></h3></td></tr></table><p> <small>[slot]</small></p><A NAME="listSync"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>listSync</strong> ()
<br></td><td align="right"><h3><strong>listSync</strong></h3></td></tr></table><p> <small>[slot]</small></p><p>
 Set all list entries to their changed values.
 Use this if you changed the underlying map
</p>
<A NAME="toChange"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>toChange</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qlistviewitem.html">QListViewItem</A> *item )
<br></td><td align="right"><h3><strong>toChange</strong></h3></td></tr></table><p> <small>[protected slots slot]</small></p><A NAME="changeKey"></A><A NAME="ref13"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>changeKey</strong> ()
<br></td><td align="right"><h3><strong>changeKey</strong></h3></td></tr></table><p> <small>[protected slots slot]</small></p><A NAME="capturedKey"></A><A NAME="ref14"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>capturedKey</strong> ( uint key )
<br></td><td align="right"><h3><strong>capturedKey</strong></h3></td></tr></table><p> <small>[protected slots slot]</small></p><A NAME="updateAction"></A><A NAME="ref15"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>updateAction</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qlistviewitem.html">QListViewItem</A> *item )
<br></td><td align="right"><h3><strong>updateAction</strong></h3></td></tr></table><p> <small>[protected slots slot]</small></p><A NAME="defaultKey"></A><A NAME="ref16"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>defaultKey</strong> ()
<br></td><td align="right"><h3><strong>defaultKey</strong></h3></td></tr></table><p> <small>[protected slots slot]</small></p><A NAME="noKey"></A><A NAME="ref17"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>noKey</strong> ()
<br></td><td align="right"><h3><strong>noKey</strong></h3></td></tr></table><p> <small>[protected slots slot]</small></p><A NAME="keyMode"></A><A NAME="ref18"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>keyMode</strong> ( int _mode )
<br></td><td align="right"><h3><strong>keyMode</strong></h3></td></tr></table><p> <small>[protected slots slot]</small></p><A NAME="shiftClicked"></A><A NAME="ref19"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>shiftClicked</strong> ()
<br></td><td align="right"><h3><strong>shiftClicked</strong></h3></td></tr></table><p> <small>[protected slots slot]</small></p><A NAME="ctrlClicked"></A><A NAME="ref20"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>ctrlClicked</strong> ()
<br></td><td align="right"><h3><strong>ctrlClicked</strong></h3></td></tr></table><p> <small>[protected slots slot]</small></p><A NAME="altClicked"></A><A NAME="ref21"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>altClicked</strong> ()
<br></td><td align="right"><h3><strong>altClicked</strong></h3></td></tr></table><p> <small>[protected slots slot]</small></p><A NAME="editKey"></A><A NAME="ref22"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>editKey</strong> ()
<br></td><td align="right"><h3><strong>editKey</strong></h3></td></tr></table><p> <small>[protected slots slot]</small></p><A NAME="editEnd"></A><A NAME="ref23"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>editEnd</strong> ()
<br></td><td align="right"><h3><strong>editEnd</strong></h3></td></tr></table><p> <small>[protected slots slot]</small></p><A NAME="readGlobalKeys"></A><A NAME="ref24"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>readGlobalKeys</strong> ()
<br></td><td align="right"><h3><strong>readGlobalKeys</strong></h3></td></tr></table><p> <small>[protected slots slot]</small></p><A NAME="readStdKeys"></A><A NAME="ref25"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>readStdKeys</strong> ()
<br></td><td align="right"><h3><strong>readStdKeys</strong></h3></td></tr></table><p> <small>[protected slots slot]</small></p><A NAME="fontChange"></A><A NAME="ref26"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>fontChange</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qfont.html">QFont</A>& _font )
<br></td><td align="right"><h3><strong>fontChange</strong></h3></td></tr></table><p> <small>[protected]</small></p><p>Reimplemented from <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html#570a8f">QWidget</A>.</p>
<A NAME="readKeysInternal"></A><A NAME="ref27"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>readKeysInternal</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdict.html">QDict</A>< int >* dict, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& group )
<br></td><td align="right"><h3><strong>readKeysInternal</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="isKeyPresent"></A><A NAME="ref28"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>isKeyPresent</strong> (int kcode, bool warnuser = true )
<br></td><td align="right"><h3><strong>isKeyPresent</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="setKey"></A><A NAME="ref29"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setKey</strong> ( int kCode )
<br></td><td align="right"><h3><strong>setKey</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="globalDict"></A><A NAME="ref30"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdict.html">QDict</A><int>* &nbsp;<strong>globalDict</strong> ()
<br></td><td align="right"><h3><strong>globalDict</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="stdDict"></A><A NAME="ref31"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qdict.html">QDict</A><int>* &nbsp;<strong>stdDict</strong> ()
<br></td><td align="right"><h3><strong>stdDict</strong></h3></td></tr></table><p> <small>[protected]</small></p><A NAME="d"></A><A NAME="ref32"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="#KKeyChooserPrivate">KKeyChooserPrivate</A> * <strong>d</strong>
</td><td align="right"><h3><strong>d</strong></h3></td></tr></table><p> <small>[protected]</small></p><HR><UL><LI><i>Version</i>: $Id: kkeydialog.h,v 1.38 2001/06/10 03:58:36 ellis Exp $
</LI><LI><i>Author</i>: Nicolas Hadacek <hadacek@via.ecp.fr>
</LI><LI><i>Generated</i>: qateam on updates.mandrakesoft.com on Mon Dec 30 16:09:05 2002, using kdoc 2.0a53.</LI></UL></BODY></HTML>