| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Cross referenceing means we can detect whether a place from one
plugin/manager is already in another plugin/manager
Change-Id: Ice1834446a61e30e02f869e1d383f6d8698b8db6
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
| |
Change-Id: I1db9c1d6724a83b027d4aadd6870a568e346c58f
Reviewed-by: abcd <amos.choy@nokia.com>
|
|
|
|
|
| |
Change-Id: I496795d13a615be8d252ca20a40dd2c5ba84ed60
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
|
|
|
| |
Mostly just using Q_UNUSED in appropriate spots. Also commenting
out some unused constants.
Change-Id: Id43e171bf3a34f7c11e366b14eadb42f08f0096d
Reviewed-by: Alex <alex.blasche@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
QStringLiterals are not designed to work properly in global
scope, so for the moment anyway we use QLatin1String again
so that the build doesn't break on gcc >= 4.6 and other
platforms.
Change-Id: Idfaf39588da378adcf334a7a0b363dfe36798d14
Reviewed-by: abcd <amos.choy@nokia.com>
|
|
|
|
|
| |
Change-Id: I8f9fa805d7edfefd783788ea78ad824715041982
Reviewed-by: Alex <alex.blasche@nokia.com>
|
|
|
|
|
|
|
|
| |
The place files were in src/location as a holdover from when
qgeoplace was used. Moved it into the places directory instead.
Change-Id: Ide98fba615c8ff5a73493c81eaefc19b21f2203a
Reviewed-by: Alex <alex.blasche@nokia.com>
|
|
|
|
|
| |
Change-Id: If95c3475ac4a770ba07e61843ea0ad3df64be202
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
| |
Change-Id: I542b3e494b39a65952e8cb412f45cfec2f8567f0
Reviewed-by: Alex <alex.blasche@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
For C++ we add a compatiblePlace() function which returns
a pruned version of the original suitable for saving into the manager
For QML there the Place has a copyFrom() method. Only data that
is relevant to the current place's plugin is copied over.
Change-Id: I97c3ed8f1c7e7f68165242a2d6f1d0b04e9ab9a0
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
| |
Change-Id: Ie2f884bf6658287c8ec53fd3a0f441d5586500f1
Reviewed-by: Alex <alex.blasche@nokia.com>
|
|
|
|
|
|
|
|
| |
This results in more natural QML place.contactDetails.phone
rather than place.contactDetails.Phone
Change-Id: Ib6d6942f9b5b31df86253912cab3050c1a219b8a
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
| |
Check for equality.
Change-Id: I12b9d16d4b94235bbcb9eb70a3a8713b196280a1
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
| |
Change-Id: Ib84f1be226fcd481fe6ffed380b2e0dc63d789e6
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
| |
Change-Id: I545d22813ad762b1d918053602b5a7f08f666688
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
| |
Change-Id: Ia74ad72b1ab035f173e61d66397577c9bcae7e67
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
| |
Change-Id: I8c1acb14e667c2e292fc17bff4aaadaaa840e850
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
| |
Change-Id: Id88eb1e4178593ed2cad74984eb4b21849018c79
Reviewed-by: abcd <amos.choy@nokia.com>
|
|
|
|
|
| |
Change-Id: Ifbbae53c80e90db013609baff78f94aae9e5bbd4
Reviewed-by: Alex <alex.blasche@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The manager now accepts a list of locales. If the first locale
cannot be accommodate, the manager falls back to the next.
For those managers that do support locales, the default set of locales
contains just the global default locale.
Change-Id: Iaf6511e18e22fe3c8bd6a8a0ee6077c2827d664c
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It may be possible that other rating values
could be added to the rating object e.g.
a count for how many gave a rating 1
a count for now many gave a rating of 2
or perhaps ratings for different aspects
of a place eg.
service
cleanliness
etc.
Therefore ratings should be used instead or rating.
Change-Id: I8a46646942dcd938bcee31921cabfa9df9862adc
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
|
|
| |
Rename for consistency with getPlaceDetails.
Also change parameter from place object to place id.
Change-Id: I1cabe7aa3cf17ce5aafba7c09d3e37ea1ab220b3
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For consistency with getPlaceDetails and getPlaceContent,
use a place id as a parameter instead of a place object.
Also provide a default search request parameter.
Also rename element to PlaceRecommendationModel
to be consisent with PlaceSearchModel and
PlaceSearchSuggestionModel
Change-Id: Idc68d8c14dcadcd8d65427fdf65a919d5d4560c5
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
A suggestion is a more appropriate term since 'prediction'
implies that the search term just is auto-completed. Suggestions
may be given that do not derive directly from the
entered partial search term.
Also rename TextPredictionModel to PlaceSearchSuggestionModel.
Change-Id: Ib7100e0c52c21196ecc70c8c25a94abfaecc9125
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
| |
Change-Id: I52e9eee45b96c42500108646880f500df9dae55d
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
|
|
| |
These are so we can document the attribute types, more
will come later as we implement them. Right now
they're not actually used.
Change-Id: I447bf2406d22125b877882225dfb0827c0faf189
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
| |
Change-Id: Ieba2797bbaa0652d3a6687fd275feca15931218e
Reviewed-by: Alex <alex.blasche@nokia.com>
|
|
|
|
|
| |
Change-Id: Ia5b353e7f97f2bc93c988cbfbd8d57784d3e3bbd
Reviewed-by: Alex <alex.blasche@nokia.com>
|
|
|
|
|
|
|
|
| |
The term invalid is incorrect. A default
constructed QPlaceContent object is still a valid object.
Change-Id: I55644baaacb84c0496a0f723d6198c7eb284ee38
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
| |
Not required anymore.
Change-Id: I8851ea90b656728e2a45e5c5a7a3c6783510459c
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
| |
Change-Id: I34e24e0ecd2c735ce682f33041b4d2dfc568c8d5
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Documentation for the content and search request classes.
There is no need for the request classes to inherit off a
base request class. Currently the base class has limit and offset
fields, but if for example there is an image submission request class
the limit and offset become meaningless.
The content reply class should have a field for the content request
just like the search reply has a field for the search request.
Change-Id: I8d9dfe8a31806c6bb3b31f66d1338c2999e27ce2
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
|
| |
The notifications feature means the manager will give signal
notifications for added/modified/removed places and categories.
Change-Id: I30118d53e11a0b5ba9ed7edaf418c215861fa2c4
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
|
| |
The PlaceIcon can call the engine directly to get the constructed
icon
Change-Id: I71c91b958f6266acb81533c38e9b629751bbceaa
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There already exists a content object so ::content() it is
not appropriate. ::description() is unintuitive.
::text() is more natural. Note that the text could either be plain
text or rich text.
QLabel and QTextEdit have a setText() function and the text format
is automatically detected. This makes using ::text() a natural fit.
Change-Id: I77719202d0b210ae75a91d6867c3411c9c5ec51c
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The REST server now supports labels for each contact value, so
now it makes sense to incorporte the ContactValue class.
ContactValue = user visible label + value(phone number, email etc)
We use a map type implementation where the key for the map
is the contact type and the value is a list of contact values.
The first element of each list becomes the primary value.
Eg the primaryPhone() field references the first element in the
list of phone numbers.
The setters for the primary___() functions has been removed.
Url has also been renamed to Website to keep in line with LBSP.
Change-Id: I9382a8286c5348bd1eb93d93f25088dfdf321852
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
|
| |
removing places used to take a place object while removing categories
used a category id. Change removing places to use a place id.
Change-Id: I2d603564df362b327fb2fdd27e1f2f00bf2ae833
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Q_LOCATION_EXPORT_TEMP -> Q_LOCATION_EXPORT
Change-Id: I65b1d9c59ab2d2ad437f1934013eb53b0b96e606
Reviewed-by: Alex <alex.blasche@nokia.com>
|
|
|
|
|
| |
Change-Id: I191f73426ec27df91409909004ac5a60f5b3aacc
Reviewed-by: Alex <alex.blasche@nokia.com>
|
|
|
|
|
|
|
| |
Change-Id: Ic18bd60736b7412434091cbb4b2c539f334e3ec3
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Reviewed-by: David Laing <david.laing@nokia.com>
Reviewed-by: abcd <amos.choy@nokia.com>
|
|
|
|
|
|
|
|
| |
Removing all location related defines from qglobal.h causes this macro
to fail. It seems that it is no longer used in new modules.
Change-Id: Ifbfa6f7f40a419e0890a4611bab7e2d681f63a04
Reviewed-by: Alex <alex.blasche@nokia.com>
|
|
|
|
|
| |
Change-Id: I6973845a234942aae665ae0aa9453ef295e7fa81
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
|
|
| |
Each module handles each its own exports. We need to change the
QtLocation version, remove the qglobal.h define and then add it back
under the old name in QtLocation
Change-Id: I7530a251b78402215a466cd55a33ec24664786b7
Reviewed-by: Alex <alex.blasche@nokia.com>
|
|
|
|
|
|
|
|
|
| |
Authentication can be provided through parameters to the manager,
which have been passed through the QGeoServiceProvider class.
Change-Id: I8aaba0830e08d82393fac27cbeda84c61e3941a0
Reviewed-on: http://codereview.qt-project.org/6653
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If multiple categories are provided it is expected that the backend
will effectively perform a union operation. i.e. any places
that match one or more of the categories are returned.
It is possible however that some backends may not support
multiple categories. In this case the first category is used and the
rest ignored.
Change-Id: I50133a1945a775d6961f0ada3b07ef1721d4de24
Reviewed-on: http://codereview.qt-project.org/6567
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
| |
Change-Id: I1cc07859f41aee40e8eb05d321a00a1417dd3970
Reviewed-on: http://codereview.qt-project.org/6584
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
| |
Change-Id: I28993ed7d7cd1ba08c850a558c2bcd2f6fb2bf63
Reviewed-on: http://codereview.qt-project.org/6482
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
| |
Change-Id: Ie2518c349fc551756f78a963417cceb93c81a3a8
Reviewed-on: http://codereview.qt-project.org/6407
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|