interfaces Library API Documentation

KTextEditor::ViewCursorInterface Class Reference

This is an interface for the KTextEditor::View class !!! More...

#include <viewcursorinterface.h>

List of all members.

Public Methods

virtual class QPoint cursorCoordinates ()=0
 Get the current cursor coordinates in pixels.

virtual void cursorPosition (unsigned int *line, unsigned int *col)=0
 Get the cursor position.

virtual void cursorPositionReal (unsigned int *line, unsigned int *col)=0
 Get the cursor position, calculated with 1 character per tab.

virtual bool setCursorPosition (unsigned int line, unsigned int col)=0
 Set the cursor position.

virtual bool setCursorPositionReal (unsigned int line, unsigned int col)=0
 Set the cursor position, use 1 character per tab.


Detailed Description

This is an interface for the KTextEditor::View class !!!

Definition at line 31 of file viewcursorinterface.h.


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:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:22:16 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001