\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=69pt]{classKURLBarListBox__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KURLBar\-List\-Box:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=176pt]{classKURLBarListBox__coll__graph}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf dropped} ({\bf QDrop\-Event} $\ast$e)
\begin{CompactList}\small\item\em Emitted when a drop-event happened. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KURLBar\-List\-Box} ({\bf QWidget} $\ast$parent=0, const  char $\ast$name=0)
\begin{CompactList}\small\item\em Constructs a KURLBar\-List\-Box. \item\end{CompactList}\item 
{\bf $\sim$KURLBar\-List\-Box} ()
\begin{CompactList}\small\item\em Destroys the box. \item\end{CompactList}\item 
virtual void {\bf set\-Orientation} (Qt::Orientation orient)
\begin{CompactList}\small\item\em Sets the orientation of the widget. \item\end{CompactList}\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$)
\begin{CompactList}\small\item\em \item\end{CompactList}\item 
virtual void {\bf contents\-Drop\-Event} ({\bf QDrop\-Event} $\ast$)
\begin{CompactList}\small\item\em \item\end{CompactList}\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKURLBarListBox_b3}

\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 446 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} = 0, const char $\ast$ {\em name} = 0)}\label{classKURLBarListBox_a0}


Constructs a KURLBar\-List\-Box. 



Definition at line 711 of file kurlbar.cpp.

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



Referenced by contents\-Drop\-Event().\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 724 of file kurlbar.cpp.

References QValue\-List$<$ KURL $>$::append(), QList\-Box::first\-Item(), QValue\-List$<$ KURL $>$::is\-Empty(), QList\-Box::item(), KURLDrag::new\-Drag(), and KURLBar\-Item::url().\index{KURLBarListBox@{KURLBar\-List\-Box}!contentsDragEnterEvent@{contentsDragEnterEvent}}
\index{contentsDragEnterEvent@{contentsDragEnterEvent}!KURLBarListBox@{KURLBar\-List\-Box}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLBar\-List\-Box::contents\-Drag\-Enter\-Event ({\bf QDrag\-Enter\-Event} $\ast$)\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKURLBarListBox_b1}






Definition at line 741 of file kurlbar.cpp.

References QUri\-Drag::can\-Decode().\index{KURLBarListBox@{KURLBar\-List\-Box}!contentsDropEvent@{contentsDropEvent}}
\index{contentsDropEvent@{contentsDropEvent}!KURLBarListBox@{KURLBar\-List\-Box}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KURLBar\-List\-Box::contents\-Drop\-Event ({\bf QDrop\-Event} $\ast$)\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKURLBarListBox_b2}






Definition at line 746 of file kurlbar.cpp.

References dropped().

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