class KNamedCommand

# class KNamedCommand | A command which stores its name. More...
Definition | `#include <kcommand.h>`
Inherits | KCommand [public ]
Inherited by | KMacroCommand
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- virtual QString name () const
- void setName (const QString &name)

#### Protected Methods

- KNamedCommand (const QString &name)
- virtual void virtual_hook ( int id, void* data )

## Detailed Description

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: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:37 2003, using kdoc 2.0a54.