.TH "KAccelShortcutList" kde3 "11 Jun 2005" "Version Version 3.4.1" "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
.ti -1c
.RI "\fBKAccelShortcutList\fP (\fBKGlobalAccel\fP *accel)"
.br
.ti -1c
.RI "\fBKAccelShortcutList\fP (KAccelActions &actions, bool bGlobal)"
.br
.ti -1c
.RI "virtual uint \fBcount\fP () const "
.br
.ti -1c
.RI "virtual \fBQString\fP \fBname\fP (uint index) const "
.br
.ti -1c
.RI "virtual \fBQString\fP \fBlabel\fP (uint index) const "
.br
.ti -1c
.RI "virtual \fBQString\fP \fBwhatsThis\fP (uint index) const "
.br
.ti -1c
.RI "virtual const \fBKShortcut\fP & \fBshortcut\fP (uint index) const "
.br
.ti -1c
.RI "virtual const \fBKShortcut\fP & \fBshortcutDefault\fP (uint index) const "
.br
.ti -1c
.RI "virtual bool \fBisConfigurable\fP (uint index) const "
.br
.ti -1c
.RI "virtual bool \fBsetShortcut\fP (uint index, const \fBKShortcut\fP &shortcut)"
.br
.ti -1c
.RI "virtual bool \fBisGlobal\fP (uint index) const "
.br
.ti -1c
.RI "virtual \fBQVariant\fP \fBgetOther\fP (Other, uint index) const "
.br
.ti -1c
.RI "virtual bool \fBsetOther\fP (Other, uint index, \fBQVariant\fP)"
.br
.ti -1c
.RI "virtual bool \fBsave\fP () const "
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.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. 
.PP
Definition at line 198 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. 
.PP
\fBParameters:\fP
.RS 4
\fIaccel\fP the accelerators to access
.RE
.PP

.PP
Definition at line 161 of file kshortcutlist.cpp.
.SS "KAccelShortcutList::KAccelShortcutList (\fBKGlobalAccel\fP * accel)"
.PP
Creates a new \fBKShortcutList\fP that accesses the given \fBKGlobalAccel\fP. 
.PP
\fBParameters:\fP
.RS 4
\fIaccel\fP the accelerators to access
.RE
.PP

.PP
Definition at line 169 of file kshortcutlist.cpp.
.SH "Member Function Documentation"
.PP 
.SS "uint KAccelShortcutList::count () const\fC [virtual]\fP"
.PP
Returns the number of entries. 
.PP
\fBReturns:\fP
.RS 4
the number of entries
.RE
.PP

.PP
Implements \fBKShortcutList\fP.
.PP
Definition at line 187 of file kshortcutlist.cpp.
.SS "\fBQString\fP KAccelShortcutList::name (uint index) const\fC [virtual]\fP"
.PP
Returns the name of the shortcut with the given \fCindex\fP. 
.PP
\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

.PP
Implements \fBKShortcutList\fP.
.PP
Definition at line 189 of file kshortcutlist.cpp.
.SS "\fBQString\fP KAccelShortcutList::label (uint index) const\fC [virtual]\fP"
.PP
Returns the (i18n'd) label of the shortcut with the given \fCindex\fP. 
.PP
\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

.PP
Implements \fBKShortcutList\fP.
.PP
Definition at line 191 of file kshortcutlist.cpp.
.SS "\fBQString\fP KAccelShortcutList::whatsThis (uint index) const\fC [virtual]\fP"
.PP
Returns the (i18n'd) What's This text of the shortcut with the given \fCindex\fP. 
.PP
\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

.PP
Implements \fBKShortcutList\fP.
.PP
Definition at line 193 of file kshortcutlist.cpp.
.SS "const \fBKShortcut\fP & KAccelShortcutList::shortcut (uint index) const\fC [virtual]\fP"
.PP
Returns the shortcut with the given \fCindex\fP. 
.PP
\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

.PP
Implements \fBKShortcutList\fP.
.PP
Definition at line 195 of file kshortcutlist.cpp.
.SS "const \fBKShortcut\fP & KAccelShortcutList::shortcutDefault (uint index) const\fC [virtual]\fP"
.PP
Returns default shortcut with the given \fCindex\fP. 
.PP
\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

.PP
Implements \fBKShortcutList\fP.
.PP
Definition at line 197 of file kshortcutlist.cpp.
.SS "bool KAccelShortcutList::isConfigurable (uint index) const\fC [virtual]\fP"
.PP
Checks whether the shortcut with the given \fCindex\fP is configurable. 
.PP
\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

.PP
Implements \fBKShortcutList\fP.
.PP
Definition at line 199 of file kshortcutlist.cpp.
.SS "bool KAccelShortcutList::setShortcut (uint index, const \fBKShortcut\fP & shortcut)\fC [virtual]\fP"
.PP
Sets the shortcut of the given entry. 
.PP
\fBParameters:\fP
.RS 4
\fIindex\fP the index of the shortcut (must be < \fBcount()\fP) 
.br
\fIshortcut\fP the shortcut
.RE
.PP

.PP
Implements \fBKShortcutList\fP.
.PP
Definition at line 201 of file kshortcutlist.cpp.
.SS "bool KAccelShortcutList::isGlobal (uint index) const\fC [virtual]\fP"
.PP
Checks whether the shortcut with the given \fCindex\fP is saved in the global configuration. 
.PP
\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

.PP
Reimplemented from \fBKShortcutList\fP.
.PP
Definition at line 205 of file kshortcutlist.cpp.
.SS "bool KAccelShortcutList::save () const\fC [virtual]\fP"
.PP
Save the shortcut list. 
.PP
\fBReturns:\fP
.RS 4
true if successful, false otherwise
.RE
.PP

.PP
Implements \fBKShortcutList\fP.
.PP
Definition at line 209 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 
.PP
Reimplemented from \fBKShortcutList\fP.
.PP
Definition at line 215 of file kshortcutlist.cpp.
.PP
References KShortcutList::virtual_hook().

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