/*!
* 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 "focus.h"
Focus::Focus(QtCamDevice *dev, QObject *parent) :
- QObject(parent),
+ Capability(parent),
m_f(new QtCamFocus(dev, this)) {
+ setCapability(m_f);
+
QObject::connect(m_f, SIGNAL(valueChanged()), this, SIGNAL(valueChanged()));
}