undodcopinterface.cpp
#include "undodcopinterface.h"
#include "undointerface.h"
#include <dcopclient.h>
using namespace KTextEditor;
UndoDCOPInterface::UndoDCOPInterface( UndoInterface *Parent, const char *name)
: DCOPObject(name)
{
m_parent = Parent;
}
UndoDCOPInterface::~UndoDCOPInterface()
{
}
uint UndoDCOPInterface::undoInterfaceNumber ()
{
return m_parent->undoInterfaceNumber();
}
void UndoDCOPInterface::undo ()
{
m_parent->undo();
}
void UndoDCOPInterface::redo ()
{
m_parent->redo();
}
void UndoDCOPInterface::clearUndo ()
{
m_parent->clearUndo();
}
void UndoDCOPInterface::clearRedo ()
{
m_parent->clearRedo();
}
uint UndoDCOPInterface::undoCount ()
{
return m_parent->undoCount();
}
uint UndoDCOPInterface::redoCount ()
{
return m_parent->redoCount();
}
uint UndoDCOPInterface::undoSteps ()
{
return m_parent->undoSteps();
}
void UndoDCOPInterface::setUndoSteps ( uint steps )
{
m_parent->setUndoSteps(steps);
}
void UndoDCOPInterface::undoChanged ()
{
m_parent->undoChanged();
}
KTextEditor::UndoDCOPInterface::UndoDCOPInterface
UndoDCOPInterface(UndoInterface *Parent, const char *name)
Construct a new interface object for the text editor.
Definition: undodcopinterface.cpp:7
KTextEditor::UndoInterface::undoSteps
virtual unsigned int undoSteps() const =0
returns the maximum of undo steps possible, 0 means no limit !
KTextEditor::UndoInterface
This is an interface to undo functionality of a Document.
Definition: undointerface.h:32
KTextEditor::UndoDCOPInterface::~UndoDCOPInterface
virtual ~UndoDCOPInterface()
Destructor Cleans up the object.
Definition: undodcopinterface.cpp:13
DCOPObject

KDE Home | KDE Accessibility Home | Description of Access Keys