summaryrefslogtreecommitdiffstats
path: root/src/location/places/qplacecategory.h
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2011-09-30 10:59:51 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-03 01:46:40 +0200
commit84fb545d2e5ed16c61ea584b4ece91fd064cf54a (patch)
tree3fec2aa4ae58877b4cb93033e334a55e6cfdcadb /src/location/places/qplacecategory.h
parentec4bc548e1d4faf218247da362c445cbd1f54c9e (diff)
Add Category Save and Removal functionality
Note that the jsondb implementation will be heavily refactored. The currrent implementation of having child id's within each category does not 'gel' very well with jsondb. (Some of the current engine functions are practically synchronous) Apparently there is an alternative approach using 'Views', but further investigation is required. For now the intention is just to have something working so we can with experiment and refine the API. Change-Id: I5c9566e94f1a712f33dc06f6ad5e041326265398 Reviewed-on: http://codereview.qt-project.org/5215 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: abcd <qt_abcd1@ovi.com>
Diffstat (limited to 'src/location/places/qplacecategory.h')
-rw-r--r--src/location/places/qplacecategory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/location/places/qplacecategory.h b/src/location/places/qplacecategory.h
index f15d7339..8bb60049 100644
--- a/src/location/places/qplacecategory.h
+++ b/src/location/places/qplacecategory.h
@@ -82,6 +82,8 @@ private:
QT_END_NAMESPACE
+Q_DECLARE_METATYPE(QT_PREPEND_NAMESPACE(QPlaceCategory))
+
QT_END_HEADER
#endif // QPLACECATEGORY_H