summaryrefslogtreecommitdiff
path: root/src/location/places/qplacemanagerengine.h
diff options
context:
space:
mode:
authorabcd <amos.choy@nokia.com>2012-05-15 18:56:11 +1000
committerQt by Nokia <qt-info@nokia.com>2012-05-25 03:01:15 +0200
commit6596ef821a3514384bff0b888e682ef29a5806e4 (patch)
tree67089aa3d4011cd8c9236e97d67b2add2aeb4f7d /src/location/places/qplacemanagerengine.h
parent7178b9bd014d793a18b1ec1f7b2ff6df4b9e6e7f (diff)
downloadqtlocation-6596ef821a3514384bff0b888e682ef29a5806e4.tar.gz
Refactor to allow specification for nokia icons only
There is an plugin parmeter called places.icons.custom that defines whether custom 3rd party icons or nokia icons are presented to the user for the jsondb plugin. For the nokia plugins, nokia icons can be subdivded into two types. The first is explictly set icons, the second is icons generated from the categories. In both cases the base icon is identified by the nokiaIcon key and a base icon value. However in the case of a generated icon there is a nokiaIconGenerated key that is set to true. When saving a place to the jsondb plugin, if the icon is generated, the icon data is not saved to jsondb. The category data however always is. When the place is retrieved from jsondb, the base icon will be generated from the category data. If an icon is not generated, then the base icon is saved to jsondb under the "nokiaIcon" field. When the place is retried from jsondb, this field will be used to provide the base icon. Change-Id: I9100011c519185719cdd7b62e12c2386f7f0f8d7 Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'src/location/places/qplacemanagerengine.h')
-rw-r--r--src/location/places/qplacemanagerengine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/places/qplacemanagerengine.h b/src/location/places/qplacemanagerengine.h
index e6100eda..f4c6c5b6 100644
--- a/src/location/places/qplacemanagerengine.h
+++ b/src/location/places/qplacemanagerengine.h
@@ -116,8 +116,8 @@ private:
QPlaceManagerEnginePrivate *d_ptr;
Q_DISABLE_COPY(QPlaceManagerEngine)
- friend class QGeoServiceProvider;
friend class QGeoServiceProviderPrivate;
+ friend class QPlaceManager;
};
QT_END_NAMESPACE