void DSImageCaptureControl::updateState() { bool ready = (m_session->state() == QCamera::ActiveState) && !m_session->pictureInProgress(); if(m_ready != ready) emit readyForCaptureChanged(m_ready = ready); }
void CameraBinImageCapture::updateState() { bool ready = m_session->state() == QCamera::ActiveState; if (m_ready != ready) { #ifdef DEBUG_CAPTURE qDebug() << "readyForCaptureChanged" << ready; #endif emit readyForCaptureChanged(m_ready = ready); } }
void SimulatorCameraImageCaptureControl::updateReadyForCapture(bool ready) { mReadyForCapture = ready; emit readyForCaptureChanged(mReadyForCapture); }