1 #include "selectioninterface.h"
2 #include "selectiondcopinterface.h"
10 class PrivateSelectionInterface
13 PrivateSelectionInterface()
17 ~PrivateSelectionInterface(){}
24 unsigned int SelectionInterface::globalSelectionInterfaceNumber = 0;
26 SelectionInterface::SelectionInterface()
28 d =
new PrivateSelectionInterface();
29 globalSelectionInterfaceNumber++;
30 mySelectionInterfaceNumber = globalSelectionInterfaceNumber;
31 TQString name =
"SelectionInterface#" + TQString::number(mySelectionInterfaceNumber);
34 SelectionInterface::~SelectionInterface()
40 unsigned int SelectionInterface::selectionInterfaceNumber ()
const
42 return mySelectionInterfaceNumber;
45 void SelectionInterface::setSelectionInterfaceDCOPSuffix (
const TQCString &suffix)
47 d->interface->setObjId (
"SelectionInterface#"+suffix);
The main class representing a text document.
This is the main interface to the SelectionInterface of KTextEdit.
This is an interface to text selection for the Document class.
The View class represents a single view of a Document .
KTextEditor is KDE's standard text editing KPart interface.