KParts::LiveConnectExtension Class Reference
An extension class for LiveConnect, i.e. More...
#include <browserextension.h>
Inheritance diagram for KParts::LiveConnectExtension:


| Public Types | |
| typedef QValueList< QPair< Type, QString > > | ArgList | 
| enum | Type { TypeVoid = 0, TypeBool, TypeFunction, TypeNumber, TypeObject, TypeString } | 
| Signals | |
| virtual void | partEvent (const unsigned long objid, const QString &event, const ArgList &args) | 
| Public Member Functions | |
| LiveConnectExtension (KParts::ReadOnlyPart *parent, const char *name=0L) | |
| virtual bool | get (const unsigned long objid, const QString &field, Type &type, unsigned long &retobjid, QString &value) | 
| virtual bool | put (const unsigned long objid, const QString &field, const QString &value) | 
| virtual bool | call (const unsigned long objid, const QString &func, const QStringList &args, Type &type, unsigned long &retobjid, QString &value) | 
| virtual void | unregister (const unsigned long objid) | 
| Static Public Member Functions | |
| LiveConnectExtension * | childObject (QObject *obj) | 
Detailed Description
An extension class for LiveConnect, i.e.a call from JavaScript from a HTML page which embeds this part. A part can have an object hierarchie by using objid as a reference to an object.
Definition at line 702 of file browserextension.h.
Member Function Documentation
| 
 | ||||||||||||||||||||||||
| get a field value from objid, return true on success 
 Definition at line 644 of file browserextension.cpp. | 
| 
 | ||||||||||||||||
| put a field value in objid, return true on success 
 Definition at line 648 of file browserextension.cpp. | 
| 
 | ||||||||||||||||||||||||||||
| calls a function of objid, return true on success 
 Definition at line 652 of file browserextension.cpp. | 
| 
 | 
| notifies the part that there is no reference anymore to objid 
 Definition at line 656 of file browserextension.cpp. | 
| 
 | ||||||||||||||||
| notify a event from the part of object objid 
 | 
The documentation for this class was generated from the following files:

