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

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQRect;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQPopupMenu;
import org.trinitydesktop.qt.TQPixmap;
import org.trinitydesktop.qt.TQPoint;
import org.trinitydesktop.qt.TQFrame;

/**

		@short Internal class.  It's an MDI child frame widget. It contains a view widget and a frame caption. Usually you derive from its view.

*/
public class KMdiChildFrm extends TQFrame  {
	protected KMdiChildFrm(Class dummy){super((Class) null);}
	public static final int Normal = 0;
	public static final int Maximized = 1;
	public static final int Minimized = 2;

	public native TQMetaObject metaObject();
	public native String className();
	/**
		 Creates a new KMdiChildFrm class.
			 		@short    Creates a new KMdiChildFrm class.
	*/
	/**
		 Reparents the widget w to this KMdiChildFrm (if this is not already done)
		 Installs an event filter to catch focus events.
		 Resizes this mdi child in a way that the child fits perfectly in.
			 		@short    Reparents the widget w to this KMdiChildFrm (if this is not already done)  Installs an event filter to catch focus events.
	*/
	public native void setClient(KMdiChildView w, boolean bAutomaticResize);
	public native void setClient(KMdiChildView w);
	/**
		 Reparents the client widget to 0 (desktop), moves with an offset from the original position
		 Removes the event filter.
			 		@short    Reparents the client widget to 0 (desktop), moves with an offset from the original position  Removes the event filter.
	*/
	public native void unsetClient(TQPoint positionOffset);
	public native void unsetClient();
	/**
		 Sets the window icon pointer.
			 		@short    Sets the window icon pointer.
	*/
	public native void setIcon(TQPixmap pxm);
	/**
		 Returns the child frame icon.
			 		@short    Returns the child frame icon.
	*/
	public native TQPixmap icon();
	/**
		 Enables or disables the close button
			 		@short    Enables or disables the close button
	*/
	public native void enableClose(boolean bEnable);
	/**
		 Sets the caption of this window
			 		@short    Sets the caption of this window
	*/
	public native void setCaption(String text);
	/**
		 Gets the caption of this mdi child.
			 		@short    Gets the caption of this mdi child.
	*/
	public native String caption();
	/**
		 Minimizes, Maximizes, or restores the window.
			 		@short    Minimizes, Maximizes, or restores the window.
	*/
	public native void setState(int state, boolean bAnimate);
	public native void setState(int state);
	/**
		 Returns the current state of the window
			 		@short    Returns the current state of the window
	*/
	public native int state();
	/**
		 Returns the inner client area of the parent of this (which is KMdiChildArea).
			 		@short    Returns the inner client area of the parent of this (which is KMdiChildArea).
	*/
	public native TQRect mdiAreaContentsRect();
	/**
		 Returns the geometry that will be restored by calling restore().
			 		@short    Returns the geometry that will be restored by calling restore().
	*/
	public native TQRect restoreGeometry();
	/**
		 Sets the geometry that will be restored by calling restore().
			 		@short    Sets the geometry that will be restored by calling restore().
	*/
	public native void setRestoreGeometry(TQRect newRestGeo);
	/**
		 Forces updating the rects of the caption and so...
		 It may be useful when setting the mdiCaptionFont of the MdiManager
			 		@short    Forces updating the rects of the caption and so.
	*/
	public native void updateRects();
	/**
		 Returns the system menu.
			 		@short    Returns the system menu.
	*/
	public native TQPopupMenu systemMenu();
	/**
		 Returns the caption bar height
			 		@short    Returns the caption bar height
	*/
	public native int captionHeight();
	/**
		 sets new raise behavior and pixmaps of the buttons depending on the current decoration style
			 		@short    sets new raise behavior and pixmaps of the buttons depending on the current decoration style
	*/
	public native void redecorateButtons();
	/**
		 returns the mouse state "In Drag"
			 		@short    returns the mouse state "In Drag"
	*/
	public native boolean isInDrag();
	/**
		 returns the mouse state "In Resize"
			 		@short    returns the mouse state "In Resize"
	*/
	public native boolean isInResize();
	/**
		 Internally called from the signal focusInEventOccurs.
		 It raises the MDI childframe to the top of all other MDI child frames and sets the focus on it.
			 		@short    Internally called from the signal focusInEventOccurs.
	*/
	public native void raiseAndActivate();
	/**
		 Sets the minimum size of the widget to w by h pixels.
		 It extends it's base clase method in a way that the minimum size of
		 the child area will be set additionally if the view is maximized.
			 		@short    Sets the minimum size of the widget to w by h pixels.
	*/
	public native void setMinimumSize(int minw, int minh);
	public native void slot_resizeViaSystemMenu();
}
