lib Library API Documentation

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>

List of all members.

Public Member Functions

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

Protected Attributes

KoTextObjectm_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:
KDE Logo
This file is part of the documentation for lib Library Version 1.3.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Sep 24 18:22:32 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003