KTextEditor::ViewCursorInterface Class Reference
#include <viewcursorinterface.h>
Detailed Description
This is an interface to access the text cursor of a View class.
Definition at line 33 of file viewcursorinterface.h.
Public Member Functions | |
ViewCursorInterface () | |
virtual | ~ViewCursorInterface () |
unsigned int | viewCursorInterfaceNumber () const |
virtual class QPoint | cursorCoordinates ()=0 |
virtual void | cursorPosition (unsigned int *line, unsigned int *col)=0 |
virtual void | cursorPositionReal (unsigned int *line, unsigned int *col)=0 |
virtual bool | setCursorPosition (unsigned int line, unsigned int col)=0 |
virtual bool | setCursorPositionReal (unsigned int line, unsigned int col)=0 |
virtual unsigned int | cursorLine ()=0 |
virtual unsigned int | cursorColumn ()=0 |
virtual unsigned int | cursorColumnReal ()=0 |
virtual void | cursorPositionChanged ()=0 |
Protected Member Functions | |
void | setViewCursorInterfaceDCOPSuffix (const QCString &suffix) |
Friends | |
class | PrivateViewCursorInterface |
Member Function Documentation
virtual class QPoint KTextEditor::ViewCursorInterface::cursorCoordinates | ( | ) | [pure virtual] |
Get the current cursor coordinates in pixels.
virtual void KTextEditor::ViewCursorInterface::cursorPosition | ( | unsigned int * | line, | |
unsigned int * | col | |||
) | [pure virtual] |
Get the cursor position.
virtual void KTextEditor::ViewCursorInterface::cursorPositionReal | ( | unsigned int * | line, | |
unsigned int * | col | |||
) | [pure virtual] |
Get the cursor position, calculated with 1 character per tab.
virtual bool KTextEditor::ViewCursorInterface::setCursorPosition | ( | unsigned int | line, | |
unsigned int | col | |||
) | [pure virtual] |
Set the cursor position.
virtual bool KTextEditor::ViewCursorInterface::setCursorPositionReal | ( | unsigned int | line, | |
unsigned int | col | |||
) | [pure virtual] |
Set the cursor position, use 1 character per tab.
The documentation for this class was generated from the following files: