.TH "KAccelShortcutList" 3 "28 Jan 2004" "kdecore Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KAccelShortcutList \- \fBKShortcutList\fP implementation to access \fBKAccel\fP and \fBKGlobalAccel\fP lists.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kshortcutlist.h>\fP
.PP
Inherits \fBKShortcutList\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKAccelShortcutList\fP (\fBKAccel\fP *accel)"
.br
.RI "\fICreates a new \fBKShortcutList\fP that accesses the given \fBKAccel\fP. \fP"
.ti -1c
.RI "\fBKAccelShortcutList\fP (\fBKGlobalAccel\fP *accel)"
.br
.RI "\fICreates a new \fBKShortcutList\fP that accesses the given \fBKGlobalAccel\fP. \fP"
.ti -1c
.RI "\fBKAccelShortcutList\fP (KAccelActions &actions, bool bGlobal)"
.br
.ti -1c
.RI "virtual unsigned int \fBcount\fP () const "
.br
.RI "\fIReturns the number of entries. \fP"
.ti -1c
.RI "virtual \fBQString\fP \fBname\fP (unsigned int index) const "
.br
.RI "\fIReturns the name of the shortcut with the given \fCindex\fP. \fP"
.ti -1c
.RI "virtual \fBQString\fP \fBlabel\fP (unsigned int index) const "
.br
.RI "\fIReturns the (i18n'd) label of the shortcut with the given \fCindex\fP. \fP"
.ti -1c
.RI "virtual \fBQString\fP \fBwhatsThis\fP (unsigned int index) const "
.br
.RI "\fIReturns the (i18n'd) What's This text of the shortcut with the given \fCindex\fP. \fP"
.ti -1c
.RI "virtual const  KShortcut & \fBshortcut\fP (unsigned int index) const "
.br
.RI "\fIReturns the shortcut with the given \fCindex\fP. \fP"
.ti -1c
.RI "virtual const  KShortcut & \fBshortcutDefault\fP (unsigned int index) const "
.br
.RI "\fIReturns default shortcut with the given \fCindex\fP. \fP"
.ti -1c
.RI "virtual bool \fBisConfigurable\fP (unsigned int index) const "
.br
.RI "\fIChecks whether the shortcut with the given \fCindex\fP is configurable. \fP"
.ti -1c
.RI "virtual bool \fBsetShortcut\fP (unsigned int index, const  KShortcut &shortcut)"
.br
.RI "\fISets the shortcut of the given entry. \fP"
.ti -1c
.RI "virtual bool \fBisGlobal\fP (unsigned int index) const "
.br
.RI "\fIChecks whether the shortcut with the given \fCindex\fP is saved in the global configuration. \fP"
.ti -1c
.RI "virtual \fBQVariant\fP \fBgetOther\fP (Other, unsigned int index) const "
.br
.ti -1c
.RI "virtual bool \fBsetOther\fP (Other, unsigned int index, \fBQVariant\fP)"
.br
.ti -1c
.RI "virtual bool \fBsave\fP () const "
.br
.RI "\fISave the shortcut list. \fP"
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.RI "\fIused to extend the interface with virtuals without breaking binary compatibility \fP"
.in -1c
.SS "Protected Attributes"

