repairs to Sound script conversion typos

This commit is contained in:
Stephen Birarda 2014-11-11 20:47:40 -08:00
parent 9aa950e657
commit 9a45a70764
2 changed files with 4 additions and 4 deletions

View file

@ -30,11 +30,11 @@
#include "Sound.h"
QScriptValue soundToScriptValue(QScriptEngine* engine, Sound* const &in) {
QScriptValue soundToScriptValue(QScriptEngine* engine, Sound* const& in) {
return engine->newQObject(in);
}
void soundFromScriptValue(const QScriptValue &object, Sound* &out) {
void soundFromScriptValue(const QScriptValue& object, Sound*& out) {
out = qobject_cast<Sound*>(object.toQObject());
}

View file

@ -47,7 +47,7 @@ private slots:
Q_DECLARE_METATYPE(Sound*)
QScriptValue soundToScriptValue(QScriptEngine* engine, Sound* const &in);
void soundFromScriptValue(const QScriptValue &object, Sound* &out);
QScriptValue soundToScriptValue(QScriptEngine* engine, Sound* const& in);
void soundFromScriptValue(const QScriptValue& object, Sound*& out);
#endif // hifi_Sound_h