summaryrefslogtreecommitdiff
path: root/src/imports/location/declarativeplaces/qdeclarativeplaceicon.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove "All rights reserved" line from license headers.Jason McDonald2012-01-301-1/+1
| | | | | | | | | | As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: I00c66363046e475e6924aafd221483c7fad5c0d9 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Refactor Iconsabcd2012-01-301-117/+72
| | | | | Change-Id: I702e8a1b6f0e80cb990315165f1bf331a82e65a5 Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Update obsolete contact address.Jason McDonald2012-01-231-1/+1
| | | | | | | Replace Nokia contact email address with Qt Project website. Change-Id: I3850177e14291901e924f9c27ba09e75df00f96a Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update copyright year in license headers.Jason McDonald2012-01-061-1/+1
| | | | | Change-Id: I496795d13a615be8d252ca20a40dd2c5ba84ed60 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Unit tests for Icon element.Aaron McCarthy2011-12-201-0/+3
| | | | | Change-Id: Ib0bce554ce328366067513f9e15a6a6806eeeefc Reviewed-by: Alex <alex.blasche@nokia.com>
* Fix place icon usage and supplier construction.Aaron McCarthy2011-11-171-26/+36
| | | | | | | | | | | | | | | | | | | Place icons support either a full URL or a base URL from which an icon URL is constructed. Setting the full URL and base URL are mutually exclusive, setting one resets the other. Fix code which does not take this into account and calls setBaseUrl() followed immediately by setFullUrl(). Related is how the "nokia" plugin constructs QPlaceSupplier objects. Fix two issues with this code. First the base URL of the supplier icon is set, even though only full URLs are supported. Changed to set the full URL. Second, all suppliers are added to a supplier repository. However, the repository did not behave as expected when a supplier was already in the repository. Ensure that missing data is copied into the existing supplier stored in the repository. Change-Id: I260d71f338e4cc0f5406b3a1351a215ada02b118 Reviewed-by: abcd <amos.choy@nokia.com>
* Add support for getting/setting QML location elements from C++.Aaron McCarthy2011-11-101-0/+15
| | | | | Change-Id: Ia5b353e7f97f2bc93c988cbfbd8d57784d3e3bbd Reviewed-by: Alex <alex.blasche@nokia.com>
* Fix missing links in places element docs.Aaron McCarthy2011-11-071-1/+1
| | | | | Change-Id: I1fe1709ed3630f4ca67baa4c74d1cda79db65702 Reviewed-by: Peter Yard <peter.yard@nokia.com>
* QPlaceManager::constructIconUrl does not need to existabcd2011-11-041-1/+1
| | | | | | | | The PlaceIcon can call the engine directly to get the constructed icon Change-Id: I71c91b958f6266acb81533c38e9b629751bbceaa Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Adds documentation for some places emements.Aaron McCarthy2011-11-011-20/+61
| | | | | | | | | | Add or improves element documentation for Category, CategoryModel EditorialModel, ImageModel, ReviewModel, PlaceAttribute, ExtendedAttributes, Icon, PlaceSearchModel, RecommendationModel, TextPredictionModel, Rating, User and BoundingCircle. Change-Id: Id067f207793aa1dfc11009ba4c29c165d54c8934 Reviewed-by: abcd <amos.choy@nokia.com>
* Update structure of QtLocation documentation.Aaron McCarthy2011-10-251-4/+5
| | | | | | | | | Separate out into sections for C++ and QML. Mark all classes as "since QtLocation 5.0" as there has been many API changes since Qt Mobility. Change-Id: Ie71c5f7cb8341e76d41b9fefce4781979f3e898c Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Fix unit testabcd2011-10-181-2/+5
| | | | | Change-Id: I0793cf96bbfa323901f0e742bfbd2dd55ee355ca Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
* Add Icon support to Placesabcd2011-10-111-0/+217
Change-Id: I559c96427db542dd71122f937dff90c900a02241 Reviewed-on: http://codereview.qt-project.org/6041 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com> Reviewed-by: abcd <qt_abcd1@ovi.com>