20 #ifndef __tdetexteditor_viewcursorinterface_h__
21 #define __tdetexteditor_viewcursorinterface_h__
23 #include <tdelibs_export.h>
35 friend class PrivateViewCursorInterface;
41 unsigned int viewCursorInterfaceNumber ()
const;
44 void setViewCursorInterfaceDCOPSuffix (
const TQCString &suffix);
53 virtual class TQPoint cursorCoordinates () = 0;
58 virtual void cursorPosition (
unsigned int *line,
unsigned int *col) = 0;
63 virtual void cursorPositionReal (
unsigned int *line,
unsigned int *col) = 0;
68 virtual bool setCursorPosition (
unsigned int line,
unsigned int col) = 0;
73 virtual bool setCursorPositionReal (
unsigned int line,
unsigned int col) = 0;
75 virtual unsigned int cursorLine () = 0;
76 virtual unsigned int cursorColumn () = 0;
77 virtual unsigned int cursorColumnReal () = 0;
83 virtual void cursorPositionChanged () = 0;
86 class PrivateViewCursorInterface *d;
87 static unsigned int globalViewCursorInterfaceNumber;
88 unsigned int myViewCursorInterfaceNumber;
This is an interface to access the text cursor of a View class.
The View class represents a single view of a Document .
KTextEditor is KDE's standard text editing KPart interface.