/***************************************************************************
                            QSplitter.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 QSplitterSignals} for signals emitted by QSplitter.

 See {@link QSplitterEventHandling} for event handlers to override in subclasses of QSplitter.

*/
public class QSplitter extends QFrame  {
	protected QSplitter(Class dummy){super((Class) null);}

	private native void newQSplitter( QWidget parent, String name);
	public QSplitter( QWidget parent, String name) {
		super((Class) null);
		newQSplitter( parent, name);
	}
	public QSplitter( QWidget parent) {
		this( parent, null);
	}
	private native void newQSplitter();
	public QSplitter() {
		super((Class) null);
		newQSplitter();
	}
	private native void newQSplitter( int arg1, QWidget parent, String name);
	public QSplitter( int arg1, QWidget parent, String name) {
		super((Class) null);
		newQSplitter( arg1, parent, name);
	}
	private native void newQSplitter( int arg1);
	public QSplitter( int arg1) {
		super((Class) null);
		newQSplitter( arg1);
	}
	protected native void finalize() throws InternalError;
	public native void setOrientation( int arg1);
	public native int orientation();
	public native void setResizeMode( QWidget w, int arg1);
	public native void setOpaqueResize( boolean arg1);
	public native void setOpaqueResize();
	public native boolean opaqueResize();
	public native void moveToFirst( QWidget arg1);
	public native void moveToLast( QWidget arg1);
	public native void refresh();
	public native QSize sizeHint();
	public native QSize minimumSizeHint();
	public native int[] sizes();
	public native void setSizes( int[] arg1);
	public native boolean event( QEvent arg1);
	protected native int idAfter( QWidget arg1);
	protected native void moveSplitter( short pos, int identifier);
	protected native void drawSplitter( QPainter arg1, short x, short y, short w, short h);
	protected native void styleChange( QStyle arg1);
	protected native int adjustPos( int arg1, int arg2);
	protected native void setRubberband( int arg1);
	protected native void getRange( int identifier, int[] arg1, int[] arg2);
	public static final int Stretch = 0;
	public static final int KeepSize = 1;
	public static final int FollowSizeHint = 2;
}
