Qt 4.8
|
The QScriptDeclarativeClass::Value class acts as a container for JavaScript data types. More...
#include <qscriptdeclarativeclass_p.h>
Public Functions | |
QScriptValue | toScriptValue (QScriptEngine *) const |
Value () | |
Value (const Value &) | |
Value (QScriptContext *, int) | |
Value (QScriptContext *, uint) | |
Value (QScriptContext *, bool) | |
Value (QScriptContext *, double) | |
Value (QScriptContext *, float) | |
Value (QScriptContext *, const QString &) | |
Value (QScriptContext *, const QScriptValue &) | |
Value (QScriptEngine *, int) | |
Value (QScriptEngine *, uint) | |
Value (QScriptEngine *, bool) | |
Value (QScriptEngine *, double) | |
Value (QScriptEngine *, float) | |
Value (QScriptEngine *, const QString &) | |
Value (QScriptEngine *, const QScriptValue &) | |
~Value () | |
Properties | |
char | dummy [8] |
The QScriptDeclarativeClass::Value class acts as a container for JavaScript data types.
QScriptDeclarativeClass::Value class is similar to QScriptValue, but it is slightly faster. Unlike QScriptValue, however, Value instances cannot be stored as they may not survive garbage collection. If you need to store a Value, convert it to a QScriptValue and store that.
Definition at line 51 of file qscriptdeclarativeclass_p.h.
QScriptDeclarativeClass::Value::Value | ( | ) |
Definition at line 52 of file qscriptdeclarativeclass.cpp.
QScriptDeclarativeClass::Value::Value | ( | const Value & | other | ) |
Definition at line 57 of file qscriptdeclarativeclass.cpp.
QScriptDeclarativeClass::Value::Value | ( | QScriptContext * | ctxt, |
int | value | ||
) |
Definition at line 67 of file qscriptdeclarativeclass.cpp.
QScriptDeclarativeClass::Value::Value | ( | QScriptContext * | ctxt, |
uint | value | ||
) |
Definition at line 72 of file qscriptdeclarativeclass.cpp.
QScriptDeclarativeClass::Value::Value | ( | QScriptContext * | , |
bool | value | ||
) |
Definition at line 77 of file qscriptdeclarativeclass.cpp.
QScriptDeclarativeClass::Value::Value | ( | QScriptContext * | ctxt, |
double | value | ||
) |
Definition at line 85 of file qscriptdeclarativeclass.cpp.
QScriptDeclarativeClass::Value::Value | ( | QScriptContext * | ctxt, |
float | value | ||
) |
Definition at line 90 of file qscriptdeclarativeclass.cpp.
QScriptDeclarativeClass::Value::Value | ( | QScriptContext * | ctxt, |
const QString & | value | ||
) |
Definition at line 95 of file qscriptdeclarativeclass.cpp.
QScriptDeclarativeClass::Value::Value | ( | QScriptContext * | ctxt, |
const QScriptValue & | value | ||
) |
Definition at line 100 of file qscriptdeclarativeclass.cpp.
QScriptDeclarativeClass::Value::Value | ( | QScriptEngine * | eng, |
int | value | ||
) |
Definition at line 105 of file qscriptdeclarativeclass.cpp.
QScriptDeclarativeClass::Value::Value | ( | QScriptEngine * | eng, |
uint | value | ||
) |
Definition at line 110 of file qscriptdeclarativeclass.cpp.
QScriptDeclarativeClass::Value::Value | ( | QScriptEngine * | eng, |
bool | value | ||
) |
Definition at line 115 of file qscriptdeclarativeclass.cpp.
QScriptDeclarativeClass::Value::Value | ( | QScriptEngine * | eng, |
double | value | ||
) |
Definition at line 123 of file qscriptdeclarativeclass.cpp.
QScriptDeclarativeClass::Value::Value | ( | QScriptEngine * | eng, |
float | value | ||
) |
Definition at line 128 of file qscriptdeclarativeclass.cpp.
QScriptDeclarativeClass::Value::Value | ( | QScriptEngine * | eng, |
const QString & | value | ||
) |
Definition at line 133 of file qscriptdeclarativeclass.cpp.
QScriptDeclarativeClass::Value::Value | ( | QScriptEngine * | eng, |
const QScriptValue & | value | ||
) |
Definition at line 138 of file qscriptdeclarativeclass.cpp.
QScriptDeclarativeClass::Value::~Value | ( | ) |
Definition at line 143 of file qscriptdeclarativeclass.cpp.
QScriptValue QScriptDeclarativeClass::Value::toScriptValue | ( | QScriptEngine * | engine | ) | const |
Definition at line 148 of file qscriptdeclarativeclass.cpp.
|
private |
Definition at line 75 of file qscriptdeclarativeclass_p.h.