\section{KText\-Editor::View\-Cursor\-Interface Class Reference}
\label{classKTextEditor_1_1ViewCursorInterface}\index{KTextEditor::ViewCursorInterface@{KTextEditor::ViewCursorInterface}}
This is an interface to access the text cursor of a {\bf View}{\rm (p.\,\pageref{classKTextEditor_1_1View})} class.  


{\tt \#include $<$viewcursorinterface.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
unsigned int {\bf view\-Cursor\-Interface\-Number} () const \label{classKTextEditor_1_1ViewCursorInterface_a2}

\item 
virtual class {\bf QPoint} {\bf cursor\-Coordinates} ()=0
\item 
virtual void {\bf cursor\-Position} (unsigned int $\ast$line, unsigned int $\ast$col)=0
\item 
virtual void {\bf cursor\-Position\-Real} (unsigned int $\ast$line, unsigned int $\ast$col)=0
\item 
virtual bool {\bf set\-Cursor\-Position} (unsigned int line, unsigned int col)=0
\item 
virtual bool {\bf set\-Cursor\-Position\-Real} (unsigned int line, unsigned int col)=0
\item 
virtual unsigned int {\bf cursor\-Line} ()=0\label{classKTextEditor_1_1ViewCursorInterface_a8}

\item 
virtual unsigned int {\bf cursor\-Column} ()=0\label{classKTextEditor_1_1ViewCursorInterface_a9}

\item 
virtual unsigned int {\bf cursor\-Column\-Real} ()=0\label{classKTextEditor_1_1ViewCursorInterface_a10}

\item 
virtual void {\bf cursor\-Position\-Changed} ()=0\label{classKTextEditor_1_1ViewCursorInterface_a11}

\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
void {\bf set\-View\-Cursor\-Interface\-DCOPSuffix} (const {\bf QCString} \&suffix)\label{classKTextEditor_1_1ViewCursorInterface_b0}

\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf Private\-View\-Cursor\-Interface}\label{classKTextEditor_1_1ViewCursorInterface_n0}

\end{CompactItemize}


\subsection{Detailed Description}
This is an interface to access the text cursor of a {\bf View}{\rm (p.\,\pageref{classKTextEditor_1_1View})} class. 



Definition at line 33 of file viewcursorinterface.h.

\subsection{Member Function Documentation}
\index{KTextEditor::ViewCursorInterface@{KText\-Editor::View\-Cursor\-Interface}!cursorCoordinates@{cursorCoordinates}}
\index{cursorCoordinates@{cursorCoordinates}!KTextEditor::ViewCursorInterface@{KText\-Editor::View\-Cursor\-Interface}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual class {\bf QPoint} KText\-Editor::View\-Cursor\-Interface::cursor\-Coordinates ()\hspace{0.3cm}{\tt  [pure virtual]}}\label{classKTextEditor_1_1ViewCursorInterface_a3}


Get the current cursor coordinates in pixels. 

\index{KTextEditor::ViewCursorInterface@{KText\-Editor::View\-Cursor\-Interface}!cursorPosition@{cursorPosition}}
\index{cursorPosition@{cursorPosition}!KTextEditor::ViewCursorInterface@{KText\-Editor::View\-Cursor\-Interface}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void KText\-Editor::View\-Cursor\-Interface::cursor\-Position (unsigned int $\ast$ {\em line}, unsigned int $\ast$ {\em col})\hspace{0.3cm}{\tt  [pure virtual]}}\label{classKTextEditor_1_1ViewCursorInterface_a4}


Get the cursor position. 

\index{KTextEditor::ViewCursorInterface@{KText\-Editor::View\-Cursor\-Interface}!cursorPositionReal@{cursorPositionReal}}
\index{cursorPositionReal@{cursorPositionReal}!KTextEditor::ViewCursorInterface@{KText\-Editor::View\-Cursor\-Interface}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void KText\-Editor::View\-Cursor\-Interface::cursor\-Position\-Real (unsigned int $\ast$ {\em line}, unsigned int $\ast$ {\em col})\hspace{0.3cm}{\tt  [pure virtual]}}\label{classKTextEditor_1_1ViewCursorInterface_a5}


Get the cursor position, calculated with 1 character per tab. 

\index{KTextEditor::ViewCursorInterface@{KText\-Editor::View\-Cursor\-Interface}!setCursorPosition@{setCursorPosition}}
\index{setCursorPosition@{setCursorPosition}!KTextEditor::ViewCursorInterface@{KText\-Editor::View\-Cursor\-Interface}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual bool KText\-Editor::View\-Cursor\-Interface::set\-Cursor\-Position (unsigned int {\em line}, unsigned int {\em col})\hspace{0.3cm}{\tt  [pure virtual]}}\label{classKTextEditor_1_1ViewCursorInterface_a6}


Set the cursor position. 

\index{KTextEditor::ViewCursorInterface@{KText\-Editor::View\-Cursor\-Interface}!setCursorPositionReal@{setCursorPositionReal}}
\index{setCursorPositionReal@{setCursorPositionReal}!KTextEditor::ViewCursorInterface@{KText\-Editor::View\-Cursor\-Interface}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual bool KText\-Editor::View\-Cursor\-Interface::set\-Cursor\-Position\-Real (unsigned int {\em line}, unsigned int {\em col})\hspace{0.3cm}{\tt  [pure virtual]}}\label{classKTextEditor_1_1ViewCursorInterface_a7}


Set the cursor position, use 1 character per tab. 



The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
viewcursorinterface.h\item 
viewcursorinterface.cpp\end{CompactItemize}
