X-Git-Url: http://cgit.sxemacs.org/?p=harmattan%2Fcameraplus;a=blobdiff_plain;f=declarative%2Ffocus.h;h=b5dbe49dc8999aedf47ce5ce65dcfb872caef871;hp=cc63f53b1d0816bdfa4df9d833a3596a318ca396;hb=84ebf0afd25ee836c1090ccd4502fe1049be2278;hpb=f8861ec5a342457760b9e767ac90e6524917ad87 diff --git a/declarative/focus.h b/declarative/focus.h index cc63f53..b5dbe49 100644 --- a/declarative/focus.h +++ b/declarative/focus.h @@ -3,7 +3,7 @@ /*! * This file is part of CameraPlus. * - * Copyright (C) 2012 Mohammed Sameer + * Copyright (C) 2012-2013 Mohammed Sameer * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -23,12 +23,12 @@ #ifndef FOCUS_H #define FOCUS_H -#include +#include "capability.h" #include "qtcamfocus.h" class QtCamDevice; -class Focus : public QObject { +class Focus : public Capability { Q_OBJECT Q_PROPERTY(FocusMode value READ value WRITE setValue NOTIFY valueChanged);