\section{KText\-Editor::View\-Cursor\-DCOPInterface Class Reference}
\label{classKTextEditor_1_1ViewCursorDCOPInterface}\index{KTextEditor::ViewCursorDCOPInterface@{KTextEditor::ViewCursorDCOPInterface}}
This is the main interface to the {\bf View\-Cursor\-Interface}{\rm (p.\,\pageref{classKTextEditor_1_1ViewCursorInterface})} of {\bf KText\-Edit}. DCOP interface to {\bf View\-Cursor\-Interface}{\rm (p.\,\pageref{classKTextEditor_1_1ViewCursorInterface})}.  


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

Inheritance diagram for KText\-Editor::View\-Cursor\-DCOPInterface:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=124pt]{classKTextEditor_1_1ViewCursorDCOPInterface__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KText\-Editor::View\-Cursor\-DCOPInterface:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=154pt]{classKTextEditor_1_1ViewCursorDCOPInterface__coll__graph}
\end{center}
\end{figure}
\subsection*{DCOP Member Functions}
\begin{CompactItemize}
\item 
uint {\bf view\-Cursor\-Interface\-Number} ()\label{classKTextEditor_1_1ViewCursorDCOPInterface_z0}

\item 
{\bf QPoint} {\bf cursor\-Coordinates} ()
\begin{CompactList}\small\item\em Get the current cursor coordinates in pixels. \item\end{CompactList}\item 
void {\bf cursor\-Position} (uint line, uint col)
\begin{CompactList}\small\item\em Get the cursor position. \item\end{CompactList}\item 
void {\bf cursor\-Position\-Real} (uint line, uint col)
\begin{CompactList}\small\item\em Get the cursor position, calculated with 1 character per tab. \item\end{CompactList}\item 
bool {\bf set\-Cursor\-Position} (uint line, uint col)
\begin{CompactList}\small\item\em Set the cursor position. \item\end{CompactList}\item 
bool {\bf set\-Cursor\-Position\-Real} (uint line, uint col)
\begin{CompactList}\small\item\em Set the cursor position, use 1 character per tab. \item\end{CompactList}\item 
uint {\bf cursor\-Line} ()\label{classKTextEditor_1_1ViewCursorDCOPInterface_z6}

\item 
uint {\bf cursor\-Column} ()\label{classKTextEditor_1_1ViewCursorDCOPInterface_z7}

\item 
uint {\bf cursor\-Column\-Real} ()\label{classKTextEditor_1_1ViewCursorDCOPInterface_z8}

\item 
void {\bf cursor\-Position\-Changed} ()\label{classKTextEditor_1_1ViewCursorDCOPInterface_z9}

\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf View\-Cursor\-DCOPInterface} ({\bf View\-Cursor\-Interface} $\ast$Parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Construct a new interface object for the text editor. \item\end{CompactList}\item 
virtual {\bf $\sim$View\-Cursor\-DCOPInterface} ()
\begin{CompactList}\small\item\em Destructor Cleans up the object. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
This is the main interface to the {\bf View\-Cursor\-Interface}{\rm (p.\,\pageref{classKTextEditor_1_1ViewCursorInterface})} of {\bf KText\-Edit}. DCOP interface to {\bf View\-Cursor\-Interface}{\rm (p.\,\pageref{classKTextEditor_1_1ViewCursorInterface})}. 

This will provide a consistant dcop interface to all {\bf KDE} applications that use it. 

\begin{Desc}
\item[Author:]Ian Reinhart Geiser $<${\tt geiseri@kde.org}$>$\end{Desc}




Definition at line 18 of file viewcursordcopinterface.h.

\subsection{Constructor \& Destructor Documentation}
\index{KTextEditor::ViewCursorDCOPInterface@{KText\-Editor::View\-Cursor\-DCOPInterface}!ViewCursorDCOPInterface@{ViewCursorDCOPInterface}}
\index{ViewCursorDCOPInterface@{ViewCursorDCOPInterface}!KTextEditor::ViewCursorDCOPInterface@{KText\-Editor::View\-Cursor\-DCOPInterface}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}View\-Cursor\-DCOPInterface::View\-Cursor\-DCOPInterface ({\bf View\-Cursor\-Interface} $\ast$ {\em Parent}, const char $\ast$ {\em name})}\label{classKTextEditor_1_1ViewCursorDCOPInterface_a0}


