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

import org.kde.qt.Qt;

public class QLayout extends QObject implements QLayoutItemInterface {
	protected QLayout(Class dummy){super((Class) null);}
	public static final int FreeResize = 0;
	public static final int Minimum = 1;
	public static final int Fixed = 2;
	public static final int Auto = 3;

	public native QMetaObject metaObject();
	public native String className();
	public native int margin();
	public native int spacing();
	public native void setMargin(int arg1);
	public native void setSpacing(int arg1);
	public native int defaultBorder();
	public native void freeze(int w, int h);
	public native void freeze();
	public native void setResizeMode(int arg1);
	public native int resizeMode();
	public native void setMenuBar(QMenuBar w);
	public native QMenuBar menuBar();
	public native QWidget mainWidget();
	public native boolean isTopLevel();
	public native void setAutoAdd(boolean arg1);
	public native boolean autoAdd();
	public native void invalidate();
	public native QRect geometry();
	public native boolean activate();
	public native void add(QWidget w);
	public native void addItem(QLayoutItemInterface arg1);
	public native void remove(QWidget w);
	public native void removeItem(QLayoutItemInterface arg1);
	public native int expanding();
	public native QSize minimumSize();
	public native QSize maximumSize();
	public native void setGeometry(QRect arg1);
	// QLayoutIterator iterator(); >>>> NOT CONVERTED
	public native boolean isEmpty();
	public native int totalHeightForWidth(int w);
	public native QSize totalMinimumSize();
	public native QSize totalMaximumSize();
	public native QSize totalSizeHint();
	public native QLayout layout();
	public native boolean supportsMargin();
	public native void setEnabled(boolean arg1);
	public native boolean isEnabled();
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	public native QSize sizeHint();
	public native boolean hasHeightForWidth();
	public native int heightForWidth(int arg1);
	public native QWidget widget();
	// QLayoutIterator iterator(); >>>> NOT CONVERTED
	public native QSpacerItem spacerItem();
	public native int alignment();
	public native void setAlignment(int a);
}
