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

import org.trinitydesktop.qt.TQt;
import org.trinitydesktop.qt.TQRect;
import org.trinitydesktop.qt.TQFont;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQPaintEvent;
import org.trinitydesktop.qt.TQSize;
import org.trinitydesktop.qt.TQWidget;
import org.trinitydesktop.qt.TQResizeEvent;
import org.trinitydesktop.qt.TQWidget;

/**

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

	<li>
	To avoid confusion, the API is almost identical with TQTabDialog.
	</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 TQWidget  {
	protected KTabCtl(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public KTabCtl(TQWidget parent, String name) {
		super((Class) null);
		newKTabCtl(parent,name);
	}
	private native void newKTabCtl(TQWidget parent, String name);
	public KTabCtl(TQWidget parent) {
		super((Class) null);
		newKTabCtl(parent);
	}
	private native void newKTabCtl(TQWidget parent);
	public KTabCtl() {
		super((Class) null);
		newKTabCtl();
	}
	private native void newKTabCtl();
	public native void show();
	public native void setFont(TQFont font);
	public native void setTabFont(TQFont font);
	public native void addTab(TQWidget 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 TQSize sizeHint();
	protected native void paintEvent(TQPaintEvent arg1);
	protected native void resizeEvent(TQResizeEvent arg1);
	protected native void setSizes();
	protected native TQRect 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();
}
