diff options
author | abcd <qt-info@nokia.com> | 2011-09-12 19:17:58 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-23 06:48:23 +0200 |
commit | ded902bfb0dafa06489eead1dbf15b0b3780b530 (patch) | |
tree | a57bf593c88b3240e677c499936c66d1ff40e6ee /src/location/qplace.h | |
parent | af230304d65f790f0833962343c7fdc00dfe798a (diff) | |
download | qtlocation-ded902bfb0dafa06489eead1dbf15b0b3780b530.tar.gz |
Remove additionalData from QPlace
additionalData is now superseded by place attributes.
In the qjsondetailsparser processAdContentPackages used to put
some content into additional data. indicating whether a place type
was an "ad_prime_plus" place. For the Qt 5 use case, for 3rd party
developers this doesn't seem necessary and neither does it seem
part of the new REST API.
Also it seems that the search type has erroneously been placed into
the additionalData. This is not necessary as the SearchResult
already has the type defined.
Change-Id: I35545b48666700a08aa93bfa0fa90ef2f301163e
Reviewed-on: http://codereview.qt-project.org/5213
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'src/location/qplace.h')
-rw-r--r-- | src/location/qplace.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/location/qplace.h b/src/location/qplace.h index 8bf46fba..870bbd4d 100644 --- a/src/location/qplace.h +++ b/src/location/qplace.h @@ -76,8 +76,6 @@ public: bool operator==(const QPlace &other) const; bool operator!=(const QPlace &other) const; - QVariantHash additionalData() const; - void setAdditionalData(const QVariantHash &data); QList<QPlaceCategory> categories() const; void setCategories(const QList<QPlaceCategory> &categories); QList<QPlaceDescription> descriptions() const; |