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

import org.kde.qt.Qt;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QObject;
import java.util.ArrayList;
import org.kde.qt.QObject;

/**

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

*/
public class BrowserHostExtension extends QObject  {
	protected BrowserHostExtension(Class dummy){super((Class) null);}
	public native QMetaObject 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 QPtrList<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(QObject arg1);
}
