register enums in the scriptengine
This commit is contained in:
parent
d8457ecd8d
commit
888d964d22
@ -374,6 +374,8 @@ void DeclarativeAppletScript::setupObjects()
|
||||
QScriptValue fun = m_engine->newFunction(DeclarativeAppletScript::loadui);
|
||||
global.setProperty("loadui", fun);
|
||||
|
||||
ScriptEnv::registerEnums(global, AppletInterface::staticMetaObject);
|
||||
|
||||
bindI18N(m_engine);
|
||||
global.setProperty("dataEngine", m_engine->newFunction(DeclarativeAppletScript::dataEngine));
|
||||
global.setProperty("service", m_engine->newFunction(DeclarativeAppletScript::service));
|
||||
|
Loading…
Reference in New Issue
Block a user