void Game::showStartupScreen() { clearGfxObjectsFromScene(); if (qml_startscreen->isLoading()) { QObject::connect(qml_startscreen, SIGNAL(statusChanged(QDeclarativeComponent::Status)), this, SLOT(continueLoading())); } else continueLoading(); }
void DevicesConfigsLoader::addConfig(QUrl configUrl) { // FIXME: forgotten pointers component = new QQmlComponent(_engine,configUrl); if (component->isLoading()) { QObject::connect(component, SIGNAL(statusChanged(QQmlComponent::Status)), this, SLOT(continueLoading())); } else { continueLoading(); } }
void QAPEWindow::timerEvent(QTimerEvent * event) { if (event->timerId()==repaintTimer) { killTimer(repaintTimer); repaintTimer=0; renderArea->repaintConn(); update(); } else if (event->timerId()==deletedTimer) { killTimer(deletedTimer); continueLoading(); } }