org.kde.koala

Class KURLBarListBox

public class KURLBarListBox extends KListBox

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(). See KURLBarListBoxSignals for signals emitted by KURLBarListBox

Author: Carsten Pfeiffer

UNKNOWN: This is the listbox used in KURLBar.

Constructor Summary
protected KURLBarListBox(Class dummy)
KURLBarListBox(QWidget parent, String name)
Constructs a KURLBarListBox.
KURLBarListBox(QWidget parent)
KURLBarListBox()
Method Summary
StringclassName()
protected voidcontentsDragEnterEvent(QDragEnterEvent arg1)
protected voidcontentsDropEvent(QDropEvent arg1)
protected voidcontextMenuEvent(QContextMenuEvent arg1)
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected QDragObjectdragObject()
protected voidfinalize()
Deletes the wrapped C++ instance
booleanisDisposed()
Has the wrapped C++ instance been deleted?
booleanisVertical()
QMetaObjectmetaObject()
intorientation()
protected voidpaintEvent(QPaintEvent arg1)
voidsetOrientation(int orient)
Sets the orientation of the widget.

Constructor Detail

KURLBarListBox

protected KURLBarListBox(Class dummy)

KURLBarListBox

public KURLBarListBox(QWidget parent, String name)
Constructs a KURLBarListBox.

UNKNOWN: Constructs a KURLBarListBox.

KURLBarListBox

public KURLBarListBox(QWidget parent)

KURLBarListBox

public KURLBarListBox()

Method Detail

className

public String className()

contentsDragEnterEvent

protected void contentsDragEnterEvent(QDragEnterEvent arg1)

contentsDropEvent

protected void contentsDropEvent(QDropEvent arg1)

contextMenuEvent

protected void contextMenuEvent(QContextMenuEvent arg1)

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

dragObject

protected QDragObject dragObject()

Returns: a suitable QDragObject when an item is dragged.

UNKNOWN:

finalize

protected void finalize()
Deletes the wrapped C++ instance

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

isVertical

public boolean isVertical()

metaObject

public QMetaObject metaObject()

orientation

public int orientation()

Returns: the current orientation.

See Also: KURLBarListBox

UNKNOWN:

paintEvent

protected void paintEvent(QPaintEvent arg1)

setOrientation

public void setOrientation(int orient)
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: KURLBarListBox

UNKNOWN: Sets the orientation of the widget.