KoTextCommand Class Reference
Wraps a KoTextDocCommand into a KCommand, for the UI In fact the KoTextDocCommand isn't even known from here. More...
#include <kocommand.h>
Collaboration diagram for KoTextCommand:

Public Member Functions | |
KoTextCommand (KoTextObject *textobj, const QString &name) | |
virtual void | execute () |
virtual void | unexecute () |
Protected Attributes | |
KoTextObject * | m_textobj |
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 kocommand.h.
The documentation for this class was generated from the following files: