Qt 4.8
|
#include <qscriptqobject_p.h>
Classes | |
struct | Data |
Public Functions | |
virtual bool | compareToObject (QScriptObject *, JSC::ExecState *, JSC::JSObject *) |
virtual bool | deleteProperty (QScriptObject *, JSC::ExecState *, const JSC::Identifier &propertyName) |
virtual bool | getOwnPropertyDescriptor (QScriptObject *, JSC::ExecState *, const JSC::Identifier &propertyName, JSC::PropertyDescriptor &) |
virtual void | getOwnPropertyNames (QScriptObject *, JSC::ExecState *, JSC::PropertyNameArray &, JSC::EnumerationMode mode=JSC::ExcludeDontEnumProperties) |
virtual bool | getOwnPropertySlot (QScriptObject *, JSC::ExecState *, const JSC::Identifier &propertyName, JSC::PropertySlot &) |
virtual void | markChildren (QScriptObject *, JSC::MarkStack &markStack) |
QScriptEngine::QObjectWrapOptions | options () const |
QScriptEngine::ValueOwnership | ownership () const |
virtual void | put (QScriptObject *, JSC::ExecState *exec, const JSC::Identifier &propertyName, JSC::JSValue, JSC::PutPropertySlot &) |
QObjectDelegate (QObject *object, QScriptEngine::ValueOwnership ownership, const QScriptEngine::QObjectWrapOptions &options) | |
void | setOptions (QScriptEngine::QObjectWrapOptions options) |
void | setOwnership (QScriptEngine::ValueOwnership ownership) |
void | setValue (QObject *value) |
virtual Type | type () const |
QObject * | value () const |
~QObjectDelegate () | |
Public Functions inherited from QScriptObjectDelegate | |
virtual JSC::CallType | getCallData (QScriptObject *, JSC::CallData &) |
virtual JSC::ConstructType | getConstructData (QScriptObject *, JSC::ConstructData &) |
virtual bool | hasInstance (QScriptObject *, JSC::ExecState *, JSC::JSValue value, JSC::JSValue proto) |
QScriptObjectDelegate () | |
virtual | ~QScriptObjectDelegate () |
Protected Variables | |
Data * | data |
Additional Inherited Members | |
Public Types inherited from QScriptObjectDelegate | |
enum | Type { QtObject, Variant, ClassObject, DeclarativeClassObject } |
Definition at line 55 of file qscriptqobject_p.h.
QScript::QObjectDelegate::QObjectDelegate | ( | QObject * | object, |
QScriptEngine::ValueOwnership | ownership, | ||
const QScriptEngine::QObjectWrapOptions & | options | ||
) |
Definition at line 1163 of file qscriptqobject.cpp.
Referenced by QScript::QObjectDelegate::Data::Data().
QScript::QObjectDelegate::~QObjectDelegate | ( | ) |
Definition at line 1170 of file qscriptqobject.cpp.
Referenced by QScript::QObjectDelegate::Data::Data().
|
virtual |
Reimplemented from QScriptObjectDelegate.
Definition at line 1654 of file qscriptqobject.cpp.
Referenced by QScript::QObjectDelegate::Data::Data().
|
virtual |
Reimplemented from QScriptObjectDelegate.
Definition at line 1544 of file qscriptqobject.cpp.
Referenced by QScript::QObjectDelegate::Data::Data(), and QScript::QMetaObjectWrapperObject::Data::Data().
|
virtual |
Reimplemented from QScriptObjectDelegate.
Definition at line 1311 of file qscriptqobject.cpp.
Referenced by QScript::QObjectDelegate::Data::Data(), and QScript::QMetaObjectWrapperObject::Data::Data().
|
virtual |
Reimplemented from QScriptObjectDelegate.
Definition at line 1591 of file qscriptqobject.cpp.
Referenced by QScript::QObjectDelegate::Data::Data(), and QScript::QMetaObjectWrapperObject::Data::Data().
|
virtual |
Reimplemented from QScriptObjectDelegate.
Definition at line 1194 of file qscriptqobject.cpp.
Referenced by QScript::QObjectDelegate::Data::Data(), and QScript::QMetaObjectWrapperObject::Data::Data().
|
virtual |
Reimplemented from QScriptObjectDelegate.
Definition at line 1642 of file qscriptqobject.cpp.
Referenced by QScript::QObjectDelegate::Data::Data(), QScript::QtFunction::Data::Data(), and QScript::QMetaObjectWrapperObject::Data::Data().
|
inline |
Definition at line 104 of file qscriptqobject_p.h.
|
inline |
Definition at line 99 of file qscriptqobject_p.h.
Referenced by QScript::QObjectConnection::mark().
|
virtual |
Reimplemented from QScriptObjectDelegate.
Definition at line 1446 of file qscriptqobject.cpp.
Referenced by QScript::QObjectDelegate::Data::Data(), and QScript::QMetaObjectWrapperObject::Data::Data().
|
inline |
Definition at line 106 of file qscriptqobject_p.h.
Referenced by QScriptEngine::newQObject().
|
inline |
Definition at line 101 of file qscriptqobject_p.h.
Referenced by QScript::QMetaObjectWrapperObject::execute(), and QScriptEngine::newQObject().
|
inline |
|
virtual |
Implements QScriptObjectDelegate.
Definition at line 1189 of file qscriptqobject.cpp.
Referenced by QScript::QObjectDelegate::Data::Data().
|
inline |
Definition at line 96 of file qscriptqobject_p.h.
Referenced by compareToObject(), QScript::QObjectConnection::mark(), QScript::qobjectProtoFuncFindChild(), QScript::qobjectProtoFuncFindChildren(), and QScript::qobjectProtoFuncToString().
|
protected |
Definition at line 110 of file qscriptqobject_p.h.
Referenced by deleteProperty(), getOwnPropertyDescriptor(), getOwnPropertyNames(), getOwnPropertySlot(), markChildren(), options(), ownership(), put(), setOptions(), setOwnership(), setValue(), QScript::QMetaObjectWrapperObject::setValue(), value(), QScript::QMetaObjectWrapperObject::value(), and ~QObjectDelegate().