#include <browserextension.h>
Inherits TQObject.
Public Types | |
enum | Type { TypeVoid =0 , TypeBool , TypeFunction , TypeNumber , TypeObject , TypeString } |
typedef TQValueList< TQPair< Type, TQString > > | ArgList |
Signals | |
virtual void | partEvent (const unsigned long objid, const TQString &event, const ArgList &args) |
Public Member Functions | |
LiveConnectExtension (KParts::ReadOnlyPart *parent, const char *name=0L) | |
virtual bool | get (const unsigned long objid, const TQString &field, Type &type, unsigned long &retobjid, TQString &value) |
virtual bool | put (const unsigned long objid, const TQString &field, const TQString &value) |
virtual bool | call (const unsigned long objid, const TQString &func, const TQStringList &args, Type &type, unsigned long &retobjid, TQString &value) |
virtual void | unregister (const unsigned long objid) |
Static Public Member Functions | |
static LiveConnectExtension * | childObject (TQObject *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 792 of file browserextension.h.
Member Function Documentation
◆ call()
|
virtual |
calls a function of objid, return true on success
Definition at line 710 of file browserextension.cpp.
◆ get()
|
virtual |
get a field value from objid, return true on success
Definition at line 702 of file browserextension.cpp.
◆ partEvent
|
virtualsignal |
notify an event from the part of object objid
◆ put()
|
virtual |
put a field value in objid, return true on success
Definition at line 706 of file browserextension.cpp.
◆ unregister()
|
virtual |
notifies the part that there is no reference anymore to objid
Definition at line 714 of file browserextension.cpp.
The documentation for this class was generated from the following files: