summaryrefslogtreecommitdiff
path: root/src/location/places/qplacemanager.h
diff options
context:
space:
mode:
authorabcd <amos.choy@nokia.com>2011-11-15 18:53:57 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-17 01:24:41 +0100
commit61e002f5b84b32fdb9ffd168a5ef9e5d7ad25100 (patch)
tree2b3590e48f7671fe19f33f1087c327ea358ceb08 /src/location/places/qplacemanager.h
parent98773f63267a3d118145ad83d37a714e3e6e45e1 (diff)
downloadqtlocation-61e002f5b84b32fdb9ffd168a5ef9e5d7ad25100.tar.gz
Allow specification of locale preferences
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>
Diffstat (limited to 'src/location/places/qplacemanager.h')
-rw-r--r--src/location/places/qplacemanager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/location/places/qplacemanager.h b/src/location/places/qplacemanager.h
index a6358a5c..97e068f7 100644
--- a/src/location/places/qplacemanager.h
+++ b/src/location/places/qplacemanager.h
@@ -113,8 +113,9 @@ public:
QPlaceCategory category(const QString &categoryId) const;
QList<QPlaceCategory> childCategories(const QString &parentId = QString()) const;
- QLocale locale() const;
+ QList<QLocale> locales() const;
void setLocale(const QLocale &locale);
+ void setLocales(const QList<QLocale> &locale);
ManagerFeatures supportedFeatures() const;