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

import org.kde.qt.Qt;
import org.kde.qt.QColor;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QPoint;
import org.kde.qt.QDragMoveEvent;
import org.kde.qt.QMouseEvent;
import org.kde.qt.QDropEvent;
import org.kde.qt.QIconSet;
import org.kde.qt.QWidget;
import org.kde.qt.QResizeEvent;
import org.kde.qt.QWheelEvent;
import org.kde.qt.QTab;
import org.kde.qt.QTabWidget;

/**

 \brief A widget containing multiple tabs
 See {@link KTabWidgetSignals} for signals emitted by KTabWidget
		@short    \brief A widget containing multiple tabs

*/
public class KTabWidget extends QTabWidget  {
	protected KTabWidget(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	public KTabWidget(QWidget parent, String name, int f) {
		super((Class) null);
		newKTabWidget(parent,name,f);
	}
	private native void newKTabWidget(QWidget parent, String name, int f);
	public KTabWidget(QWidget parent, String name) {
		super((Class) null);
		newKTabWidget(parent,name);
	}
	private native void newKTabWidget(QWidget parent, String name);
	public KTabWidget(QWidget parent) {
		super((Class) null);
		newKTabWidget(parent);
	}
	private native void newKTabWidget(QWidget parent);
	public KTabWidget() {
		super((Class) null);
		newKTabWidget();
	}
	private native void newKTabWidget();
	public native void setTabColor(QWidget arg1, QColor color);
	public native QColor tabColor(QWidget arg1);
	public native boolean hoverCloseButtonDelayed();
	public native boolean tabCloseActivatePrevious();
	public native boolean automaticResizeTabs();
	public native void setTabBarHidden(boolean hide);
	public native boolean isTabBarHidden();
	public native void insertTab(QWidget arg1, String arg2, int index);
	public native void insertTab(QWidget arg1, String arg2);
	public native void insertTab(QWidget child, QIconSet iconset, String label, int index);
	public native void insertTab(QWidget child, QIconSet iconset, String label);
	public native void insertTab(QWidget arg1, QTab arg2, int index);
	public native void insertTab(QWidget arg1, QTab arg2);
	public native void changeTab(QWidget arg1, String arg2);
	public native void changeTab(QWidget child, QIconSet iconset, String label);
	public native String label(int arg1);
	public native String tabLabel(QWidget arg1);
	public native void setTabLabel(QWidget arg1, String arg2);
	public native void moveTab(int arg1, int arg2);
	public native void removePage(QWidget w);
	public native void setTabReorderingEnabled(boolean enable);
	public native void setHoverCloseButton(boolean enable);
	public native void setHoverCloseButtonDelayed(boolean delayed);
	public native void setTabCloseActivatePrevious(boolean previous);
	public native void setAutomaticResizeTabs(boolean enable);
	protected native void mouseDoubleClickEvent(QMouseEvent e);
	protected native void mousePressEvent(QMouseEvent arg1);
	protected native void dragMoveEvent(QDragMoveEvent arg1);
	protected native void dropEvent(QDropEvent arg1);
	protected native int tabBarWidthForMaxChars(int maxLength);
	protected native void wheelEvent(QWheelEvent e);
	protected native void resizeEvent(QResizeEvent arg1);
	protected native void receivedDropEvent(int arg1, QDropEvent arg2);
	protected native void initiateDrag(int arg1);
	protected native void contextMenu(int arg1, QPoint arg2);
	protected native void mouseDoubleClick(int arg1);
	protected native void mouseMiddleClick(int arg1);
	protected native void closeRequest(int arg1);
	protected native void wheelDelta(int 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();
}
