diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-07-28 02:56:11 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-07-28 02:56:11 (GMT) |
commit | 0cdd8518090be320fa89efaa11ced32215cc2ccc (patch) | |
tree | 414de68c6ada9f95450a9a4410c49a4e3e72eb43 /src/declarative/qml/qmlengine.h | |
parent | 7e8a096cb0ba3bbffdf0eb5aba5646cf3e1cf8bb (diff) | |
download | Qt-0cdd8518090be320fa89efaa11ced32215cc2ccc.zip Qt-0cdd8518090be320fa89efaa11ced32215cc2ccc.tar.gz Qt-0cdd8518090be320fa89efaa11ced32215cc2ccc.tar.bz2 |
Make private stuff public
commit 752a15ca makes some stuff private that is needed to be public.
Moving some stuff back to public until we make a real decision (on how
apps can interact with the engine).
Diffstat (limited to 'src/declarative/qml/qmlengine.h')
-rw-r--r-- | src/declarative/qml/qmlengine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlengine.h b/src/declarative/qml/qmlengine.h index 6066059..a3457f0 100644 --- a/src/declarative/qml/qmlengine.h +++ b/src/declarative/qml/qmlengine.h @@ -86,6 +86,8 @@ public: static QmlContext *contextForObject(const QObject *); static void setContextForObject(QObject *, QmlContext *); + static QScriptValue qmlScriptObject(QObject*, QmlEngine*); + static QScriptEngine *getScriptEngine(QmlEngine *e); private: Q_DECLARE_PRIVATE(QmlEngine) }; |