\section{KSeparator Class Reference}
\label{classKSeparator}\index{KSeparator@{KSeparator}}
Standard horizontal or vertical separator.  


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

Inheritance diagram for KSeparator:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=51pt]{classKSeparator__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KSeparator:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=51pt]{classKSeparator__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KSeparator} ({\bf QWidget} $\ast$parent=0, const char $\ast$name=0, WFlags f=0)
\item 
{\bf KSeparator} (int orientation, {\bf QWidget} $\ast$parent=0, const char $\ast$name=0, WFlags f=0)
\item 
int {\bf orientation} () const 
\item 
void {\bf set\-Orientation} (int orient)
\item 
virtual {\bf QSize} {\bf size\-Hint} () const 
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf draw\-Frame} ({\bf QPainter} $\ast$p)
\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKSeparator_b1}

\end{CompactItemize}
\subsection*{Properties}
\begin{CompactItemize}
\item 
int {\bf orientation}\label{classKSeparator_00}

\end{CompactItemize}


\subsection{Detailed Description}
Standard horizontal or vertical separator. 

\begin{Desc}
\item[Author:]Michael Roth $<${\tt mroth@wirlweb.de}$>$ \end{Desc}
\begin{Desc}
\item[Version:]\begin{Desc}
\item[Id]{\bf kseparator.h}{\rm (p.\,\pageref{kseparator_8h})} 345236 2004-09-09 15:23:55Z dfaure \end{Desc}
\end{Desc}




Definition at line 33 of file kseparator.h.

\subsection{Constructor \& Destructor Documentation}
\index{KSeparator@{KSeparator}!KSeparator@{KSeparator}}
\index{KSeparator@{KSeparator}!KSeparator@{KSeparator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KSeparator::KSeparator ({\bf QWidget} $\ast$ {\em parent} = {\tt 0}, const char $\ast$ {\em name} = {\tt 0}, WFlags {\em f} = {\tt 0})}\label{classKSeparator_a0}


Constructor. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em parent}]parent object. \item[{\em name}]name of the new object. \item[{\em f}]extra {\bf QWidget} flags. \end{description}
\end{Desc}


Definition at line 28 of file kseparator.cpp.

References QFrame::set\-Line\-Width(), QFrame::set\-Mid\-Line\-Width(), and set\-Orientation().\index{KSeparator@{KSeparator}!KSeparator@{KSeparator}}
\index{KSeparator@{KSeparator}!KSeparator@{KSeparator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KSeparator::KSeparator (int {\em orientation}, {\bf QWidget} $\ast$ {\em parent} = {\tt 0}, const char $\ast$ {\em name} = {\tt 0}, WFlags {\em f} = {\tt 0})}\label{classKSeparator_a1}


Constructor. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em orientation}]Set the orientation of the separator. Possible values are HLine or Horizontal and VLine or Vertical. \item[{\em parent}]parent object. \item[{\em name}]name of the new object. \item[{\em f}]extra {\bf QWidget} flags. \end{description}
\end{Desc}


Definition at line 38 of file kseparator.cpp.

References QFrame::set\-Line\-Width(), QFrame::set\-Mid\-Line\-Width(), and set\-Orientation().

\subsection{Member Function Documentation}
\index{KSeparator@{KSeparator}!orientation@{orientation}}
\index{orientation@{orientation}!KSeparator@{KSeparator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KSeparator::orientation () const}\label{classKSeparator_a2}


Returns the orientation of the separator. 

\begin{Desc}
\item[Returns:]int Possible values are VLine and HLine. \end{Desc}
\index{KSeparator@{KSeparator}!setOrientation@{setOrientation}}
\index{setOrientation@{setOrientation}!KSeparator@{KSeparator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KSeparator::set\-Orientation (int {\em orient})}\label{classKSeparator_a3}


Set the orientation of the separator to {\tt orient}. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em orient}]Possible values are VLine and HLine. \end{description}
\end{Desc}


Definition at line 48 of file kseparator.cpp.

References endl(), kd\-Warning(), and QFrame::set\-Frame\-Style().

Referenced by KDialog\-Base::enable\-Button\-Separator(), KSeparator(), and KDialog\-Base::set\-Button\-Box\-Orientation().\index{KSeparator@{KSeparator}!sizeHint@{sizeHint}}
\index{sizeHint@{sizeHint}!KSeparator@{KSeparator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QSize} KSeparator::size\-Hint () const\hspace{0.3cm}{\tt  [virtual]}}\label{classKSeparator_a4}


The recommended height (width) for a horizontal (vertical) separator. 



Definition at line 103 of file kseparator.cpp.

References QFrame::frame\-Style().\index{KSeparator@{KSeparator}!drawFrame@{drawFrame}}
\index{drawFrame@{drawFrame}!KSeparator@{KSeparator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KSeparator::draw\-Frame ({\bf QPainter} $\ast$ {\em p})\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKSeparator_b0}


\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em p}]pointer to painter \end{description}
\end{Desc}


Reimplemented from {\bf QFrame}.

Definition at line 82 of file kseparator.cpp.

References QFrame::frame\-Rect(), QFrame::frame\-Style(), QRect::height(), QFrame::line\-Width(), QFrame::mid\-Line\-Width(), QRect::width(), QPoint::x(), QRect::x(), and QPoint::y().

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