kparts Library API Documentation

KParts::BrowserHostExtension Class Reference

An extension class for container parts, i.e. More...

#include <browserextension.h>

Inheritance diagram for KParts::BrowserHostExtension:

QObject List of all members.

Public Methods

virtual QStringList frameNames () const
 Returns a list of the names of all hosted child objects.

virtual const QPtrList< KParts::ReadOnlyPartframes () const
 Returns a list of pointers to all hosted child objects.

virtual bool openURLInFrame (const KURL &url, const KParts::URLArgs &urlArgs)
 Opens the given url in a hosted child frame.


Static Public Methods

BrowserHostExtension * childObject (QObject *obj)
 Queries obj for a child object which inherits from this BrowserHostExtension class.


Detailed Description

An extension class for container parts, i.e.

parts that contain other parts. For instance a KHTMLPart hosts one part per frame.

Definition at line 582 of file browserextension.h.


Member Function Documentation

QStringList BrowserHostExtension::frameNames   [virtual]
 

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

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

Definition at line 547 of file browserextension.cpp.

const QPtrList< KParts::ReadOnlyPart > BrowserHostExtension::frames   [virtual]
 

Returns a list of pointers to all hosted child objects.

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

Definition at line 558 of file browserextension.cpp.

bool BrowserHostExtension::openURLInFrame const KURL   url,
const KParts::URLArgs   urlArgs
[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 ) .

Definition at line 564 of file browserextension.cpp.

BrowserHostExtension * BrowserHostExtension::childObject QObject   obj [static]
 

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

Convenience method.

Definition at line 569 of file browserextension.cpp.

References QObject::children().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:21:45 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001