diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2011-07-27 13:32:07 +1000 |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2011-07-29 07:42:06 +0200 |
commit | f7131b42e6b997680ed4ebcc3d19becc1ef6da0e (patch) | |
tree | 261ff0e12ac81b2402935fe939c3c601d4838360 /src/plugins/geoservices/nokia/qgeoserviceproviderplugin_nokia.h | |
parent | 9692ef52743dc0701555a8a48c34c8761726280f (diff) | |
download | qtlocation-f7131b42e6b997680ed4ebcc3d19becc1ef6da0e.tar.gz |
Share QGeoServiceProvider within QML.
QGeoServiceProvider is designed to provide cached instances of manager
objects, allowing a single manager to be used for the entire
application. This feature was not being used for QML applications as
all of the declarative elements were creating a new QGeoServiceProvider
based on the data provided in the Plugin element. This happened even if
the same Plugin element was used.
This commit adds a QGeoServiceProvider member to the Plugin element
which should be shared by all users of the Plugin element.
Change-Id: I508a14b8c9c8980baf1ffcb245cee13f6d25402d
Reviewed-on: http://codereview.qt.nokia.com/2244
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'src/plugins/geoservices/nokia/qgeoserviceproviderplugin_nokia.h')
0 files changed, 0 insertions, 0 deletions