\section{KURLBar\-List\-Box Class Reference}
\label{classKURLBarListBox}\index{KURLBarListBox@{KURLBarListBox}}
This is the listbox used in {\bf KURLBar}{\rm (p.\,\pageref{classKURLBar})}.  


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

Inheritance diagram for KURLBar\-List\-Box:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=63pt]{classKURLBarListBox__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KURLBar\-List\-Box:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=155pt]{classKURLBarListBox__coll__graph}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf dropped} ({\bf QDrop\-Event} $\ast$e)
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KURLBar\-List\-Box} ({\bf QWidget} $\ast$parent=0, const char $\ast$name=0)
\item 
{\bf $\sim$KURLBar\-List\-Box} ()
\item 
virtual void {\bf set\-Orientation} (Qt::Orientation orient)
\item 
Qt::Orientation {\bf orientation} () const 
\item 
bool {\bf is\-Vertical} () const \label{classKURLBarListBox_a4}

\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual {\bf QDrag\-Object} $\ast$ {\bf drag\-Object} ()
\item 
virtual void {\bf contents\-Drag\-Enter\-Event} ({\bf QDrag\-Enter\-Event} $\ast$)\label{classKURLBarListBox_b1}

\item 
virtual void {\bf contents\-Drop\-Event} ({\bf QDrop\-Event} $\ast$)\label{classKURLBarListBox_b2}

\item 
virtual void {\bf context\-Menu\-Event} ({\bf QContext\-Menu\-Event} $\ast$)\label{classKURLBarListBox_b3}

\item 
virtual void {\bf paint\-Event} ({\bf QPaint\-Event} $\ast$)\label{classKURLBarListBox_b4}

\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKURLBarListBox_b5}

\end{CompactItemize}


\subsection{Detailed Description}
This is the listbox used in {\bf KURLBar}{\rm (p.\,\pageref{classKURLBar})}. 

It is a subclass of {\bf KList\-Box} to support drag \& drop and to set up the row / column mode.

The widget has just one row or one column, depending on {\bf orientation()}{\rm (p.\,\pageref{classKURLBarListBox_a3})}.

\begin{Desc}
\item[Author:]Carsten Pfeiffer $<${\tt pfeiffer@kde.org}$>$ \end{Desc}




Definition at line 493 of file kurlbar.h.

\subsection{Constructor \& Destructor Documentation}
\index{KURLBarListBox@{KURLBar\-List\-Box}!KURLBarListBox@{KURLBarListBox}}
\index{KURLBarListBox@{KURLBarListBox}!KURLBarListBox@{KURLBar\-List\-Box}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KURLBar\-List\-Box::KURLBar\-List\-Box ({\bf QWidget} $\ast$ {\em parent} = {\tt 0}, const char $\ast$ {\em name} = {\tt 0})}\label{classKURLBarListBox_a0}


Constructs a KURLBar\-List\-Box. 



Definition at line 818 of file kurlbar.cpp.\index{KURLBarListBox@{KURLBar\-List\-Box}!~KURLBarListBox@{$\sim$KURLBarListBox}}
\index{~KURLBarListBox@{$\sim$KURLBarListBox}!KURLBarListBox@{KURLBar\-List\-Box}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KURLBar\-List\-Box::$\sim${\bf KURLBar\-List\-Box} ()}\label{classKURLBarListBox_a1}


Destroys the box. 



Definition at line 826 of file kurlbar.cpp.

\subsection{Member Function Documentation}
\index{KURLBarListBox@{KURLBar\-List\-Box}!setOrientation@{setOrientation}}
\index{setOrientation@{setOrientation}!KURLBarListBox@{KURLBar\-List\-Box}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLBar\-List\-Box::set\-Orientation (Qt::Orientation {\em orient})\hspace{0.3cm}{\tt  [virtual]}}\label{classKURLBarListBox_a2}


Sets the orientation of the widget. 

Horizontal means, all items are arranged in one row. Vertical means, all items are arranged in one column. \begin{Desc}
\item[See also:]{\bf orientation}{\rm (p.\,\pageref{classKURLBarListBox_a3})} \end{Desc}


Definition at line 874 of file kurlbar.cpp.

References QList\-Box::set\-Column\-Mode(), and QList\-Box::set\-Row\-Mode().

Referenced by KURLBar::set\-Orientation().\index{KURLBarListBox@{KURLBar\-List\-Box}!orientation@{orientation}}
\index{orientation@{orientation}!KURLBarListBox@{KURLBar\-List\-Box}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Qt::Orientation KURLBar\-List\-Box::orientation () const\hspace{0.3cm}{\tt  [inline]}}\label{classKURLBarListBox_a3}


\begin{Desc}
\item[Returns:]the current orientation. \end{Desc}
\begin{Desc}
\item[See also:]{\bf set\-Orientation}{\rm (p.\,\pageref{classKURLBarListBox_a2})} \end{Desc}


Definition at line 518 of file kurlbar.h.

Referenced by KURLBar::orientation().\index{KURLBarListBox@{KURLBar\-List\-Box}!dropped@{dropped}}
\index{dropped@{dropped}!KURLBarListBox@{KURLBar\-List\-Box}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLBar\-List\-Box::dropped ({\bf QDrop\-Event} $\ast$ {\em e})\hspace{0.3cm}{\tt  [signal]}}\label{classKURLBarListBox_l0}


Emitted when a drop-event happened. 

\index{KURLBarListBox@{KURLBar\-List\-Box}!dragObject@{dragObject}}
\index{dragObject@{dragObject}!KURLBarListBox@{KURLBar\-List\-Box}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QDrag\-Object} $\ast$ KURLBar\-List\-Box::drag\-Object ()\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKURLBarListBox_b0}


\begin{Desc}
\item[Returns:]a suitable {\bf QDrag\-Object} when an item is dragged. \end{Desc}


Definition at line 838 of file kurlbar.cpp.

References QValue\-List::append(), QList\-Box::first\-Item(), QValue\-List::is\-Empty(), and KURLBar\-Item::url().

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