21 #include "undointerface.h"
22 #include "undodcopinterface.h"
28 class PrivateUndoInterface
31 PrivateUndoInterface() {
interface = 0;}
32 ~PrivateUndoInterface() {}
40 unsigned int UndoInterface::globalUndoInterfaceNumber = 0;
42 UndoInterface::UndoInterface()
44 globalUndoInterfaceNumber++;
45 myUndoInterfaceNumber = globalUndoInterfaceNumber++;
47 d =
new PrivateUndoInterface();
48 TQString
name =
"UndoInterface#" + TQString::number(myUndoInterfaceNumber);
52 UndoInterface::~UndoInterface()
58 unsigned int UndoInterface::undoInterfaceNumber ()
const
60 return myUndoInterfaceNumber;
63 void UndoInterface::setUndoInterfaceDCOPSuffix (
const TQCString &suffix)
65 d->interface->setObjId (
"UndoInterface#"+suffix);
This is an interface to undo functionality of a Document.
TQString name(StdAccel id)
KTextEditor is KDE's standard text editing KPart interface.
This is the main interface to the UndoInterface of KTextEdit.
The main class representing a text document.