21 #include "viewcursorinterface.h"
22 #include "viewcursordcopinterface.h"
28 class PrivateViewCursorInterface
31 PrivateViewCursorInterface() {interface=0;}
32 ~PrivateViewCursorInterface() {}
40 unsigned int ViewCursorInterface::globalViewCursorInterfaceNumber = 0;
42 ViewCursorInterface::ViewCursorInterface()
44 globalViewCursorInterfaceNumber++;
45 myViewCursorInterfaceNumber = globalViewCursorInterfaceNumber++;
47 d =
new PrivateViewCursorInterface();
48 TQString
name =
"ViewCursorInterface#" + TQString::number(myViewCursorInterfaceNumber);
52 ViewCursorInterface::~ViewCursorInterface()
58 unsigned int ViewCursorInterface::viewCursorInterfaceNumber ()
const
60 return myViewCursorInterfaceNumber;
63 void ViewCursorInterface::setViewCursorInterfaceDCOPSuffix (
const TQCString &suffix)
65 d->interface->setObjId (
"ViewCursorInterface#"+suffix);
This is the main interface to the ViewCursorInterface of KTextEdit.
This is an interface to access the text cursor of a View class.
The View class represents a single view of a Document .
KTextEditor is KDE's standard text editing KPart interface.
TQString name(StdAccel id)