|
|
A command which stores its name. This class mostly exists for compatibility with KDE-2.x It is more memory-efficient to use KCommand and to implement the name() method.
KNamedCommand (const QString &name)
| KNamedCommand |
[protected]
Creates a command.
Parameters:
name | the name of this command, translated, since it will appear in the menus. |
QString name ()
| name |
[const virtual]
Returns: the name of this command
Reimplemented from KCommand.
void setName (const QString &name)
| setName |
Updates the name of this command. Rarely necessary.
void virtual_hook ( int id, void* data )
| virtual_hook |
[protected virtual]
Reimplemented from KCommand.
Generated by: caleb on tcdevel on Tue Jan 28 12:54:10 2003, using kdoc $. |