lib

KoTextCommand Class Reference

#include <KoTextCommand.h>

Inheritance diagram for KoTextCommand:

KNamedCommand KCommand

List of all members.


Detailed Description

Wraps a KoTextDocCommand into a KCommand, for the UI In fact the KoTextDocCommand isn't even known from here.

When the UI orders execute or unexecute, we simply call undo/redo on the KoTextObject. Since one KCommand is created for each command there, the two simply map.

Definition at line 38 of file KoTextCommand.h.


Public Member Functions

 KoTextCommand (KoTextObject *textobj, const QString &name)
virtual void execute ()
virtual void unexecute ()

Protected Attributes

KoTextObjectm_textobj

The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys