diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-05-14 07:15:08 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-05-14 07:15:08 (GMT) |
commit | d9ab23c190de774ea093652060981e14ac5aeaf8 (patch) | |
tree | 80a4926c2ecfd4b9284fe64e23e6d0a6ab646678 /src/declarative/qml/qdeclarativeinclude_p.h | |
parent | 2f6eb60bf4012f9a185d7cd5d4c50762c3abc7f7 (diff) | |
download | Qt-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.h | 2 |
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(); |