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

import org.trinitydesktop.qt.TQt;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQPaintEvent;
import org.trinitydesktop.qt.TQDragEnterEvent;
import org.trinitydesktop.qt.TQContextMenuEvent;
import org.trinitydesktop.qt.TQDropEvent;
import org.trinitydesktop.qt.TQWidget;
import org.trinitydesktop.qt.TQDragObject;

/**

 This is the listbox used in KURLBar. It is a subclass of TDEListBox 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 {@link KURLBarListBoxSignals} for signals emitted by KURLBarListBox
		@author Carsten Pfeiffer <pfeiffer@kde.org>

		@short    This is the listbox used in KURLBar.

*/
public class KURLBarListBox extends TDEListBox  {
	protected KURLBarListBox(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**
		 Constructs a KURLBarListBox.
		     		@short    Constructs a KURLBarListBox.
	*/
	public KURLBarListBox(TQWidget parent, String name) {
		super((Class) null);
		newKURLBarListBox(parent,name);
	}
	private native void newKURLBarListBox(TQWidget parent, String name);
	public KURLBarListBox(TQWidget parent) {
		super((Class) null);
		newKURLBarListBox(parent);
	}
	private native void newKURLBarListBox(TQWidget parent);
	public KURLBarListBox() {
		super((Class) null);
		newKURLBarListBox();
	}
	private native void newKURLBarListBox();
	/**
		 Sets the orientation of the widget. Horizontal means, all items are
		 arranged in one row. Vertical means, all items are arranged in one
		 column.
				@short    Sets the orientation of the widget.
		@see #orientation
	*/
	public native void setOrientation(int orient);
	/**
				@return the current orientation.

		@short
		@see #setOrientation
	*/
	public native int orientation();
	public native boolean isVertical();
	/**
				@return a suitable TQDragObject when an item is dragged.

		@short
	*/
	protected native TQDragObject dragObject();
	protected native void contentsDragEnterEvent(TQDragEnterEvent arg1);
	protected native void contentsDropEvent(TQDropEvent arg1);
	protected native void contextMenuEvent(TQContextMenuEvent arg1);
	protected native void paintEvent(TQPaintEvent arg1);
	/** 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();
}
