//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.QListBoxItem;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QPoint;
import org.kde.qt.QFocusEvent;
import org.kde.qt.QMouseEvent;
import org.kde.qt.QKeyEvent;
import org.kde.qt.QEvent;
import org.kde.qt.QWidget;
import org.kde.qt.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 {@link KListBoxSignals} for signals emitted by KListBox
		@short A variant of QListBox that honors KDE's system-wide settings.

*/
public class KListBox extends QListBox  {
	protected KListBox(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	public KListBox(QWidget parent, String name, int f) {
		super((Class) null);
		newKListBox(parent,name,f);
	}
	private native void newKListBox(QWidget parent, String name, int f);
	public KListBox(QWidget parent, String name) {
		super((Class) null);
		newKListBox(parent,name);
	}
	private native void newKListBox(QWidget parent, String name);
	public KListBox(QWidget parent) {
		super((Class) null);
		newKListBox(parent);
	}
	private native void newKListBox(QWidget parent);
	public KListBox() {
		super((Class) null);
		newKListBox();
	}
	private native void newKListBox();
	protected native void emitExecute(QListBoxItem item, QPoint pos);
	protected native void keyPressEvent(QKeyEvent e);
	protected native void focusOutEvent(QFocusEvent fe);
	protected native void leaveEvent(QEvent e);
	protected native void contentsMousePressEvent(QMouseEvent e);
	protected native void contentsMouseDoubleClickEvent(QMouseEvent e);
	protected native void slotOnItem(QListBoxItem item);
	protected native void slotOnViewport();
	protected native void slotSettingsChanged(int arg1);
	/**	
		 Auto selection happend.
		   		@short    Auto selection happend.
	*/
	protected native void slotAutoSelect();
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}
