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

import org.kde.qt.Qt;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QPaintEvent;
import org.kde.qt.QDragEnterEvent;
import org.kde.qt.QContextMenuEvent;
import org.kde.qt.QDropEvent;
import org.kde.qt.QWidget;
import org.kde.qt.QDragObject;

/**

 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 {@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 KListBox  {
	protected KURLBarListBox(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	/**	
		 Constructs a KURLBarListBox.
		     		@short    Constructs a KURLBarListBox.
	*/
	public KURLBarListBox(QWidget parent, String name) {
		super((Class) null);
		newKURLBarListBox(parent,name);
	}
	private native void newKURLBarListBox(QWidget parent, String name);
	public KURLBarListBox(QWidget parent) {
		super((Class) null);
		newKURLBarListBox(parent);
	}
	private native void newKURLBarListBox(QWidget 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 QDragObject when an item is dragged.
     
		@short
	*/
	protected native QDragObject dragObject();
	protected native void contentsDragEnterEvent(QDragEnterEvent arg1);
	protected native void contentsDropEvent(QDropEvent arg1);
	protected native void contextMenuEvent(QContextMenuEvent arg1);
	protected native void paintEvent(QPaintEvent 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();
}
