/***************************************************************************
                            WindowArgs.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;

/**

 The WindowArgs are used to specify arguments to the "create new window"
 call (see the createNewWindow variant that uses WindowArgs).
 The primary reason for this is the javascript window.open function.
 
 @short 
 The WindowArgs are used to specify arguments to the "create new window"
 call (see the createNewWindow variant that uses WindowArgs).
*/
public class  WindowArgs implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;

	protected WindowArgs(Class dummy){}

	private native void newWindowArgs();
	public WindowArgs() {
		newWindowArgs();
	}
	private native void newWindowArgs( WindowArgs args);
	public WindowArgs( WindowArgs args) {
		newWindowArgs( args);
	}
	private native void newWindowArgs( QRect _geometry, boolean _fullscreen, boolean _menuBarVisible, boolean _toolBarsVisible, boolean _statusBarVisible, boolean _resizable);
	public WindowArgs( QRect _geometry, boolean _fullscreen, boolean _menuBarVisible, boolean _toolBarsVisible, boolean _statusBarVisible, boolean _resizable) {
		newWindowArgs( _geometry, _fullscreen, _menuBarVisible, _toolBarsVisible, _statusBarVisible, _resizable);
	}
	private native void newWindowArgs( int _x, int _y, int _width, int _height, boolean _fullscreen, boolean _menuBarVisible, boolean _toolBarsVisible, boolean _statusBarVisible, boolean _resizable);
	public WindowArgs( int _x, int _y, int _width, int _height, boolean _fullscreen, boolean _menuBarVisible, boolean _toolBarsVisible, boolean _statusBarVisible, boolean _resizable) {
		newWindowArgs( _x, _y, _width, _height, _fullscreen, _menuBarVisible, _toolBarsVisible, _statusBarVisible, _resizable);
	}
}
