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

import org.trinitydesktop.qt.Qt;

public class TQLayout extends TQObject implements TQLayoutItemInterface {
	protected TQLayout(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 TQMetaObject 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(TQMenuBar w);
	public native TQMenuBar menuBar();
	public native TQWidget mainWidget();
	public native boolean isTopLevel();
	public native void setAutoAdd(boolean arg1);
	public native boolean autoAdd();
	public native void invalidate();
	public native TQRect geometry();
	public native boolean activate();
	public native void add(TQWidget w);
	public native void addItem(TQLayoutItemInterface arg1);
	public native void remove(TQWidget w);
	public native void removeItem(TQLayoutItemInterface arg1);
	public native int expanding();
	public native TQSize minimumSize();
	public native TQSize maximumSize();
	public native void setGeometry(TQRect arg1);
	// TQLayoutIterator iterator(); >>>> NOT CONVERTED
	public native boolean isEmpty();
	public native int totalHeightForWidth(int w);
	public native TQSize totalMinimumSize();
	public native TQSize totalMaximumSize();
	public native TQSize totalSizeHint();
	public native TQLayout 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 TQSize sizeHint();
	public native boolean hasHeightForWidth();
	public native int heightForWidth(int arg1);
	public native TQWidget widget();
	// TQLayoutIterator iterator(); >>>> NOT CONVERTED
	public native TQSpacerItem spacerItem();
	public native int alignment();
	public native void setAlignment(int a);
}
