//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.QRect;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QPoint;
import org.kde.qt.QDragMoveEvent;
import org.kde.qt.QPainter;
import org.kde.qt.QMouseEvent;
import org.kde.qt.QDropEvent;
import org.kde.qt.QWidget;
import org.kde.qt.QWheelEvent;
import org.kde.qt.QTab;
import org.kde.qt.QTabBar;

/**

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

*/
public class KTabBar extends QTabBar  {
	protected KTabBar(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	public KTabBar(QWidget parent, String name) {
		super((Class) null);
		newKTabBar(parent,name);
	}
	private native void newKTabBar(QWidget parent, String name);
	public KTabBar(QWidget parent) {
		super((Class) null);
		newKTabBar(parent);
	}
	private native void newKTabBar(QWidget parent);
	public KTabBar() {
		super((Class) null);
		newKTabBar();
	}
	private native void newKTabBar();
	public native void setTabEnabled(int arg1, boolean arg2);
	public native QColor tabColor(int arg1);
	public native void setTabColor(int arg1, QColor arg2);
	public native int insertTab(QTab arg1, int index);
	public native int insertTab(QTab arg1);
	public native void removeTab(QTab 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(QMouseEvent e);
	protected native void mousePressEvent(QMouseEvent e);
	protected native void mouseMoveEvent(QMouseEvent e);
	protected native void mouseReleaseEvent(QMouseEvent e);
	protected native void wheelEvent(QWheelEvent e);
	protected native void dragMoveEvent(QDragMoveEvent e);
	protected native void dropEvent(QDropEvent e);
	protected native void paintLabel(QPainter arg1, QRect arg2, QTab 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();
}
