summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlengine_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-10-21 03:52:11 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-10-21 03:52:11 (GMT)
commit9cf03f5afce1f46566bc3712fc7c567e990193ca (patch)
tree2e812f588ee22a3d40f12d28ac6c3a7e477263ba /src/declarative/qml/qmlengine_p.h
parent96317e0ce99e732e220907e0adc3214bd754e8d4 (diff)
downloadQt-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.h2
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(); }