21 #include "blockselectioninterface.h"
22 #include "blockselectiondcopinterface.h"
28 class PrivateBlockSelectionInterface
31 PrivateBlockSelectionInterface() {
interface = 0;}
32 ~PrivateBlockSelectionInterface() {}
40 unsigned int BlockSelectionInterface::globalBlockSelectionInterfaceNumber = 0;
42 BlockSelectionInterface::BlockSelectionInterface()
44 globalBlockSelectionInterfaceNumber++;
45 myBlockSelectionInterfaceNumber = globalBlockSelectionInterfaceNumber++;
46 TQString
name =
"BlockSelectionInterface#" + TQString::number(myBlockSelectionInterfaceNumber);
48 d =
new PrivateBlockSelectionInterface();
52 BlockSelectionInterface::~BlockSelectionInterface()
58 unsigned int BlockSelectionInterface::blockSelectionInterfaceNumber ()
const
60 return myBlockSelectionInterfaceNumber;
63 void BlockSelectionInterface::setBlockSelectionInterfaceDCOPSuffix (
const TQCString &suffix)
65 d->interface->setObjId (
"BlockSelectionInterface#"+suffix);
KTEXTEDITOR_EXPORT BlockSelectionInterface * blockSelectionInterface(class Document *doc)
Access the block selection interface of document.
TQString name(StdAccel id)
KTextEditor is KDE's standard text editing KPart interface.
This is the main interface to the BlockSelectionInterface of KTextEditor.
An interface for the Document class which allows the selection method to be changed between selecting...
The main class representing a text document.