summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeinclude_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-05-14 07:15:08 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-05-14 07:15:08 (GMT)
commitd9ab23c190de774ea093652060981e14ac5aeaf8 (patch)
tree80a4926c2ecfd4b9284fe64e23e6d0a6ab646678 /src/declarative/qml/qdeclarativeinclude_p.h
parent2f6eb60bf4012f9a185d7cd5d4c50762c3abc7f7 (diff)
downloadQt-d9ab23c190de774ea093652060981e14ac5aeaf8.zip
Qt-d9ab23c190de774ea093652060981e14ac5aeaf8.tar.gz
Qt-d9ab23c190de774ea093652060981e14ac5aeaf8.tar.bz2
Qt.include() support in worker scripts
Diffstat (limited to 'src/declarative/qml/qdeclarativeinclude_p.h')
-rw-r--r--src/declarative/qml/qdeclarativeinclude_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativeinclude_p.h b/src/declarative/qml/qdeclarativeinclude_p.h
index 9678e42..3124374 100644
--- a/src/declarative/qml/qdeclarativeinclude_p.h
+++ b/src/declarative/qml/qdeclarativeinclude_p.h
@@ -88,7 +88,9 @@ public:
static QScriptValue resultValue(QScriptEngine *, Status status = Loading);
static void callback(QScriptEngine *, QScriptValue &callback, QScriptValue &status);
+
static QScriptValue include(QScriptContext *ctxt, QScriptEngine *engine);
+ static QScriptValue worker_include(QScriptContext *ctxt, QScriptEngine *engine);
public slots:
void finished();