QScriptValue newFunction(FunctionSignature signature, int length=0)
Creates a QScriptValue that wraps a native (C++) function.
#define INVALID_ACCESS_ERR
static QScriptValue qmlxmlhttprequest_getAllResponseHeaders(QScriptContext *context, QScriptEngine *engine)
static QScriptValue qmlxmlhttprequest_new(QScriptContext *context, QScriptEngine *engine)
static QScriptValue qmlxmlhttprequest_statusText(QScriptContext *context, QScriptEngine *engine)
static QScriptValue qmlxmlhttprequest_getResponseHeader(QScriptContext *context, QScriptEngine *engine)
static QScriptValue qmlxmlhttprequest_onreadystatechange(QScriptContext *context, QScriptEngine *engine)
QScriptValue globalObject() const
Returns this engine's Global Object.
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
static QScriptValue qmlxmlhttprequest_status(QScriptContext *context, QScriptEngine *engine)
static QScriptValue qmlxmlhttprequest_setRequestHeader(QScriptContext *context, QScriptEngine *engine)
#define INUSE_ATTRIBUTE_ERR
QScriptValue newObject()
Creates a QtScript object of class Object.
#define NO_MODIFICATION_ALLOWED_ERR
static QScriptValue qmlxmlhttprequest_responseText(QScriptContext *context, QScriptEngine *engine)
#define NO_DATA_ALLOWED_ERR
static QScriptValue qmlxmlhttprequest_abort(QScriptContext *context, QScriptEngine *)
static QByteArray prototype(const QList< QByteArray > ¶meterTypes, const QList< QByteArray > ¶meterNames, bool *ok)
void setProperty(const QString &name, const QScriptValue &value, const PropertyFlags &flags=KeepExistingFlags)
Sets the value of this QScriptValue's property with the given name to the given value.
#define NOT_SUPPORTED_ERR
#define INVALID_STATE_ERR
#define TYPE_MISMATCH_ERR
static QScriptValue qmlxmlhttprequest_readyState(QScriptContext *context, QScriptEngine *engine)
static QScriptValue qmlxmlhttprequest_send(QScriptContext *context, QScriptEngine *)
static QScriptValue qmlxmlhttprequest_responseXML(QScriptContext *context, QScriptEngine *engine)
static QScriptValue qmlxmlhttprequest_open(QScriptContext *context, QScriptEngine *engine)
#define INVALID_CHARACTER_ERR
#define HIERARCHY_REQUEST_ERR
The QScriptValue class acts as a container for the Qt Script data types.
#define WRONG_DOCUMENT_ERR
#define DOMSTRING_SIZE_ERR
#define INVALID_MODIFICATION_ERR