Add missing include
[harmattan/cameraplus] / declarative / imageresolutionmodel.h
index 2bfbad3..dcc7b8b 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
@@ -65,6 +65,12 @@ private:
   QtCamImageSettings *m_settings;
 
   QList<QtCamImageResolution> m_resolutions;
+
+#if defined(QT5)
+  QHash<int, QByteArray> roleNames() const;
+  void setRoleNames(const QHash<int, QByteArray>& roles);
+  QHash<int, QByteArray> m_roles;
+#endif
 };
 
 #endif /* IMAGE_RESOLUTION_MODEL_H */