void DSImageCaptureControl::updateState()
{
    bool ready = (m_session->state() == QCamera::ActiveState) &&
                 !m_session->pictureInProgress();
    if(m_ready != ready)
        emit readyForCaptureChanged(m_ready = ready);
}
Exemple #2
0
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);
    }
}
Exemple #3
0
void SimulatorCameraImageCaptureControl::updateReadyForCapture(bool ready)
{
    mReadyForCapture = ready;
    emit readyForCaptureChanged(mReadyForCapture);
}