Construct a new interface object for the text editor. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em Parent\-View\-Cursor\-Interface}]- The parent {\bf View\-Cursor\-Interface}{\rm (p.\,\pageref{classKTextEditor_1_1ViewCursorInterface})} object that will provide us with the functions for the interface.\end{description}
\end{Desc}


Definition at line 9 of file viewcursordcopinterface.cpp.

References KStd\-Accel::name().\index{KTextEditor::ViewCursorDCOPInterface@{KText\-Editor::View\-Cursor\-DCOPInterface}!~ViewCursorDCOPInterface@{$\sim$ViewCursorDCOPInterface}}
\index{~ViewCursorDCOPInterface@{$\sim$ViewCursorDCOPInterface}!KTextEditor::ViewCursorDCOPInterface@{KText\-Editor::View\-Cursor\-DCOPInterface}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}View\-Cursor\-DCOPInterface::$\sim${\bf View\-Cursor\-DCOPInterface} ()\hspace{0.3cm}{\tt  [virtual]}}\label{classKTextEditor_1_1ViewCursorDCOPInterface_a1}


Destructor Cleans up the object. 



Definition at line 15 of file viewcursordcopinterface.cpp.

\subsection{Member Function Documentation}
\index{KTextEditor::ViewCursorDCOPInterface@{KText\-Editor::View\-Cursor\-DCOPInterface}!cursorCoordinates@{cursorCoordinates}}
\index{cursorCoordinates@{cursorCoordinates}!KTextEditor::ViewCursorDCOPInterface@{KText\-Editor::View\-Cursor\-DCOPInterface}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QPoint} View\-Cursor\-DCOPInterface::cursor\-Coordinates ()}\label{classKTextEditor_1_1ViewCursorDCOPInterface_z1}


Get the current cursor coordinates in pixels. 



Definition at line 25 of file viewcursordcopinterface.cpp.\index{KTextEditor::ViewCursorDCOPInterface@{KText\-Editor::View\-Cursor\-DCOPInterface}!cursorPosition@{cursorPosition}}
\index{cursorPosition@{cursorPosition}!KTextEditor::ViewCursorDCOPInterface@{KText\-Editor::View\-Cursor\-DCOPInterface}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void View\-Cursor\-DCOPInterface::cursor\-Position (uint {\em line}, uint {\em col})}\label{classKTextEditor_1_1ViewCursorDCOPInterface_z2}


Get the cursor position. 



Definition at line 30 of file viewcursordcopinterface.cpp.\index{KTextEditor::ViewCursorDCOPInterface@{KText\-Editor::View\-Cursor\-DCOPInterface}!cursorPositionReal@{cursorPositionReal}}
\index{cursorPositionReal@{cursorPositionReal}!KTextEditor::ViewCursorDCOPInterface@{KText\-Editor::View\-Cursor\-DCOPInterface}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void View\-Cursor\-DCOPInterface::cursor\-Position\-Real (uint {\em line}, uint {\em col})}\label{classKTextEditor_1_1ViewCursorDCOPInterface_z3}


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



Definition at line 35 of file viewcursordcopinterface.cpp.\index{KTextEditor::ViewCursorDCOPInterface@{KText\-Editor::View\-Cursor\-DCOPInterface}!setCursorPosition@{setCursorPosition}}
\index{setCursorPosition@{setCursorPosition}!KTextEditor::ViewCursorDCOPInterface@{KText\-Editor::View\-Cursor\-DCOPInterface}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool View\-Cursor\-DCOPInterface::set\-Cursor\-Position (uint {\em line}, uint {\em col})}\label{classKTextEditor_1_1ViewCursorDCOPInterface_z4}


Set the cursor position. 



Definition at line 40 of file viewcursordcopinterface.cpp.\index{KTextEditor::ViewCursorDCOPInterface@{KText\-Editor::View\-Cursor\-DCOPInterface}!setCursorPositionReal@{setCursorPositionReal}}
\index{setCursorPositionReal@{setCursorPositionReal}!KTextEditor::ViewCursorDCOPInterface@{KText\-Editor::View\-Cursor\-DCOPInterface}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool View\-Cursor\-DCOPInterface::set\-Cursor\-Position\-Real (uint {\em line}, uint {\em col})}\label{classKTextEditor_1_1ViewCursorDCOPInterface_z5}


Set the cursor position, use 1 character per tab. 



Definition at line 45 of file viewcursordcopinterface.cpp.

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