class KURLBarListBox

This is the listbox used in KURLBar. More...

Definition#include <kurlbar.h>
InheritsKListBox (kdeui) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Signals

Protected Methods


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

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.