• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

kdeui

KNamedCommand Class Reference

#include <kcommand.h>

Inheritance diagram for KNamedCommand:

KCommand KMacroCommand

List of all members.


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

KNamedCommand::KNamedCommand ( const QString &  name  )  [inline, protected]

Creates a command.

Parameters:
name the name of this command, translated, since it will appear in the menus.

Definition at line 86 of file kcommand.h.


Member Function Documentation

virtual QString KNamedCommand::name (  )  const [inline, virtual]

Returns:
the name of this command

Implements KCommand.

Definition at line 92 of file kcommand.h.

void KNamedCommand::setName ( const QString &  name  )  [inline]

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:
  • kcommand.h
  • kcommand.cpp

kdeui

Skip menu "kdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal