21 #include "blockselectioninterface.h"
22 #include "blockselectiondcopinterface.h"
28 class PrivateBlockSelectionInterface
31 PrivateBlockSelectionInterface() {
interface = 0;}
32 ~PrivateBlockSelectionInterface() {}
38 using namespace KTextEditor;
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);