diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-21 03:52:11 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-21 03:52:11 (GMT) |
commit | 9cf03f5afce1f46566bc3712fc7c567e990193ca (patch) | |
tree | 2e812f588ee22a3d40f12d28ac6c3a7e477263ba /src/declarative/qml/qmlengine_p.h | |
parent | 96317e0ce99e732e220907e0adc3214bd754e8d4 (diff) | |
download | Qt-9cf03f5afce1f46566bc3712fc7c567e990193ca.zip Qt-9cf03f5afce1f46566bc3712fc7c567e990193ca.tar.gz Qt-9cf03f5afce1f46566bc3712fc7c567e990193ca.tar.bz2 |
Add simple sound support
Diffstat (limited to 'src/declarative/qml/qmlengine_p.h')
-rw-r--r-- | src/declarative/qml/qmlengine_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlengine_p.h b/src/declarative/qml/qmlengine_p.h index a85ac55..07ac928 100644 --- a/src/declarative/qml/qmlengine_p.h +++ b/src/declarative/qml/qmlengine_p.h @@ -259,6 +259,8 @@ public: static QScriptValue darker(QScriptContext*, QScriptEngine*); static QScriptValue tint(QScriptContext*, QScriptEngine*); + static QScriptValue playSound(QScriptContext*, QScriptEngine*); + static QScriptEngine *getScriptEngine(QmlEngine *e) { return &e->d_func()->scriptEngine; } static QmlEngine *getEngine(QScriptEngine *e) { return static_cast<QmlScriptEngine*>(e)->p->q_func(); } static QmlEnginePrivate *get(QmlEngine *e) { return e->d_func(); } |