MCPcopy Create free account
hub / github.com/benlau/quickflux / componentComplete

Method componentComplete

qfappscript.cpp:289–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289void QFAppScript::componentComplete()
290{
291 QQuickItem::componentComplete();
292
293 QQmlEngine *engine = qmlEngine(this);
294 Q_ASSERT(engine);
295
296
297 m_dispatcher = QFAppDispatcher::instance(engine);
298
299 m_listener = new QFListener(this);
300
301 setListenerId(m_dispatcher->addListener(m_listener));
302
303 setListenerWaitFor();
304
305 connect(m_listener,SIGNAL(dispatched(QString,QJSValue)),
306 this,SLOT(onDispatched(QString,QJSValue)));
307}
308
309void QFAppScript::abort()
310{

Callers

nothing calls this directly

Calls 1

addListenerMethod · 0.80

Tested by

no test coverage detected