\section{KText\-Editor::View Class Reference}
\label{classKTextEditor_1_1View}\index{KTextEditor::View@{KTextEditor::View}}
The {\bf View}{\rm (p.\,\pageref{classKTextEditor_1_1View})} class represents a single view of a {\bf Document}{\rm (p.\,\pageref{classKTextEditor_1_1Document})} .  


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

Inheritance diagram for KText\-Editor::View:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=97pt]{classKTextEditor_1_1View__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KText\-Editor::View:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=97pt]{classKTextEditor_1_1View__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf View} (class {\bf Document} $\ast$, {\bf QWidget} $\ast$parent, const char $\ast$name=0)
\item 
unsigned int {\bf view\-Number} () const 
\item 
{\bf QCString} {\bf view\-DCOPSuffix} () const 
\item 
virtual class {\bf Document} $\ast$ {\bf document} () const =0
\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf Private\-View}\label{classKTextEditor_1_1View_n0}

\end{CompactItemize}


\subsection{Detailed Description}
The {\bf View}{\rm (p.\,\pageref{classKTextEditor_1_1View})} class represents a single view of a {\bf Document}{\rm (p.\,\pageref{classKTextEditor_1_1Document})} . 



Definition at line 32 of file ktexteditor/view.h.

\subsection{Constructor \& Destructor Documentation}
\index{KTextEditor::View@{KText\-Editor::View}!View@{View}}
\index{View@{View}!KTextEditor::View@{KText\-Editor::View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}View::View (class {\bf Document} $\ast$, {\bf QWidget} $\ast$ {\em parent}, const char $\ast$ {\em name} = {\tt 0})}\label{classKTextEditor_1_1View_a0}


Create a new view to the given document. 

The document must be non-null. 

Definition at line 132 of file ktexteditor.cpp.

\subsection{Member Function Documentation}
\index{KTextEditor::View@{KText\-Editor::View}!viewNumber@{viewNumber}}
\index{viewNumber@{viewNumber}!KTextEditor::View@{KText\-Editor::View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned int View::view\-Number () const}\label{classKTextEditor_1_1View_a2}


Returns the number of this view. 



Definition at line 142 of file ktexteditor.cpp.

Referenced by view\-DCOPSuffix().\index{KTextEditor::View@{KText\-Editor::View}!viewDCOPSuffix@{viewDCOPSuffix}}
\index{viewDCOPSuffix@{viewDCOPSuffix}!KTextEditor::View@{KText\-Editor::View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QCString} View::view\-DCOPSuffix () const}\label{classKTextEditor_1_1View_a3}


Returns the DCOP suffix to allow identification of this view's DCOP interface. 



Definition at line 147 of file ktexteditor.cpp.

References document(), QCString::set\-Num(), and view\-Number().\index{KTextEditor::View@{KText\-Editor::View}!document@{document}}
\index{document@{document}!KTextEditor::View@{KText\-Editor::View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual class {\bf Document}$\ast$ KText\-Editor::View::document () const\hspace{0.3cm}{\tt  [pure virtual]}}\label{classKTextEditor_1_1View_a4}


Acess the parent {\bf Document}{\rm (p.\,\pageref{classKTextEditor_1_1Document})}. 



Referenced by view\-DCOPSuffix().

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