#include <browserextension.h>
Inherits TQObject.
Public Member Functions | |
BrowserHostExtension (KParts::ReadOnlyPart *parent, const char *name=0L) | |
virtual TQStringList | frameNames () const |
virtual const TQPtrList< KParts::ReadOnlyPart > | frames () const |
BrowserHostExtension * | findFrameParent (KParts::ReadOnlyPart *callingPart, const TQString &frame) |
virtual bool | openURLInFrame (const KURL &url, const KParts::URLArgs &urlArgs) |
Static Public Member Functions | |
static BrowserHostExtension * | childObject (TQObject *obj) |
Protected Types | |
enum | { VIRTUAL_FIND_FRAME_PARENT = 0x10 } |
Protected Member Functions | |
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 TDEHTMLPart hosts one part per frame.
Definition at line 724 of file browserextension.h.
Member Enumeration Documentation
◆ anonymous enum
|
protected |
This 'enum' along with the structure below is NOT part of the public API.
It's going to disappear in KDE 4.0 and is likely to change inbetween.
Definition at line 772 of file browserextension.h.
Member Function Documentation
◆ childObject()
|
static |
Queries obj
for a child object which inherits from this BrowserHostExtension class.
Convenience method.
Definition at line 667 of file browserextension.cpp.
◆ findFrameParent()
BrowserHostExtension * BrowserHostExtension::findFrameParent | ( | KParts::ReadOnlyPart * | callingPart, |
const TQString & | frame | ||
) |
Returns the part that contains frame
and that may be accessed by callingPart
.
- Since
- 3.3
Definition at line 687 of file browserextension.cpp.
◆ 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 652 of file browserextension.cpp.
◆ 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 657 of file browserextension.cpp.
◆ 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 ) .
Definition at line 662 of file browserextension.cpp.
The documentation for this class was generated from the following files: