\section{KText\-Editor::Selection\-DCOPInterface Class Reference}
\label{classKTextEditor_1_1SelectionDCOPInterface}\index{KTextEditor::SelectionDCOPInterface@{KTextEditor::SelectionDCOPInterface}}
This is the main interface to the {\bf Selection\-Interface}{\rm (p.\,\pageref{classKTextEditor_1_1SelectionInterface})} of {\bf KText\-Edit}. DCOP interface to {\bf Selection\-Interface}{\rm (p.\,\pageref{classKTextEditor_1_1SelectionInterface})}.  


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

Inheritance diagram for KText\-Editor::Selection\-DCOPInterface:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=109pt]{classKTextEditor_1_1SelectionDCOPInterface__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KText\-Editor::Selection\-DCOPInterface:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=141pt]{classKTextEditor_1_1SelectionDCOPInterface__coll__graph}
\end{center}
\end{figure}
\subsection*{DCOP Member Functions}
\begin{CompactItemize}
\item 
bool {\bf set\-Selection} (uint start\-Line, uint start\-Col, uint end\-Line, uint end\-Col)
\item 
bool {\bf clear\-Selection} ()
\item 
bool {\bf has\-Selection} ()
\item 
{\bf QString} {\bf selection} ()
\item 
bool {\bf remove\-Selected\-Text} ()
\item 
bool {\bf select\-All} ()
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Selection\-DCOPInterface} ({\bf Selection\-Interface} $\ast$Parent, const char $\ast$name)
\item 
virtual {\bf $\sim$Selection\-DCOPInterface} ()
\end{CompactItemize}


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

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 selectiondcopinterface.h.

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


Construct a new interface object for the text editor. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em Parent}]the parent {\bf Selection\-Interface}{\rm (p.\,\pageref{classKTextEditor_1_1SelectionInterface})} object that will provide us with the functions for the interface. \item[{\em name}]the QObject's name\end{description}
\end{Desc}


Definition at line 7 of file selectiondcopinterface.cpp.\index{KTextEditor::SelectionDCOPInterface@{KText\-Editor::Selection\-DCOPInterface}!~SelectionDCOPInterface@{$\sim$SelectionDCOPInterface}}
\index{~SelectionDCOPInterface@{$\sim$SelectionDCOPInterface}!KTextEditor::SelectionDCOPInterface@{KText\-Editor::Selection\-DCOPInterface}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Selection\-DCOPInterface::$\sim${\bf Selection\-DCOPInterface} ()\hspace{0.3cm}{\tt  [virtual]}}\label{classKTextEditor_1_1SelectionDCOPInterface_a1}


Destructor Cleans up the object. 



Definition at line 13 of file selectiondcopinterface.cpp.

\subsection{Member Function Documentation}
\index{KTextEditor::SelectionDCOPInterface@{KText\-Editor::Selection\-DCOPInterface}!setSelection@{setSelection}}
\index{setSelection@{setSelection}!KTextEditor::SelectionDCOPInterface@{KText\-Editor::Selection\-DCOPInterface}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Selection\-DCOPInterface::set\-Selection (uint {\em start\-Line}, uint {\em start\-Col}, uint {\em end\-Line}, uint {\em end\-Col})}\label{classKTextEditor_1_1SelectionDCOPInterface_z0}


\begin{Desc}
\item[Returns:]set the selection from line\_\-start,col\_\-start to line\_\-end,col\_\-end \end{Desc}


Definition at line 21 of file selectiondcopinterface.cpp.\index{KTextEditor::SelectionDCOPInterface@{KText\-Editor::Selection\-DCOPInterface}!clearSelection@{clearSelection}}
\index{clearSelection@{clearSelection}!KTextEditor::SelectionDCOPInterface@{KText\-Editor::Selection\-DCOPInterface}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Selection\-DCOPInterface::clear\-Selection ()}\label{classKTextEditor_1_1SelectionDCOPInterface_z1}


removes the current Selection (not Text) 



Definition at line 29 of file selectiondcopinterface.cpp.\index{KTextEditor::SelectionDCOPInterface@{KText\-Editor::Selection\-DCOPInterface}!hasSelection@{hasSelection}}
\index{hasSelection@{hasSelection}!KTextEditor::SelectionDCOPInterface@{KText\-Editor::Selection\-DCOPInterface}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Selection\-DCOPInterface::has\-Selection ()}\label{classKTextEditor_1_1SelectionDCOPInterface_z2}


\begin{Desc}
\item[Returns:]true if there is a selection \end{Desc}


Definition at line 37 of file selectiondcopinterface.cpp.\index{KTextEditor::SelectionDCOPInterface@{KText\-Editor::Selection\-DCOPInterface}!selection@{selection}}
\index{selection@{selection}!KTextEditor::SelectionDCOPInterface@{KText\-Editor::Selection\-DCOPInterface}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} Selection\-DCOPInterface::selection ()}\label{classKTextEditor_1_1SelectionDCOPInterface_z3}


\begin{Desc}
\item[Returns:]a {\bf QString} for the selected text \end{Desc}


Definition at line 45 of file selectiondcopinterface.cpp.\index{KTextEditor::SelectionDCOPInterface@{KText\-Editor::Selection\-DCOPInterface}!removeSelectedText@{removeSelectedText}}
\index{removeSelectedText@{removeSelectedText}!KTextEditor::SelectionDCOPInterface@{KText\-Editor::Selection\-DCOPInterface}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Selection\-DCOPInterface::remove\-Selected\-Text ()}\label{classKTextEditor_1_1SelectionDCOPInterface_z4}


removes the selected Text 



Definition at line 53 of file selectiondcopinterface.cpp.\index{KTextEditor::SelectionDCOPInterface@{KText\-Editor::Selection\-DCOPInterface}!selectAll@{selectAll}}
\index{selectAll@{selectAll}!KTextEditor::SelectionDCOPInterface@{KText\-Editor::Selection\-DCOPInterface}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Selection\-DCOPInterface::select\-All ()}\label{classKTextEditor_1_1SelectionDCOPInterface_z5}


select the whole text 



Definition at line 61 of file selectiondcopinterface.cpp.

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