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