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


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

Inheritance diagram for KText\-Editor::Selection\-DCOPInterface:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=115pt]{classKTextEditor_1_1SelectionDCOPInterface__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KText\-Editor::Selection\-DCOPInterface:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=115pt]{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} ()
\begin{CompactList}\small\item\em removes the current Selection (not Text) \item\end{CompactList}\item 
bool {\bf has\-Selection} ()
\item 
{\bf QString} {\bf selection} ()
\item 
bool {\bf remove\-Selected\-Text} ()
\begin{CompactList}\small\item\em removes the selected Text \item\end{CompactList}\item 
bool {\bf select\-All} ()
\begin{CompactList}\small\item\em select the whole text \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Selection\-DCOPInterface} (Selection\-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$Selection\-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 Selection\-Interface of {\bf KText\-Edit}. DCOP interface to Selection\-Interface. 

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 (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\-Selection\-Interface}]- The parent Selection\-Interface object that will provide us with the functions for the interface.\end{description}
\end{Desc}


Definition at line 7 of file selectiondcopinterface.cpp.

References KStd\-Accel::name().\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}
