class BrowserHostExtension

# class BrowserHostExtension | An extension class for container parts, i. More...
Full name | `KParts::BrowserHostExtension`
Definition | `#include <browserextension.h>`
Inherits | QObject (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- BrowserHostExtension ( KParts::ReadOnlyPart *parent, const char *name = 0L )
- virtual ~BrowserHostExtension ()
- virtual QStringList frameNames () const
- virtual const QPtrList<KParts::ReadOnlyPart> frames () const
- virtual bool openURLInFrame ( const KURL &url, const KParts::URLArgs &urlArgs )

#### Public Static Methods

- static BrowserHostExtension * childObject ( QObject *obj )

#### Protected Methods

- virtual void virtual_hook ( int id, void* data )

## Detailed Description

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

BrowserHostExtension ( KParts::ReadOnlyPart *parent, const char *name = 0L ) | ### BrowserHostExtension

~BrowserHostExtension () | ### ~BrowserHostExtension

[virtual]

QStringList frameNames () | ### frameNames

[const virtual]

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

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

const QPtrList<KParts::ReadOnlyPart> frames () | ### frames

[const virtual]

Returns a list of pointers to all hosted child objects.

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

bool openURLInFrame ( const KURL &url, const KParts::URLArgs &urlArgs ) | ### openURLInFrame

[virtual]

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 ) .

BrowserHostExtension * childObject ( QObject *obj ) | ### childObject

[static]

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

void virtual_hook ( int id, void* data ) | ### virtual_hook

[protected virtual]

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:37:24 2003, using kdoc 2.0a54.