org.kde.koala

Class KListBox

public class KListBox extends QListBox

Extends the functionality of QListBox to honor the system wide settings for Single Click/Double Click mode, Auto Selection and Change Cursor over Link. There is a new signal executed(). It gets connected to either QListBox.clicked() or QListBox.doubleClicked() depending on the KDE wide Single Click/Double Click settings. It is strongly recommended that you use this signal instead of the above mentioned. This way you don't need to care about the current settings. If you want to get informed when the user selects something connect to the QListBox.selectionChanged() signal. See KListBoxSignals for signals emitted by KListBox

UNKNOWN: A variant of QListBox that honors KDE's system-wide settings.

Constructor Summary
protected KListBox(Class dummy)
KListBox(QWidget parent, String name, int f)
KListBox(QWidget parent, String name)
KListBox(QWidget parent)
KListBox()
Method Summary
StringclassName()
protected voidcontentsMouseDoubleClickEvent(QMouseEvent e)
protected voidcontentsMousePressEvent(QMouseEvent e)
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voidemitExecute(QListBoxItem item, QPoint pos)
protected voidfinalize()
Deletes the wrapped C++ instance
protected voidfocusOutEvent(QFocusEvent fe)
booleanisDisposed()
Has the wrapped C++ instance been deleted?
protected voidkeyPressEvent(QKeyEvent e)
protected voidleaveEvent(QEvent e)
QMetaObjectmetaObject()
protected voidslotAutoSelect()
Auto selection happend.
protected voidslotOnItem(QListBoxItem item)
protected voidslotOnViewport()
protected voidslotSettingsChanged(int arg1)

Constructor Detail

KListBox

protected KListBox(Class dummy)

KListBox

public KListBox(QWidget parent, String name, int f)

KListBox

public KListBox(QWidget parent, String name)

KListBox

public KListBox(QWidget parent)

KListBox

public KListBox()

Method Detail

className

public String className()

contentsMouseDoubleClickEvent

protected void contentsMouseDoubleClickEvent(QMouseEvent e)

contentsMousePressEvent

protected void contentsMousePressEvent(QMouseEvent e)

dispose

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

emitExecute

protected void emitExecute(QListBoxItem item, QPoint pos)

finalize

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

focusOutEvent

protected void focusOutEvent(QFocusEvent fe)

isDisposed

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

keyPressEvent

protected void keyPressEvent(QKeyEvent e)

leaveEvent

protected void leaveEvent(QEvent e)

metaObject

public QMetaObject metaObject()

slotAutoSelect

protected void slotAutoSelect()
Auto selection happend.

UNKNOWN: Auto selection happend.

slotOnItem

protected void slotOnItem(QListBoxItem item)

slotOnViewport

protected void slotOnViewport()

slotSettingsChanged

protected void slotSettingsChanged(int arg1)