GStreamer: fixed build when using GST_PHOTOGRAPHY.

CameraBinExposure was reimplementing the Qt4 version of
QCameraExposureControl instead of the refactored version of Qt5.
Zoom features were still handled in CameraBinFocus but these have been
moved to their own control in Qt5.

Task-number: QTBUG-29300

Change-Id: I0c71cac6011137bc5457f0d362da44c72039004a
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
This commit is contained in:
Yoann Lopes
2013-02-28 15:28:56 +01:00
committed by The Qt Project
parent 339fda0ca9
commit e747d4c0cd
12 changed files with 330 additions and 187 deletions

View File

@@ -60,24 +60,16 @@ public:
CameraBinExposure(CameraBinSession *session);
virtual ~CameraBinExposure();
QCameraExposure::ExposureMode exposureMode() const;
void setExposureMode(QCameraExposure::ExposureMode mode);
bool isExposureModeSupported(QCameraExposure::ExposureMode mode) const;
QCameraExposure::MeteringMode meteringMode() const;
void setMeteringMode(QCameraExposure::MeteringMode mode);
bool isMeteringModeSupported(QCameraExposure::MeteringMode mode) const;
bool isParameterSupported(ExposureParameter parameter) const;
QVariant exposureParameter(ExposureParameter parameter) const;
ParameterFlags exposureParameterFlags(ExposureParameter parameter) const;
QVariantList supportedParameterRange(ExposureParameter parameter) const;
bool setExposureParameter(ExposureParameter parameter, const QVariant& value);
QVariantList supportedParameterRange(ExposureParameter parameter, bool *continuous) const;
QString extendedParameterName(ExposureParameter parameter);
QVariant requestedValue(ExposureParameter parameter) const;
QVariant actualValue(ExposureParameter parameter) const;
bool setValue(ExposureParameter parameter, const QVariant& value);
private:
CameraBinSession *m_session;
CameraBinSession *m_session;
QHash<ExposureParameter, QVariant> m_requestedValues;
};
QT_END_NAMESPACE