aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlworkerscript/qquickworkerscript_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmlworkerscript/qquickworkerscript_p.h')
-rw-r--r--src/qmlworkerscript/qquickworkerscript_p.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/qmlworkerscript/qquickworkerscript_p.h b/src/qmlworkerscript/qquickworkerscript_p.h
index d2cf5d6601..1c4c0500fe 100644
--- a/src/qmlworkerscript/qquickworkerscript_p.h
+++ b/src/qmlworkerscript/qquickworkerscript_p.h
@@ -47,8 +47,7 @@ private:
QQuickWorkerScriptEnginePrivate *d;
};
-class QQmlV4Function;
-class Q_QMLWORKERSCRIPT_PRIVATE_EXPORT QQuickWorkerScript : public QObject, public QQmlParserStatus
+class Q_QMLWORKERSCRIPT_EXPORT QQuickWorkerScript : public QObject, public QQmlParserStatus
{
Q_OBJECT
Q_DISABLE_COPY_MOVE(QQuickWorkerScript)
@@ -69,7 +68,7 @@ public:
bool ready() const;
public Q_SLOTS:
- void sendMessage(QQmlV4Function*);
+ void sendMessage(QQmlV4FunctionPtr);
Q_SIGNALS:
void sourceChanged();
@@ -91,6 +90,4 @@ private:
QT_END_NAMESPACE
-QML_DECLARE_TYPE(QQuickWorkerScript)
-
#endif // QQUICKWORKERSCRIPT_P_H