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

 See {@link QDockAreaEventHandling} for event handlers to override in subclasses of QDockArea.

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

	private native void newQDockArea( int o, int h, QWidget parent, String name);
	public QDockArea( int o, int h, QWidget parent, String name) {
		super((Class) null);
		newQDockArea( o, h, parent, name);
	}
	private native void newQDockArea( int o);
	public QDockArea( int o) {
		super((Class) null);
		newQDockArea( o);
	}
	protected native void finalize() throws InternalError;
	public native void moveDockWindow( QDockWindow w, QPoint globalPos, QRect rect, boolean swap);
	public native void removeDockWindow( QDockWindow w, boolean makeFloating, boolean swap, boolean fixNewLines);
	public native void removeDockWindow( QDockWindow w, boolean makeFloating, boolean swap);
	public native void moveDockWindow( QDockWindow w, int index);
	public native void moveDockWindow( QDockWindow w);
	public native boolean hasDockWindow( QDockWindow w, int[] index);
	public native boolean hasDockWindow( QDockWindow w);
	public native void invalidNextOffset( QDockWindow dw);
	public native int orientation();
	public native int handlePosition();
	public native boolean eventFilter( QObject arg1, QEvent arg2);
	public native boolean isEmpty();
	public native int count();
	public native boolean isDockWindowAccepted( QDockWindow dw);
	public native void setAcceptDockWindow( QDockWindow dw, boolean accept);
	public native void lineUp( boolean keepNewLines);
	public static final int Normal = 0;
	public static final int Reverse = 1;
}
