Qt 4.8
|
#include <qdeclarativeobjectscriptclass_p.h>
Public Types | |
enum | QueryHint { ImplicitObject = 0x01, SkipAttachedProperties = 0x02 } |
Public Types inherited from QScriptDeclarativeClass | |
typedef void * | Identifier |
Protected Functions | |
virtual bool | isQObject () const |
virtual Value | property (Object *, const Identifier &) |
virtual QScriptClass::QueryFlags | queryProperty (Object *, const Identifier &, QScriptClass::QueryFlags flags) |
virtual void | setProperty (Object *, const Identifier &name, const QScriptValue &) |
virtual QObject * | toQObject (Object *, bool *ok=0) |
Static Private Functions | |
static QScriptValue | destroy (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | tostring (QScriptContext *context, QScriptEngine *engine) |
Friends | |
class | QDeclarativeObjectMethodScriptClass |
Definition at line 105 of file qdeclarativeobjectscriptclass_p.h.
Enumerator | |
---|---|
ImplicitObject | |
SkipAttachedProperties |
Definition at line 116 of file qdeclarativeobjectscriptclass_p.h.
QDeclarativeObjectScriptClass::QDeclarativeObjectScriptClass | ( | QDeclarativeEngine * | bindEngine | ) |
Definition at line 94 of file qdeclarativeobjectscriptclass.cpp.
QDeclarativeObjectScriptClass::~QDeclarativeObjectScriptClass | ( | ) |
Definition at line 106 of file qdeclarativeobjectscriptclass.cpp.
Reimplemented from QScriptDeclarativeClass.
Definition at line 556 of file qdeclarativeobjectscriptclass.cpp.
|
staticprivate |
Definition at line 496 of file qdeclarativeobjectscriptclass.cpp.
Referenced by QDeclarativeObjectScriptClass().
|
protectedvirtual |
Reimplemented from QScriptDeclarativeClass.
Definition at line 458 of file qdeclarativeobjectscriptclass.cpp.
QScriptValue QDeclarativeObjectScriptClass::newQObject | ( | QObject * | object, |
int | type = QMetaType::QObjectStar |
||
) |
Definition at line 110 of file qdeclarativeobjectscriptclass.cpp.
Referenced by QDeclarativeEnginePrivate::createComponent(), QDeclarativeComponentPrivate::createObject(), QDeclarativeEnginePrivate::createQmlObject(), QDeclarativeQtScriptExpression::eval(), QDeclarativeVMEMetaObject::metaCall(), QDeclarativeListScriptClass::property(), QDeclarativeObjectMethodScriptClass::property(), QDeclarativeContextScriptClass::property(), property(), QDeclarativeEnginePrivate::qmlScriptObject(), and QDeclarativeVMEMetaObject::readVarProperty().
int QDeclarativeObjectScriptClass::objectType | ( | const QScriptValue & | value | ) | const |
Definition at line 142 of file qdeclarativeobjectscriptclass.cpp.
Referenced by QDeclarativeBinding::update().
QDeclarativeObjectScriptClass::Value QDeclarativeObjectScriptClass::property | ( | QObject * | obj, |
const Identifier & | name | ||
) |
Definition at line 222 of file qdeclarativeobjectscriptclass.cpp.
Referenced by QDeclarativeTypeNameScriptClass::property(), QDeclarativeContextScriptClass::property(), and property().
|
protectedvirtual |
Reimplemented from QScriptDeclarativeClass.
Definition at line 216 of file qdeclarativeobjectscriptclass.cpp.
|
virtual |
Reimplemented from QScriptDeclarativeClass.
Definition at line 524 of file qdeclarativeobjectscriptclass.cpp.
QScriptClass::QueryFlags QDeclarativeObjectScriptClass::queryProperty | ( | QObject * | obj, |
const Identifier & | name, | ||
QScriptClass::QueryFlags | flags, | ||
QDeclarativeContextData * | evalContext, | ||
QueryHints | hints = 0 |
||
) |
Definition at line 159 of file qdeclarativeobjectscriptclass.cpp.
Referenced by QDeclarativeTypeNameScriptClass::queryProperty(), QDeclarativeContextScriptClass::queryProperty(), and queryProperty().
|
protectedvirtual |
Reimplemented from QScriptDeclarativeClass.
Definition at line 152 of file qdeclarativeobjectscriptclass.cpp.
void QDeclarativeObjectScriptClass::setProperty | ( | QObject * | obj, |
const Identifier & | name, | ||
const QScriptValue & | value, | ||
QScriptContext * | context, | ||
QDeclarativeContextData * | evalContext = 0 |
||
) |
Definition at line 337 of file qdeclarativeobjectscriptclass.cpp.
Referenced by QDeclarativeTypeNameScriptClass::setProperty(), QDeclarativeContextScriptClass::setProperty(), and setProperty().
|
protectedvirtual |
Reimplemented from QScriptDeclarativeClass.
Definition at line 325 of file qdeclarativeobjectscriptclass.cpp.
QObject * QDeclarativeObjectScriptClass::toQObject | ( | const QScriptValue & | value | ) | const |
Definition at line 137 of file qdeclarativeobjectscriptclass.cpp.
Referenced by QDeclarativeEnginePrivate::createQmlObject(), property(), propertyNames(), queryProperty(), and setProperty().
|
protectedvirtual |
Reimplemented from QScriptDeclarativeClass.
Definition at line 463 of file qdeclarativeobjectscriptclass.cpp.
|
staticprivate |
Definition at line 471 of file qdeclarativeobjectscriptclass.cpp.
Referenced by QDeclarativeObjectScriptClass().
|
friend |
Definition at line 144 of file qdeclarativeobjectscriptclass_p.h.
|
private |
Definition at line 159 of file qdeclarativeobjectscriptclass_p.h.
|
private |
Definition at line 148 of file qdeclarativeobjectscriptclass_p.h.
Referenced by property(), queryProperty(), and setProperty().
|
private |
Definition at line 147 of file qdeclarativeobjectscriptclass_p.h.
Referenced by property(), and queryProperty().
|
private |
Definition at line 149 of file qdeclarativeobjectscriptclass_p.h.
Referenced by queryProperty().
|
private |
Definition at line 153 of file qdeclarativeobjectscriptclass_p.h.
Referenced by property(), and QDeclarativeObjectScriptClass().
|
private |
Definition at line 151 of file qdeclarativeobjectscriptclass_p.h.
Referenced by property(), QDeclarativeObjectScriptClass(), and queryProperty().
|
private |
Definition at line 154 of file qdeclarativeobjectscriptclass_p.h.
Referenced by property(), and QDeclarativeObjectScriptClass().
|
private |
Definition at line 152 of file qdeclarativeobjectscriptclass_p.h.
Referenced by property(), QDeclarativeObjectScriptClass(), and queryProperty().
|
private |
Definition at line 145 of file qdeclarativeobjectscriptclass_p.h.
Referenced by QDeclarativeObjectMethodScriptClass::connect(), QDeclarativeObjectMethodScriptClass::disconnect(), and property().