22 #include "selectioninterfaceext.h"
23 #include "selectionextdcopinterface.h"
26 #include <dcopclient.h>
31 class KTextEditor::PrivateSelectionInterfaceExt {
33 PrivateSelectionInterfaceExt() : interface( 0 ) {}
34 ~PrivateSelectionInterfaceExt() {}
39 unsigned int SelectionInterfaceExt::globalSelectionInterfaceExtNumber = 0;
41 SelectionInterfaceExt::SelectionInterfaceExt()
42 : d ( new PrivateSelectionInterfaceExt )
44 globalSelectionInterfaceExtNumber++;
45 mySelectionInterfaceExtNumber = globalSelectionInterfaceExtNumber;
46 TQString name =
"SelectionInterfaceExt#" + TQString::number(mySelectionInterfaceExtNumber);
50 SelectionInterfaceExt::~SelectionInterfaceExt()
56 unsigned int SelectionInterfaceExt::selectionInterfaceExtNumber ()
const
58 return mySelectionInterfaceExtNumber;
61 void SelectionInterfaceExt::setSelectionInterfaceExtDCOPSuffix (
const TQCString &suffix)
63 d->interface->setObjId (
"SelectionInterfaceExt#"+suffix);
85 SelectionExtDCOPInterface::SelectionExtDCOPInterface(
92 SelectionExtDCOPInterface::~SelectionExtDCOPInterface()
int selEndLine()
The selection end line.
virtual int selStartCol()=0
The selection start col.
virtual int selEndLine()=0
The selection end line.
int selEndCol()
The selection end col.
The main class representing a text document.
int selStartLine()
The selection start line number.
Provide access to seleciton positions.
KTextEditor is KDE's standard text editing KPart interface.
int selStartCol()
The selection start col.
virtual int selEndCol()=0
The selection end col.
virtual int selStartLine()=0
The selection start line number.
DCOP interface for the SelectionInterfaceExt.
The View class represents a single view of a Document .