X-Git-Url: http://cgit.sxemacs.org/?p=harmattan%2Fcameraplus;a=blobdiff_plain;f=declarative%2Fimageresolutionmodel.h;h=dcc7b8b0d40defd6b64078120d917363708fac14;hp=2bfbad3601d502c614b3c8b9db12ce819b9e0b94;hb=87d98feb30b728184d899e4afccc639cbbd27663;hpb=f8861ec5a342457760b9e767ac90e6524917ad87 diff --git a/declarative/imageresolutionmodel.h b/declarative/imageresolutionmodel.h index 2bfbad3..dcc7b8b 100644 --- a/declarative/imageresolutionmodel.h +++ b/declarative/imageresolutionmodel.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 @@ -65,6 +65,12 @@ private: QtCamImageSettings *m_settings; QList m_resolutions; + +#if defined(QT5) + QHash roleNames() const; + void setRoleNames(const QHash& roles); + QHash m_roles; +#endif }; #endif /* IMAGE_RESOLUTION_MODEL_H */