20 #ifndef __tdetexteditor_selectioninterface_h__
21 #define __tdetexteditor_selectioninterface_h__
25 #include <tdelibs_export.h>
35 friend class PrivateSelectionInterface;
41 unsigned int selectionInterfaceNumber ()
const;
44 void setSelectionInterfaceDCOPSuffix (
const TQCString &suffix);
53 virtual bool setSelection (
unsigned int startLine,
unsigned int startCol,
unsigned int endLine,
unsigned int endCol ) = 0;
58 virtual bool clearSelection () = 0;
63 virtual bool hasSelection ()
const = 0;
68 virtual TQString selection ()
const = 0;
73 virtual bool removeSelectedText () = 0;
78 virtual bool selectAll () = 0;
84 virtual void selectionChanged () = 0;
87 class PrivateSelectionInterface *d;
88 static unsigned int globalSelectionInterfaceNumber;
89 unsigned int mySelectionInterfaceNumber;
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.
The main class representing a text document.