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()
98 return m_parent->selStartLine();
103 return m_parent->selStartCol();
108 return m_parent->selEndLine();
113 return m_parent->selEndCol();
int selEndLine()
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.
DCOP interface for the SelectionInterfaceExt.
The View class represents a single view of a Document .
TQString name(StdAccel id)