4#ifndef QQUICKWORKERSCRIPT_P_H
5#define QQUICKWORKERSCRIPT_P_H
20#include <QtQmlWorkerScript/private/qtqmlworkerscriptglobal_p.h>
21#include <QtQml/qqmlparserstatus.h>
22#include <QtCore/qthread.h>
23#include <QtQml/qjsvalue.h>
24#include <QtCore/qurl.h>
55 Q_PROPERTY(
bool ready READ ready NOTIFY readyChanged REVISION(2, 15))
66 void setSource(const
QUrl &);
79 void classBegin() override;
80 void componentComplete() override;
88 bool m_componentComplete;
The QJSValue class acts as a container for Qt/JavaScript data types.
QObject * parent() const
Returns a pointer to the parent object.
The QQmlEngine class provides an environment for instantiating QML components.
The QQmlParserStatus class provides updates on the QML parser state.
void executeUrl(int, const QUrl &)
~QQuickWorkerScriptEngine()
QQuickWorkerScriptEngine(QQmlEngine *parent=nullptr)
void sendMessage(int, const QByteArray &)
void removeWorkerScript(int)
int registerWorkerScript(QQuickWorkerScript *)
Combined button and popup list for selecting options.
GLuint GLsizei const GLchar * message
GLsizei GLsizei GLchar * source
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)