1081 JSC::JSValue result = JSC::jsUndefined();
1087 JSC::JSValue qobjectValue = engine->
toUsableValue(thisValue);
1090 && JSC::asObject(qobjectValue)->prototype().isObject()) {
1091 qobjectValue = JSC::asObject(qobjectValue)->prototype();
1098 if (args.size() == 0) {
1120 JSC::JSValue arg = args.at(0);
1139 prop.
write(qobject, v);
The QVariant class acts like a union for the most common Qt data types.
static QVariant variantFromValue(JSC::ExecState *exec, int targetType, JSC::JSValue value)
QScriptEnginePrivate * scriptEngineFromExec(const JSC::ExecState *exec)
static JSC::JSValue jscValueFromVariant(JSC::ExecState *, const QVariant &value)
static QScriptEnginePrivate * get(QScriptEngine *q)
JSC::CallFrame * pushContext(JSC::CallFrame *exec, JSC::JSValue thisObject, const JSC::ArgList &args, JSC::JSObject *callee, bool calledAsConstructor=false, bool clearScopeChain=false)
JSC native function doesn't have different stackframe or context.
QString toString() const
Returns the variant as a QString if the variant has type() String , Bool , ByteArray ...
static QObject * toQObject(JSC::ExecState *, JSC::JSValue)
bool hasDemarshalFunction(int type) const
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
JSC::ExecState * currentFrame
The QScriptable class provides access to the Qt Script environment from Qt C++ member functions...
static QScriptablePrivate * get(QScriptable *q)
The QScriptEngine class provides an environment for evaluating Qt Script code.
static QScriptable * scriptableFromQObject(QObject *qobj)
JSC::JSValue toUsableValue(JSC::JSValue value)
If the given value is the original global object, returns the custom global object or a proxy to the ...
#define Q_ASSERT_X(cond, where, what)
virtual const QMetaObject * metaObject() const
Returns a pointer to the meta-object of this object.