7#include <QtQml/qtqmlglobal.h>
8#include <QtCore/qstring.h>
9#include <QtCore/qlist.h>
10#include <QtCore/qmetatype.h>
24 struct ExecutionEngine;
61 { std::swap(
d,
other.d);
return *
this; }
69#ifndef QT_NO_CAST_FROM_ASCII
81 bool isString()
const;
82 bool isUndefined()
const;
83 bool isVariant()
const;
84 bool isQObject()
const;
85 bool isQMetaObject()
const;
86 bool isObject()
const;
94 double toNumber()
const;
111 void setPrototype(
const QJSValue &prototype);
124 bool isCallable()
const;
129 ErrorType errorType()
const;
139#ifndef QT_NO_DATASTREAM
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
The QJSEngine class provides an environment for evaluating JavaScript code.
The QJSPrimitiveValue class operates on primitive types in JavaScript semantics.
The QJSValue class acts as a container for Qt/JavaScript data types.
SpecialValue
This enum is used to specify a single-valued type.
QJSValue & operator=(QJSValue &&other)
Move-assigns other to this QJSValue object.
QJSValue(QJSValue &&other)
Move constructor.
ObjectConversionBehavior
This enum is used to specify how JavaScript objects and symbols without an equivalent native Qt type ...
\macro QT_RESTRICTED_CAST_FROM_ASCII
object setProperty("down", true)
Combined button and popup list for selecting options.
\qmltype Particle \inqmlmodule QtQuick.Particles
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
Q_QML_EXPORT QDataStream & operator<<(QDataStream &, const QJSValue &)
Q_QML_EXPORT QDataStream & operator>>(QDataStream &, QJSValue &)
QList< QJSValue > QJSValueList
static bool isNumber(char s)
#define QT_ASCII_CAST_WARN
unsigned long long quint64
static QVariant toVariant(const QV4::Value &value, QMetaType typeHint, bool createJSValueForObjectsAndSymbols, V4ObjectSet *visitedObjects)
static int toInt(const QChar &qc, int R)
static bool isRegExp(ExecutionEngine *e, const QV4::Value *arg)
char * toString(const MyType &t)
[31]
QT_BEGIN_NAMESPACE bool toBool(const QString &str)