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()
TQString name(StdAccel id)
int selStartCol()
The selection start col.
virtual int selEndLine()=0
The selection end line.
DCOP interface for the SelectionInterfaceExt.
virtual int selStartCol()=0
The selection start col.
virtual int selEndCol()=0
The selection end col.
The View class represents a single view of a Document .
int selEndCol()
The selection end col.
KTextEditor is KDE's standard text editing KPart interface.
virtual int selStartLine()=0
The selection start line number.
int selStartLine()
The selection start line number.
int selEndLine()
The selection end line.
Provide access to seleciton positions.
The main class representing a text document.