.in +1c
.ti -1c
.RI "KAccelActions & \fBm_actions\fP"
.br
.ti -1c
.RI "bool \fBm_bGlobal\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
\fBKShortcutList\fP implementation to access \fBKAccel\fP and \fBKGlobalAccel\fP lists. Definition at line 192 of file kshortcutlist.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KAccelShortcutList::KAccelShortcutList (\fBKAccel\fP * accel)"
.PP
Creates a new \fBKShortcutList\fP that accesses the given \fBKAccel\fP. \fBParameters:\fP
.RS 4
\fIaccel\fP the accelerators to access
.RE
.PP
Definition at line 150 of file kshortcutlist.cpp.
.SS "KAccelShortcutList::KAccelShortcutList (\fBKGlobalAccel\fP * accel)"
.PP
Creates a new \fBKShortcutList\fP that accesses the given \fBKGlobalAccel\fP. \fBParameters:\fP
.RS 4
\fIaccel\fP the accelerators to access
.RE
.PP
Definition at line 156 of file kshortcutlist.cpp.
.SH "Member Function Documentation"
.PP 
.SS "uint KAccelShortcutList::count () const\fC [virtual]\fP"
.PP
Returns the number of entries. \fBReturns:\fP
.RS 4
the number of entries
.RE
.PP
Implements \fBKShortcutList\fP.
.PP
Definition at line 171 of file kshortcutlist.cpp.
.SS "virtual \fBQString\fP KAccelShortcutList::name (unsigned int index) const\fC [virtual]\fP"
.PP
Returns the name of the shortcut with the given \fCindex\fP. \fBParameters:\fP
.RS 4
\fIindex\fP the index of the shortcut (must be < \fBcount\fP()) 
.RE
.PP
\fBReturns:\fP
.RS 4
the name of the shortcut
.RE
.PP
Implements \fBKShortcutList\fP.
.SS "virtual \fBQString\fP KAccelShortcutList::label (unsigned int index) const\fC [virtual]\fP"
.PP
Returns the (i18n'd) label of the shortcut with the given \fCindex\fP. \fBParameters:\fP
.RS 4
\fIindex\fP the index of the shortcut (must be < \fBcount\fP()) 
.RE
.PP
\fBReturns:\fP
.RS 4
the label (i18n'd) of the shortcut
.RE
.PP
Implements \fBKShortcutList\fP.
.SS "virtual \fBQString\fP KAccelShortcutList::whatsThis (unsigned int index) const\fC [virtual]\fP"
.PP
Returns the (i18n'd) What's This text of the shortcut with the given \fCindex\fP. \fBParameters:\fP
.RS 4
\fIindex\fP the index of the shortcut (must be < \fBcount\fP()) 
.RE
.PP
\fBReturns:\fP
.RS 4
the What's This text (i18n'd) of the shortcut
.RE
.PP
Implements \fBKShortcutList\fP.
.SS "virtual const KShortcut& KAccelShortcutList::shortcut (unsigned int index) const\fC [virtual]\fP"
.PP
Returns the shortcut with the given \fCindex\fP. \fBParameters:\fP
.RS 4
\fIindex\fP the index of the shortcut (must be < \fBcount\fP()) 
.RE
.PP
\fBReturns:\fP
.RS 4
the shortcut 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBshortcutDefault()\fP
.RE
.PP
Implements \fBKShortcutList\fP.
.SS "virtual const KShortcut& KAccelShortcutList::shortcutDefault (unsigned int index) const\fC [virtual]\fP"
.PP
Returns default shortcut with the given \fCindex\fP. \fBParameters:\fP
.RS 4
\fIindex\fP the index of the shortcut (must be < \fBcount\fP()) 
.RE
.PP
\fBReturns:\fP
.RS 4
the default shortcut 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBshortcut()\fP
.RE
.PP
Implements \fBKShortcutList\fP.
.SS "virtual bool KAccelShortcutList::isConfigurable (unsigned int index) const\fC [virtual]\fP"
.PP
Checks whether the shortcut with the given \fCindex\fP is configurable. \fBParameters:\fP
.RS 4
\fIindex\fP the index of the shortcut (must be < \fBcount\fP()) 
.RE
.PP
\fBReturns:\fP
.RS 4
true if configurable, false otherwise
.RE
.PP
Implements \fBKShortcutList\fP.
.SS "virtual bool KAccelShortcutList::setShortcut (unsigned int index, const KShortcut & shortcut)\fC [virtual]\fP"
.PP
Sets the shortcut of the given entry. \fBParameters:\fP
.RS 4
\fIindex\fP the index of the shortcut (must be < \fBcount\fP()) 
.br
\fIshortcut\fP the shortcut
.RE
.PP
Implements \fBKShortcutList\fP.
.SS "virtual bool KAccelShortcutList::isGlobal (unsigned int index) const\fC [virtual]\fP"
.PP
Checks whether the shortcut with the given \fCindex\fP is saved in the global configuration. \fBParameters:\fP
.RS 4
\fIindex\fP the index of the shortcut (must be < \fBcount\fP()) 
.RE
.PP
\fBReturns:\fP
.RS 4
true if global, false otherwise
.RE
.PP
Reimplemented from \fBKShortcutList\fP.
.SS "bool KAccelShortcutList::save () const\fC [virtual]\fP"
.PP
Save the shortcut list. \fBReturns:\fP
.RS 4
true if successful, false otherwise
.RE
.PP
Implements \fBKShortcutList\fP.
.PP
Definition at line 193 of file kshortcutlist.cpp.
.PP
References KShortcutList::writeSettings().
.SS "void KAccelShortcutList::virtual_hook (int id, void * data)\fC [protected, virtual]\fP"
.PP
used to extend the interface with virtuals without breaking binary compatibility Reimplemented from \fBKShortcutList\fP.
.PP
Definition at line 199 of file kshortcutlist.cpp.
.PP
References KShortcutList::virtual_hook().

.SH "Author"
.PP 
Generated automatically by Doxygen for kdecore Library from the source code.
