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

import org.trinitydesktop.qt.Qt;

/**
 See {@link TQTabBarSignals} for signals emitted by TQTabBar
*/
public class TQTabBar extends TQWidget  {
	protected TQTabBar(Class dummy){super((Class) null);}
	public static final int RoundedAbove = 0;
	public static final int RoundedBelow = 1;
	public static final int TriangularAbove = 2;
	public static final int TriangularBelow = 3;

	public native TQMetaObject metaObject();
	public native String className();
	public TQTabBar(TQWidget parent, String name) {
		super((Class) null);
		newTQTabBar(parent,name);
	}
	private native void newTQTabBar(TQWidget parent, String name);
	public TQTabBar(TQWidget parent) {
		super((Class) null);
		newTQTabBar(parent);
	}
	private native void newTQTabBar(TQWidget parent);
	public TQTabBar() {
		super((Class) null);
		newTQTabBar();
	}
	private native void newTQTabBar();
	public native int shape();
	public native void setShape(int arg1);
	public native void show();
	public native int addTab(TQTab arg1);
	public native int insertTab(TQTab arg1, int index);
	public native int insertTab(TQTab arg1);
	public native void removeTab(TQTab arg1);
	public native void setTabEnabled(int arg1, boolean arg2);
	public native boolean isTabEnabled(int arg1);
	public native TQSize sizeHint();
	public native TQSize minimumSizeHint();
	public native int currentTab();
	public native int keyboardFocusTab();
	public native TQTab tab(int arg1);
	public native TQTab tabAt(int arg1);
	public native int indexOf(int arg1);
	public native int count();
	public native void layoutTabs();
	public native TQTab selectTab(TQPoint p);
	public native void removeToolTip(int index);
	public native void setToolTip(int index, String tip);
	public native String toolTip(int index);
	public native void setCurrentTab(int arg1);
	public native void setCurrentTab(TQTab arg1);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void paint(TQPainter arg1, TQTab arg2, boolean arg3);
	protected native void paintLabel(TQPainter arg1, TQRect arg2, TQTab arg3, boolean arg4);
	protected native void focusInEvent(TQFocusEvent e);
	protected native void focusOutEvent(TQFocusEvent e);
	protected native void resizeEvent(TQResizeEvent arg1);
	protected native void paintEvent(TQPaintEvent arg1);
	protected native void mousePressEvent(TQMouseEvent arg1);
	protected native void mouseMoveEvent(TQMouseEvent arg1);
	protected native void mouseReleaseEvent(TQMouseEvent arg1);
	protected native void keyPressEvent(TQKeyEvent arg1);
	public native void styleChange(TQStyle arg1);
	protected native void fontChange(TQFont arg1);
	public native boolean event(TQEvent e);
	// TQPtrList<TQTab>* tabList(); >>>> NOT CONVERTED
	/** 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();
}
