#include "qtcamexposure.h"
Exposure::Exposure(QtCamDevice *dev, QObject *parent) :
- QObject(parent),
+ Capability(parent),
m_exposure(new QtCamExposure(dev, this)) {
+ setCapability(m_exposure);
+
QObject::connect(m_exposure, SIGNAL(valueChanged()), this, SIGNAL(valueChanged()));
QObject::connect(m_exposure, SIGNAL(minimumValueChanged()), this, SIGNAL(minimumChanged()));
QObject::connect(m_exposure, SIGNAL(maximumValueChanged()), this, SIGNAL(maximunmChanged()));