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

import org.kde.qt.Qt;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QPixmap;
import org.kde.qt.QPainter;
import org.kde.qt.QWidget;

/**

 This class should never be created except with the appendTab call of KMultiTabBar
 		@short    This class should never be created except with the appendTab call of KMultiTabBar

*/
public class KMultiTabBarTab extends KMultiTabBarButton  {
	protected KMultiTabBarTab(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	public KMultiTabBarTab(QPixmap pic, String arg2, int id, QWidget parent, int pos, int style) {
		super((Class) null);
		newKMultiTabBarTab(pic,arg2,id,parent,pos,style);
	}
	private native void newKMultiTabBarTab(QPixmap pic, String arg2, int id, QWidget parent, int pos, int style);
	/**	
		 set the active state of the tab
			@param state true==active false==not active
			 		@short    set the active state of the tab
	*/
	public native void setState(boolean state);
	/**	
		 choose if the text should always be displayed
		 this is only used in classic mode if at all
			 		@short    choose if the text should always be displayed  this is only used in classic mode if at all
	*/
	public native void showActiveTabText(boolean show);
	public native void resize();
	public native void setIcon(String arg1);
	public native void setIcon(QPixmap arg1);
	protected native void setSize(int arg1);
	protected native int neededSize();
	protected native void updateState();
	protected native void drawButton(QPainter arg1);
	protected native void drawButtonLabel(QPainter arg1);
	protected native void drawButtonStyled(QPainter arg1);
	protected native void drawButtonClassic(QPainter arg1);
	protected native void slotClicked();
	protected native void setTabsPosition(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();
}
