.TH "KNamedCommand" 3 "28 Jan 2004" "kdeui Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KNamedCommand \- A command which stores its name.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kcommand.h>\fP
.PP
Inherits \fBKCommand\fP.
.PP
Inherited by \fBKMacroCommand\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "virtual \fBQString\fP \fBname\fP () const "
.br
.ti -1c
.RI "void \fBsetName\fP (const  \fBQString\fP &name)"
.br
.RI "\fIUpdates the name of this command. \fP"
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "\fBKNamedCommand\fP (const  \fBQString\fP &name)"
.br
.RI "\fICreates a command. \fP"
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SH "Detailed Description"
.PP 
A command which stores its name. 

This class mostly exists for compatibility with KDE-2.x It is more memory-efficient to use \fBKCommand\fP and to implement the \fBname()\fP method. 
.PP
Definition at line 77 of file kcommand.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KNamedCommand::KNamedCommand (const \fBQString\fP & name)\fC [inline, protected]\fP"
.PP
Creates a command. \fBParameters:\fP
.RS 4
\fIname\fP the name of this command, translated, since it will appear in the menus. 
.RE
.PP
Definition at line 85 of file kcommand.h.
.PP
References name().
.SH "Member Function Documentation"
.PP 
.SS "virtual \fBQString\fP KNamedCommand::name () const\fC [inline, virtual]\fP"
.PP
\fBReturns:\fP
.RS 4
the name of this command 
.RE
.PP
Implements \fBKCommand\fP.
.PP
Definition at line 91 of file kcommand.h.
.PP
Referenced by KNamedCommand().
.SS "void KNamedCommand::setName (const \fBQString\fP & name)\fC [inline]\fP"
.PP
Updates the name of this command. Rarely necessary. Definition at line 96 of file kcommand.h.
.PP
References KStdAccel::name().

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