/*!
* This file is part of CameraPlus.
*
- * Copyright (C) 2012 Mohammed Sameer <msameer@foolab.org>
+ * Copyright (C) 2012-2013 Mohammed Sameer <msameer@foolab.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
#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()));