# class BrowserHostExtension

###

Module | kparts
Namespace | KParts
Class | BrowserHostExtension
Inherits | QObject

### methods

- BrowserHostExtension (parent)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  parent | KParts.ReadOnlyPart |

- childObject (obj)

  returns KParts.BrowserHostExtension
  static

  Argument | Type | Default
  --- | --- | ---
  obj | QObject |

  Queries obj for a child object which inherits from this BrowserHostExtension class. Convenience method.

- findFrameParent (callingPart, frame)

  returns KParts.BrowserHostExtension

  Argument | Type | Default
  --- | --- | ---
  callingPart | KParts.ReadOnlyPart |
  frame | QString |

  Returns the part that contains frame and that may be accessed by callingPart

- frameNames ( )

  returns QStringList

  Returns a list of the names of all hosted child objects.

  Note that this method does not query the child objects recursively.

- frames ( )

  returns QList<KParts::ReadOnlyPart

  Returns a list of pointers to all hosted child objects.

  Note that this method does not query the child objects recursively.

- openUrlInFrame (url, arguments, browserArguments)

  returns bool

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  arguments | KParts.OpenUrlArguments |
  browserArguments | KParts.BrowserArguments |

  Opens the given url in a hosted child frame. The frame name is specified in the frameName variable in the browserArguments parameter (see KParts.BrowserArguments ) .