#include <viewcursorinterface.h>
Public Member Functions |
unsigned int | viewCursorInterfaceNumber () const |
virtual class TQPoint | 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 TQCString &suffix) |
Friends |
class | PrivateViewCursorInterface |
Detailed Description
This is an interface to access the text cursor of a View class.
Definition at line 33 of file viewcursorinterface.h.
Member Function Documentation
virtual class TQPoint 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 |
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 |
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: