.TH "KURLBarListBox" 3 "28 Jan 2004" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KURLBarListBox \- This is the listbox used in \fBKURLBar\fP.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kurlbar.h>\fP
.PP
Inherits \fBKListBox\fP.
.PP
.SS "Signals"

.in +1c
.ti -1c
.RI "void \fBdropped\fP (\fBQDropEvent\fP *e)"
.br
.RI "\fIEmitted when a drop-event happened. \fP"
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKURLBarListBox\fP (\fBQWidget\fP *parent=0, const  char *name=0)"
.br
.RI "\fIConstructs a KURLBarListBox. \fP"
.ti -1c
.RI "\fB~KURLBarListBox\fP ()"
.br
.RI "\fIDestroys the box. \fP"
.ti -1c
.RI "virtual void \fBsetOrientation\fP (Qt::Orientation orient)"
.br
.RI "\fISets the orientation of the widget. \fP"
.ti -1c
.RI "Qt::Orientation \fBorientation\fP () const "
.br
.ti -1c
.RI "bool \fBisVertical\fP () const "
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual \fBQDragObject\fP * \fBdragObject\fP ()"
.br
.ti -1c
.RI "virtual void \fBcontentsDragEnterEvent\fP (\fBQDragEnterEvent\fP *)"
.br
.RI "\fI\fP"
.ti -1c
.RI "virtual void \fBcontentsDropEvent\fP (\fBQDropEvent\fP *)"
.br
.RI "\fI\fP"
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SH "Detailed Description"
.PP 
This is the listbox used in \fBKURLBar\fP. 

It is a subclass of \fBKListBox\fP to support drag & drop and to set up the row / column mode.
.PP
The widget has just one row or one column, depending on \fBorientation\fP().
.PP
\fBAuthor:\fP
.RS 4
Carsten Pfeiffer <pfeiffer@kde.org> 
.RE
.PP

.PP
Definition at line 446 of file kurlbar.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KURLBarListBox::KURLBarListBox (\fBQWidget\fP * parent = 0, const char * name = 0)"
.PP
Constructs a KURLBarListBox. Definition at line 711 of file kurlbar.cpp.
.PP
References KStdAccel::name().
.SS "KURLBarListBox::~\fBKURLBarListBox\fP ()"
.PP
Destroys the box. Definition at line 719 of file kurlbar.cpp.
.SH "Member Function Documentation"
.PP 
.SS "void KURLBarListBox::setOrientation (Qt::Orientation orient)\fC [virtual]\fP"
.PP
Sets the orientation of the widget. Horizontal means, all items are arranged in one row. Vertical means, all items are arranged in one column. 
.PP
\fBSee also:\fP
.RS 4
\fBorientation\fP 
.RE
.PP
Definition at line 751 of file kurlbar.cpp.
.PP
References QListBox::setColumnMode(), and QListBox::setRowMode().
.PP
Referenced by KURLBar::setOrientation().
.SS "Qt::Orientation KURLBarListBox::orientation () const\fC [inline]\fP"
.PP
\fBReturns:\fP
.RS 4
the current orientation. 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBsetOrientation\fP 
.RE
.PP
Definition at line 471 of file kurlbar.h.
.PP
Referenced by KURLBar::orientation().
.SS "void KURLBarListBox::dropped (\fBQDropEvent\fP * e)\fC [signal]\fP"
.PP
Emitted when a drop-event happened. Referenced by contentsDropEvent().
.SS "\fBQDragObject\fP * KURLBarListBox::dragObject ()\fC [protected, virtual]\fP"
.PP
\fBReturns:\fP
.RS 4
a suitable \fBQDragObject\fP when an item is dragged. 
.RE
.PP
Definition at line 724 of file kurlbar.cpp.
.PP
References QValueList< KURL >::append(), QListBox::firstItem(), QValueList< KURL >::isEmpty(), QListBox::item(), KURLDrag::newDrag(), and KURLBarItem::url().
.SS "void KURLBarListBox::contentsDragEnterEvent (\fBQDragEnterEvent\fP *)\fC [protected, virtual]\fP"
.PP
Definition at line 741 of file kurlbar.cpp.
.PP
References QUriDrag::canDecode().
.SS "void KURLBarListBox::contentsDropEvent (\fBQDropEvent\fP *)\fC [protected, virtual]\fP"
.PP
Definition at line 746 of file kurlbar.cpp.
.PP
References dropped().

.SH "Author"
.PP 
Generated automatically by Doxygen for kio Library from the source code.
