//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;
import java.util.ArrayList;

/**
 See {@link QWorkspaceSignals} for signals emitted by QWorkspace
*/
public class QWorkspace extends QWidget  {
	protected QWorkspace(Class dummy){super((Class) null);}
	public static final int CreationOrder = 0;
	public static final int StackingOrder = 1;

	public native QMetaObject metaObject();
	public native String className();
	public QWorkspace(QWidget parent, String name) {
		super((Class) null);
		newQWorkspace(parent,name);
	}
	private native void newQWorkspace(QWidget parent, String name);
	public QWorkspace(QWidget parent) {
		super((Class) null);
		newQWorkspace(parent);
	}
	private native void newQWorkspace(QWidget parent);
	public QWorkspace() {
		super((Class) null);
		newQWorkspace();
	}
	private native void newQWorkspace();
	public native QWidget activeWindow();
	public native ArrayList windowList();
	public native ArrayList windowList(int order);
	public native QSize sizeHint();
	public native boolean scrollBarsEnabled();
	public native void setScrollBarsEnabled(boolean enable);
	public native void setPaletteBackgroundColor(QColor arg1);
	public native void setPaletteBackgroundPixmap(QPixmap arg1);
	public native void cascade();
	public native void tile();
	public native void closeActiveWindow();
	public native void closeAllWindows();
	public native void activateNextWindow();
	public native void activatePrevWindow();
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	public native void styleChange(QStyle arg1);
	protected native void childEvent(QChildEvent arg1);
	protected native void resizeEvent(QResizeEvent arg1);
	public native boolean eventFilter(QObject arg1, QEvent arg2);
	public native void showEvent(QShowEvent e);
	protected native void hideEvent(QHideEvent e);
	protected native void wheelEvent(QWheelEvent e);
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}
