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

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQListBoxItem;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQPoint;
import org.trinitydesktop.qt.TQFocusEvent;
import org.trinitydesktop.qt.TQMouseEvent;
import org.trinitydesktop.qt.TQKeyEvent;
import org.trinitydesktop.qt.TQEvent;
import org.trinitydesktop.qt.TQWidget;
import org.trinitydesktop.qt.TQListBox;

/**

 Extends the functionality of TQListBox 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
 TQListBox.clicked() or TQListBox.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 TQListBox.selectionChanged() signal.
 See {@link TDEListBoxSignals} for signals emitted by TDEListBox
		@short A variant of TQListBox that honors KDE's system-wide settings.

*/
public class TDEListBox extends TQListBox  {
	protected TDEListBox(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public TDEListBox(TQWidget parent, String name, int f) {
		super((Class) null);
		newTDEListBox(parent,name,f);
	}
	private native void newTDEListBox(TQWidget parent, String name, int f);
	public TDEListBox(TQWidget parent, String name) {
		super((Class) null);
		newTDEListBox(parent,name);
	}
	private native void newTDEListBox(TQWidget parent, String name);
	public TDEListBox(TQWidget parent) {
		super((Class) null);
		newTDEListBox(parent);
	}
	private native void newTDEListBox(TQWidget parent);
	public TDEListBox() {
		super((Class) null);
		newTDEListBox();
	}
	private native void newTDEListBox();
	protected native void emitExecute(TQListBoxItem item, TQPoint pos);
	protected native void keyPressEvent(TQKeyEvent e);
	protected native void focusOutEvent(TQFocusEvent fe);
	protected native void leaveEvent(TQEvent e);
	protected native void contentsMousePressEvent(TQMouseEvent e);
	protected native void contentsMouseDoubleClickEvent(TQMouseEvent e);
	protected native void slotOnItem(TQListBoxItem 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();
}
