interfaces
KTextEditor::ViewCursorInterface Class Reference
This is an interface to access the text cursor of a View class. More...
#include <viewcursorinterface.h>
Public Member Functions | |
virtual unsigned int | cursorColumn ()=0 |
virtual unsigned int | cursorColumnReal ()=0 |
virtual class QPoint | cursorCoordinates ()=0 |
virtual unsigned int | cursorLine ()=0 |
virtual void | cursorPosition (unsigned int *line, unsigned int *col)=0 |
virtual void | cursorPositionChanged ()=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 |
ViewCursorInterface () | |
unsigned int | viewCursorInterfaceNumber () const |
virtual | ~ViewCursorInterface () |
Protected Member Functions | |
void | setViewCursorInterfaceDCOPSuffix (const QCString &suffix) |
Detailed Description
This is an interface to access the text cursor of a View class.Definition at line 33 of file viewcursorinterface.h.
Constructor & Destructor Documentation
ViewCursorInterface::ViewCursorInterface | ( | ) |
Definition at line 42 of file viewcursorinterface.cpp.
ViewCursorInterface::~ViewCursorInterface | ( | ) | [virtual] |
Definition at line 52 of file viewcursorinterface.cpp.
Member Function Documentation
virtual unsigned int KTextEditor::ViewCursorInterface::cursorColumn | ( | ) | [pure virtual] |
virtual unsigned int KTextEditor::ViewCursorInterface::cursorColumnReal | ( | ) | [pure virtual] |
virtual class QPoint KTextEditor::ViewCursorInterface::cursorCoordinates | ( | ) | [pure virtual] |
Get the current cursor coordinates in pixels.
virtual unsigned int KTextEditor::ViewCursorInterface::cursorLine | ( | ) | [pure virtual] |
virtual void KTextEditor::ViewCursorInterface::cursorPosition | ( | unsigned int * | line, | |
unsigned int * | col | |||
) | [pure virtual] |
Get the cursor position.
virtual void KTextEditor::ViewCursorInterface::cursorPositionChanged | ( | ) | [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] |
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.
void ViewCursorInterface::setViewCursorInterfaceDCOPSuffix | ( | const QCString & | suffix | ) | [protected] |
Definition at line 63 of file viewcursorinterface.cpp.
unsigned int ViewCursorInterface::viewCursorInterfaceNumber | ( | ) | const |
Definition at line 58 of file viewcursorinterface.cpp.
The documentation for this class was generated from the following files: