예제 #1
0
파일: Sound.cpp 프로젝트: bakarih/hifi
QScriptValue soundSharedPointerToScriptValue(QScriptEngine* engine, SharedSoundPointer const& in) {
    return engine->newQObject(in.data());
}
예제 #2
0
파일: Sound.cpp 프로젝트: ZappoMan/hifi
SoundScriptingInterface::SoundScriptingInterface(SharedSoundPointer sound) : _sound(sound) {
    QObject::connect(sound.data(), &Sound::ready, this, &SoundScriptingInterface::ready);
}