#include <jsbindingplugin.h>
Public Member Functions | |
JSBindingPlugin (QObject *parent, const char *name, const QStringList &args) | |
virtual | ~JSBindingPlugin () |
virtual KJS::Object | createBinding (KJSEmbedPart *jspart, KJS::ExecState *exec, const KJS::List &args) const=0 |
virtual void | addBindings (KJS::ExecState *, KJS::Object &) const |
|
|
|
|
|
add bindings to an object (eg an qobject returned by a slot
|
|
This method is called by the KJSFactory to bootstrap the plugin. Plugin developers will want to use this method to create their QObject binding, or call their addBindings() method in their JSOpaque proxy or JSValueProxy. The value returned from ths function is the KJS::Object that represents the proxy arround the added object. |