20 #ifndef __ktexteditor_selectioninterface_h__
21 #define __ktexteditor_selectioninterface_h__
25 #include <kdelibs_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;