/***************************************************************************
                            KTabCtl.java -  description
                             -------------------
    begin                : Sun Jan 27 16:22:17 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Jan 27 16:22:17 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.koala;

import org.kde.qt.*;
import java.util.*;
import java.lang.Error;

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

 See {@link KTabCtlSignals} for signals emitted by KTabCtl.

 See {@link KTabCtlEventHandling} for event handlers to override in subclasses of KTabCtl.

 @author Alexander Sanda (alex@darkstar.ping.at)

 @version $Id: KTabCtl.java,v 1.6 2002/01/31 04:49:02 rdale Exp $

 @short  
 Tabbed dialog with extended features.
*/
public class KTabCtl extends QWidget  {
	protected KTabCtl(Class dummy){super((Class) null);}

	private native void newKTabCtl( QWidget parent, String name);
	public KTabCtl( QWidget parent, String name) {
		super((Class) null);
		newKTabCtl( parent, name);
	}
	private native void newKTabCtl();
	public KTabCtl() {
		super((Class) null);
		newKTabCtl();
	}
	protected native void finalize() throws InternalError;
	public native void dispose();
	public native boolean isDisposed();
	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);
}
