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

import org.trinitydesktop.qt.TQt;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQObject;
import java.util.ArrayList;
import org.trinitydesktop.qt.TQObject;

/**

 An extension class for container parts, i.e. parts that contain
 other parts.
 For instance a TDEHTMLPart hosts one part per frame.
 		@short    An extension class for container parts, i.

*/
public class BrowserHostExtension extends TQObject  {
	protected BrowserHostExtension(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public BrowserHostExtension(ReadOnlyPart parent, String name) {
		super((Class) null);
		newBrowserHostExtension(parent,name);
	}
	private native void newBrowserHostExtension(ReadOnlyPart parent, String name);
	public BrowserHostExtension(ReadOnlyPart parent) {
		super((Class) null);
		newBrowserHostExtension(parent);
	}
	private native void newBrowserHostExtension(ReadOnlyPart parent);
	/**
		 Returns a list of the names of all hosted child objects.
			 Note that this method does not query the child objects recursively.
		   		@short    Returns a list of the names of all hosted child objects.
	*/
	public native ArrayList frameNames();
	/**
		 Returns a list of pointers to all hosted child objects.
			 Note that this method does not query the child objects recursively.
		   		@short    Returns a list of pointers to all hosted child objects.
	*/
	// const TQPtrList<KParts::ReadOnlyPart> frames(); >>>> NOT CONVERTED
	/**
		 Returns the part that contains <code>frame</code> and that may be accessed
		 by <code>callingPart</code>
				@short    Returns the part that contains <code>frame</code> and that may be accessed  by <code>callingPart</code>
	*/
	public native BrowserHostExtension findFrameParent(ReadOnlyPart callingPart, String frame);
	/**
		 Opens the given url in a hosted child frame. The frame name is specified in the
		 frameName variable in the urlArgs argument structure (see KParts.URLArgs ) .
		   		@short    Opens the given url in a hosted child frame.
	*/
	public native boolean openURLInFrame(KURL url, URLArgs urlArgs);
	/**
		 Queries <code>obj</code> for a child object which inherits from this
		 BrowserHostExtension class. Convenience method.
		   		@short    Queries <code>obj</code> for a child object which inherits from this  BrowserHostExtension class.
	*/
	public static native BrowserHostExtension childObject(TQObject arg1);
}
