//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.TQRect;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQPoint;
import org.trinitydesktop.qt.TQDragMoveEvent;
import org.trinitydesktop.qt.TQPainter;
import org.trinitydesktop.qt.TQMouseEvent;
import org.trinitydesktop.qt.TQDropEvent;
import org.trinitydesktop.qt.TQWidget;
import org.trinitydesktop.qt.TQWheelEvent;
import org.trinitydesktop.qt.TQTab;
import org.trinitydesktop.qt.TQTabBar;

/**

 See {@link KTabBarSignals} for signals emitted by KTabBar
		@short

*/
public class KTabBar extends TQTabBar  {
	protected KTabBar(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public KTabBar(TQWidget parent, String name) {
		super((Class) null);
		newKTabBar(parent,name);
	}
	private native void newKTabBar(TQWidget parent, String name);
	public KTabBar(TQWidget parent) {
		super((Class) null);
		newKTabBar(parent);
	}
	private native void newKTabBar(TQWidget parent);
	public KTabBar() {
		super((Class) null);
		newKTabBar();
	}
	private native void newKTabBar();
	public native void setTabEnabled(int arg1, boolean arg2);
	public native TQColor tabColor(int arg1);
	public native void setTabColor(int arg1, TQColor arg2);
	public native int insertTab(TQTab arg1, int index);
	public native int insertTab(TQTab arg1);
	public native void removeTab(TQTab arg1);
	public native void setTabReorderingEnabled(boolean enable);
	public native boolean isTabReorderingEnabled();
	public native void setHoverCloseButton(boolean arg1);
	public native boolean hoverCloseButton();
	public native void setHoverCloseButtonDelayed(boolean arg1);
	public native boolean hoverCloseButtonDelayed();
	public native void setTabCloseActivatePrevious(boolean arg1);
	public native boolean tabCloseActivatePrevious();
	protected native void mouseDoubleClickEvent(TQMouseEvent e);
	protected native void mousePressEvent(TQMouseEvent e);
	protected native void mouseMoveEvent(TQMouseEvent e);
	protected native void mouseReleaseEvent(TQMouseEvent e);
	protected native void wheelEvent(TQWheelEvent e);
	protected native void dragMoveEvent(TQDragMoveEvent e);
	protected native void dropEvent(TQDropEvent e);
	protected native void paintLabel(TQPainter arg1, TQRect arg2, TQTab arg3, boolean arg4);
	protected native void closeButtonClicked();
	protected native void onLayoutChange();
	protected native void enableCloseButton();
	protected native void activateDragSwitchTab();
	/** 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();
}
