void QtCamGraphicsViewfinder::setRenderingEnabled(bool enabled) { if (d_ptr->enabled != enabled) { d_ptr->enabled = enabled; emit renderingEnabledChanged(); } }
void QDeclarativeWebView::setRenderingEnabled(bool enabled) { if (d->rendering == enabled) return; d->rendering = enabled; emit renderingEnabledChanged(); d->view->setTiledBackingStoreFrozen(!enabled); }
void VisualizationServiceProxy::onServiceRemoved(VisualizationService *service) { disconnect(service, &VisualizationService::activeViewChanged, this, &VisualizationService::activeViewChanged); disconnect(service, &VisualizationService::fps, this, &VisualizationService::fps); disconnect(service, &VisualizationService::activeLayoutChanged, this, &VisualizationService::activeLayoutChanged); disconnect(service, &VisualizationService::renderingEnabledChanged, this, &VisualizationService::renderingEnabledChanged); mVisualizationService = VisualizationService::getNullObject(); emit activeLayoutChanged(); emit activeViewChanged(); emit renderingEnabledChanged(); }
void VisualizationServiceProxy::onServiceAdded(VisualizationService* service) { mVisualizationService.reset(service, null_deleter()); connect(service, &VisualizationService::activeViewChanged, this, &VisualizationService::activeViewChanged); connect(service, &VisualizationService::fps, this, &VisualizationService::fps); connect(service, &VisualizationService::activeLayoutChanged, this, &VisualizationService::activeLayoutChanged); connect(service, &VisualizationService::renderingEnabledChanged, this, &VisualizationService::renderingEnabledChanged); emit activeLayoutChanged(); emit activeViewChanged(); emit renderingEnabledChanged(); }