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

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQColor;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQPoint;
import org.trinitydesktop.qt.TQDragMoveEvent;
import org.trinitydesktop.qt.TQMouseEvent;
import org.trinitydesktop.qt.TQDropEvent;
import org.trinitydesktop.qt.TQIconSet;
import org.trinitydesktop.qt.TQWidget;
import org.trinitydesktop.qt.TQResizeEvent;
import org.trinitydesktop.qt.TQWheelEvent;
import org.trinitydesktop.qt.TQTab;
import org.trinitydesktop.qt.TQTabWidget;

/**

 \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 TQTabWidget  {
	protected KTabWidget(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public KTabWidget(TQWidget parent, String name, int f) {
		super((Class) null);
		newKTabWidget(parent,name,f);
	}
	private native void newKTabWidget(TQWidget parent, String name, int f);
	public KTabWidget(TQWidget parent, String name) {
		super((Class) null);
		newKTabWidget(parent,name);
	}
	private native void newKTabWidget(TQWidget parent, String name);
	public KTabWidget(TQWidget parent) {
		super((Class) null);
		newKTabWidget(parent);
	}
	private native void newKTabWidget(TQWidget parent);
	public KTabWidget() {
		super((Class) null);
		newKTabWidget();
	}
	private native void newKTabWidget();
	public native void setTabColor(TQWidget arg1, TQColor color);
	public native TQColor tabColor(TQWidget 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(TQWidget arg1, String arg2, int index);
	public native void insertTab(TQWidget arg1, String arg2);
	public native void insertTab(TQWidget child, TQIconSet iconset, String label, int index);
	public native void insertTab(TQWidget child, TQIconSet iconset, String label);
	public native void insertTab(TQWidget arg1, TQTab arg2, int index);
	public native void insertTab(TQWidget arg1, TQTab arg2);
	public native void changeTab(TQWidget arg1, String arg2);
	public native void changeTab(TQWidget child, TQIconSet iconset, String label);
	public native String label(int arg1);
	public native String tabLabel(TQWidget arg1);
	public native void setTabLabel(TQWidget arg1, String arg2);
	public native void moveTab(int arg1, int arg2);
	public native void removePage(TQWidget 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(TQMouseEvent e);
	protected native void mousePressEvent(TQMouseEvent arg1);
	protected native void dragMoveEvent(TQDragMoveEvent arg1);
	protected native void dropEvent(TQDropEvent arg1);
	protected native int tabBarWidthForMaxChars(int maxLength);
	protected native void wheelEvent(TQWheelEvent e);
	protected native void resizeEvent(TQResizeEvent arg1);
	protected native void receivedDropEvent(int arg1, TQDropEvent arg2);
	protected native void initiateDrag(int arg1);
	protected native void contextMenu(int arg1, TQPoint 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();
}
