5#ifndef QTQMLWORKERSCRIPTGLOBAL_P_H
6#define QTQMLWORKERSCRIPTGLOBAL_P_H
19#include <QtQml/private/qtqmlglobal_p.h>
20#include <QtQmlWorkerScript/qtqmlworkerscriptglobal.h>
21#include <QtQmlWorkerScript/qtqmlworkerscriptexports.h>
23#define Q_QMLWORKERSCRIPT_AUTOTEST_EXPORT Q_AUTOTEST_EXPORT
bool event(QEvent *) override
This virtual function receives events to an object and should return true if the event e was recogniz...
static QV4::ReturnedValue method_sendMessage(const QV4::FunctionObject *, const QV4::Value *thisObject, const QV4::Value *argv, int argc)
void reportScriptException(WorkerScript *, const QQmlError &error)
QV4::ExecutionEngine * workerEngine(int id)
void reportScriptReady(WorkerScript *)
QHash< int, QBiPointer< QV4::ExecutionEngine, QQuickWorkerScript > > workers
void executeUrl(int, const QUrl &)
~QQuickWorkerScriptEngine()
void sendMessage(int, const QByteArray &)
void removeWorkerScript(int)
int registerWorkerScript(QQuickWorkerScript *)
WorkerDataEvent(int workerId, const QByteArray &data)
WorkerErrorEvent(const QQmlError &error)
WorkerIdEvent(int workerId, WorkerEventType type)
WorkerLoadEvent(int workerId, const QUrl &url)
WorkerRemoveEvent(int workerId)
V4_DEFINE_EXTENSION(WorkerScript, workerScriptExtension)
void ready(QQmlNotifyingBlob *blob) final
WorkerScript(QV4::ExecutionEngine *engine)
QQuickWorkerScriptEnginePrivate * p
QQuickWorkerScript * owner
QV4::ExecutionEngine * engine