1 #include "undodcopinterface.h"
2 #include "undointerface.h"
4 #include <dcopclient.h>
18 uint UndoDCOPInterface::undoInterfaceNumber ()
20 return m_parent->undoInterfaceNumber();
22 void UndoDCOPInterface::undo ()
26 void UndoDCOPInterface::redo ()
30 void UndoDCOPInterface::clearUndo ()
32 m_parent->clearUndo();
34 void UndoDCOPInterface::clearRedo ()
36 m_parent->clearRedo();
38 uint UndoDCOPInterface::undoCount ()
40 return m_parent->undoCount();
42 uint UndoDCOPInterface::redoCount ()
44 return m_parent->redoCount();
46 uint UndoDCOPInterface::undoSteps ()
50 void UndoDCOPInterface::setUndoSteps ( uint steps )
52 m_parent->setUndoSteps(steps);
54 void UndoDCOPInterface::undoChanged ()
56 m_parent->undoChanged();
This is an interface to undo functionality of a Document.
virtual unsigned int undoSteps() const =0
returns the maximum of undo steps possible, 0 means no limit !
UndoDCOPInterface(UndoInterface *Parent, const char *name)
Construct a new interface object for the text editor.
KTextEditor is KDE's standard text editing KPart interface.
virtual ~UndoDCOPInterface()
Destructor Cleans up the object.