KParts
KParts::BrowserHostExtension Class Reference
An extension class for container parts, i.e. More...
#include <browserextension.h>

Public Member Functions | |
BrowserHostExtension (KParts::ReadOnlyPart *parent) | |
virtual BrowserHostExtension * | findFrameParent (KParts::ReadOnlyPart *callingPart, const QString &frame) |
virtual QStringList | frameNames () const |
virtual const QList < KParts::ReadOnlyPart * > | frames () const |
virtual bool | openUrlInFrame (const KUrl &url, const KParts::OpenUrlArguments &arguments, const KParts::BrowserArguments &browserArguments) |
virtual | ~BrowserHostExtension () |
Static Public Member Functions | |
static BrowserHostExtension * | childObject (QObject *obj) |
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 703 of file browserextension.h.
Constructor & Destructor Documentation
BrowserHostExtension::BrowserHostExtension | ( | KParts::ReadOnlyPart * | parent | ) |
Definition at line 758 of file browserextension.cpp.
BrowserHostExtension::~BrowserHostExtension | ( | ) | [virtual] |
Definition at line 764 of file browserextension.cpp.
Member Function Documentation
BrowserHostExtension * BrowserHostExtension::childObject | ( | QObject * | obj | ) | [static] |
Queries obj
for a child object which inherits from this BrowserHostExtension class.
Convenience method.
Definition at line 786 of file browserextension.cpp.
BrowserHostExtension * BrowserHostExtension::findFrameParent | ( | KParts::ReadOnlyPart * | callingPart, | |
const QString & | frame | |||
) | [virtual] |
Returns the part that contains frame
and that may be accessed by callingPart
.
Definition at line 803 of file browserextension.cpp.
QStringList BrowserHostExtension::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.
Definition at line 769 of file browserextension.cpp.
const QList< KParts::ReadOnlyPart * > BrowserHostExtension::frames | ( | ) | const [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 774 of file browserextension.cpp.
bool BrowserHostExtension::openUrlInFrame | ( | const KUrl & | url, | |
const KParts::OpenUrlArguments & | arguments, | |||
const KParts::BrowserArguments & | browserArguments | |||
) | [virtual] |
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 ) .
Definition at line 779 of file browserextension.cpp.
The documentation for this class was generated from the following files: