Bind checked property to the corresponding setting value for CameraTextSwitch
[harmattan/cameraplus] / declarative / noisereduction.h
index 5d8d676..964faca 100644 (file)
@@ -3,7 +3,7 @@
 /*!
  * 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
 #ifndef NOISE_REDUCTION_H
 #define NOISE_REDUCTION_H
 
-#include <QObject>
+#include "capability.h"
 #include "qtcamnoisereduction.h"
 
 class QtCamDevice;
 
-class NoiseReduction : public QObject {
+class NoiseReduction : public Capability {
   Q_OBJECT
 
   Q_PROPERTY(NoiseReductionMode value READ value WRITE setValue NOTIFY valueChanged);