| 287 | } |
| 288 | |
| 289 | void 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 | |
| 309 | void QFAppScript::abort() |
| 310 | { |
nothing calls this directly
no test coverage detected