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

import org.kde.qt.Qt;
import org.kde.qt.QRect;
import org.kde.qt.QFont;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QPaintEvent;
import org.kde.qt.QSize;
import org.kde.qt.QWidget;
import org.kde.qt.QResizeEvent;
import org.kde.qt.QWidget;

/**

 Tabbed dialog with extended features.
 KTabCtl is very similar to QTabDialog, with the following differences:

	<li>
	To avoid confusion, the API is almost identical with QTabDialog.
	</li>
	
	<li>
	Does not create any buttons, therefore KTabCtl is not limited
	 to dialog boxes. You can use it whereever you want.
	</li>
	
	<li>
	emits the signal tabSelected(int pagenumber) when the user
	 selects one of the tabs. This gives you the chance to update the
	 widget contents of a single page. The signal is emitted _before_ the
	 page is shown.  This is very useful if the contents of some widgets
	 on page A depend on the contents of some other widgets on page B.
	</li>
	 See {@link KTabCtlSignals} for signals emitted by KTabCtl
		@author Alexander Sanda (alex@darkstar.ping.at)

		@version $Id$

		@short    Tabbed dialog with extended features.

*/
public class KTabCtl extends QWidget  {
	protected KTabCtl(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	public KTabCtl(QWidget parent, String name) {
		super((Class) null);
		newKTabCtl(parent,name);
	}
	private native void newKTabCtl(QWidget parent, String name);
	public KTabCtl(QWidget parent) {
		super((Class) null);
		newKTabCtl(parent);
	}
	private native void newKTabCtl(QWidget parent);
	public KTabCtl() {
		super((Class) null);
		newKTabCtl();
	}
	private native void newKTabCtl();
	public native void show();
	public native void setFont(QFont font);
	public native void setTabFont(QFont font);
	public native void addTab(QWidget arg1, String arg2);
	public native boolean isTabEnabled(String arg1);
	public native void setTabEnabled(String arg1, boolean arg2);
	public native void setBorder(boolean arg1);
	public native void setShape(int shape);
	public native QSize sizeHint();
	protected native void paintEvent(QPaintEvent arg1);
	protected native void resizeEvent(QResizeEvent arg1);
	protected native void setSizes();
	protected native QRect getChildRect();
	protected native void showTab(int i);
	/** 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();
}
