#include <factory.h>
Static Public Methods | |
KJS::Interpreter * | createInterpreter () |
KJS::Object | addObject (KJS::Interpreter *js, QObject *obj, KJS::Object &parent, const char *name=0) |
KJS::Object | bind (KJS::Interpreter *js, QObject *obj) |
void | addStdBindings (KJSEmbedPart *part, KJS::ExecState *exec, KJS::Object &object) |
void | addBuiltIn (KJSEmbedPart *part, KJS::ExecState *state, KJS::Object &parent) |
void | addFactory (KJSEmbedPart *part, KJS::ExecState *state, KJS::Object &parent) |
void | addIO (KJSEmbedPart *part, KJS::ExecState *state, KJS::Object &parent) |
void | addSystem (KJSEmbedPart *part, KJS::ExecState *state, KJS::Object &parent) |
void | addWidgets (KJSEmbedPart *part, KJS::ExecState *state, KJS::Object &parent) |
QObject * | create (QString classname, QObject *parent=0, const char *name=0) |
QWidget * | loadUI (const QString &uiFile, QObject *connector=0, QWidget *parent=0, const char *name=0) |
|
Returns a new interpreter each time it is called.
|
|
Publishes 'obj' as property 'name' of object 'parent'. The binding is defined using JSObjectProxy, and is subject to the current default SecurityPolicy. |
|
Returns a JS::Object that provides a binding to the specified QObject.
|
|
Creates an instance of a QObject subclass. If the instance cannot be created then 0 is returned. |
|
Loads the widget defined in the specified .ui file. If the widget cannot be created then 0 is returned. |