class KURLBarListBox

# class KURLBarListBox | This is the listbox used in KURLBar. More...
Definition | `#include <kurlbar.h>`
Inherits | KListBox (kdeui) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KURLBarListBox ( QWidget *parent = 0, const char *name = 0 )
- ~KURLBarListBox ()
- virtual void setOrientation ( Qt::Orientation orient )
- Qt::Orientation orientation () const
- bool isVertical () const

#### Signals

- void dropped ( QDropEvent *e )

#### Protected Methods

- virtual QDragObject * dragObject ()
- virtual void contentsDragEnterEvent ( QDragEnterEvent * )
- virtual void contentsDropEvent ( QDropEvent * )
- virtual void virtual_hook ( int id, void* data )

## Detailed Description

This is the listbox used in KURLBar. It is a subclass of KListBox to support drag & drop and to set up the row / column mode.

The widget has just one row or one column, depending on orientation().

KURLBarListBox ( QWidget *parent = 0, const char *name = 0 ) | ### KURLBarListBox

Constructs a KURLBarListBox.

~KURLBarListBox () | ### ~KURLBarListBox

Destroys the box.

void setOrientation ( Qt::Orientation orient ) | ### setOrientation

[virtual]

Sets the orientation of the widget. Horizontal means, all items are arranged in one row. Vertical means, all items are arranged in one column.

See also: orientation

Qt::Orientation orientation () | ### orientation

[const]

Returns: the current orientation.

See also: setOrientation

bool isVertical () | ### isVertical

[const]

void dropped ( QDropEvent *e ) | ### dropped

[signal]

Emitted when a drop-event happened.

QDragObject * dragObject () | ### dragObject

[protected virtual]

Returns: a suitable QDragObject when an item is dragged.

void contentsDragEnterEvent ( QDragEnterEvent * ) | ### contentsDragEnterEvent

[protected virtual]

@reimpl

void contentsDropEvent ( QDropEvent * ) | ### contentsDropEvent

[protected virtual]

@reimpl

void virtual_hook ( int id, void* data ) | ### virtual_hook

[protected virtual]

Reimplemented from KListBox.

- Author: Carsten Pfeiffer
- Generated: root on macppc.ports.openbsd.org on Sat Sep 6 10:37:17 2003, using kdoc 2.0a54.