KNamedCommand Class Reference
#include <kcommand.h>
Inheritance diagram for KNamedCommand:

Detailed Description
A command which stores its name.It is more memory-efficient to use KCommand and to implement the name() method, but in some cases it's more simple or more flexible to store the name at creation time.
Definition at line 78 of file kcommand.h.
Public Member Functions | |
virtual QString | name () const |
void | setName (const QString &name) |
Protected Member Functions | |
KNamedCommand (const QString &name) | |
virtual void | virtual_hook (int id, void *data) |
Constructor & Destructor Documentation
|
Creates a command.
Definition at line 86 of file kcommand.h. |
Member Function Documentation
|
Implements KCommand. Definition at line 92 of file kcommand.h. |
|
Updates the name of this command. Rarely necessary. Definition at line 97 of file kcommand.h. |
The documentation for this class was generated from the following files: