/***************************************************************************
                            QTabWidget.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, 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.qt;

import java.util.*;
import java.lang.Error;

/**
 See {@link QTabWidgetSignals} for signals emitted by QTabWidget.

 See {@link QTabWidgetEventHandling} for event handlers to override in subclasses of QTabWidget.

*/
public class QTabWidget extends QWidget  {
	protected QTabWidget(Class dummy){super((Class) null);}

	private native void newQTabWidget( QWidget parent, String name, int f);
	public QTabWidget( QWidget parent, String name, int f) {
		super((Class) null);
		newQTabWidget( parent, name, f);
	}
	public QTabWidget( QWidget parent, String name) {
		this( parent, name, 0);
	}
	public QTabWidget( QWidget parent) {
		this( parent, null, 0);
	}
	private native void newQTabWidget();
	public QTabWidget() {
		super((Class) null);
		newQTabWidget();
	}
	protected native void finalize() throws InternalError;
	public native void addTab( QWidget arg1, String arg2);
	public native void addTab( QWidget child, QIconSet iconset, String label);
	public native void addTab( QWidget arg1, QTab arg2);
	public native void insertTab( QWidget arg1, String arg2, int index);
	public native void insertTab( QWidget arg1, String arg2);
	public native void insertTab( QWidget child, QIconSet iconset, String label, int index);
	public native void insertTab( QWidget child, QIconSet iconset, String label);
	public native void insertTab( QWidget arg1, QTab arg2, int index);
	public native void insertTab( QWidget arg1, QTab arg2);
	public native void changeTab( QWidget arg1, String arg2);
	public native void changeTab( QWidget child, QIconSet iconset, String label);
	public native boolean isTabEnabled( QWidget arg1);
	public native void setTabEnabled( QWidget arg1, boolean arg2);
	public native String tabLabel( QWidget arg1);
	public native void setTabLabel( QWidget p, String l);
	public native QIconSet tabIconSet( QWidget w);
	public native void setTabIconSet( QWidget w, QIconSet iconset);
	public native void removeTabToolTip( QWidget w);
	public native void setTabToolTip( QWidget w, String tip);
	public native String tabToolTip( QWidget w);
	public native QWidget currentPage();
	public native QWidget page( int arg1);
	public native String label( int arg1);
	public native int currentPageIndex();
	public native int indexOf( QWidget arg1);
	public native QSize sizeHint();
	public native QSize minimumSizeHint();
	public native int tabPosition();
	public native void setTabPosition( int arg1);
	public native int tabShape();
	public native void setTabShape( int s);
	public native int margin();
	public native void setMargin( int arg1);
	public native int count();
	public native void setCurrentPage( int arg1);
	public native void showPage( QWidget arg1);
	public native void removePage( QWidget arg1);
	protected native void setTabBar( QTabBar arg1);
	protected native QTabBar tabBar();
	protected native void styleChange( QStyle arg1);
	protected native void updateMask();
	public native boolean eventFilter( QObject arg1, QEvent arg2);
	public static final int Top = 0;
	public static final int Bottom = 1;
	public static final int Rounded = 0;
	public static final int Triangular = 1;
}
