From 61e002f5b84b32fdb9ffd168a5ef9e5d7ad25100 Mon Sep 17 00:00:00 2001 From: abcd Date: Tue, 15 Nov 2011 18:53:57 +1000 Subject: 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 --- src/location/places/qplacemanager.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/location/places/qplacemanager.h') 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 childCategories(const QString &parentId = QString()) const; - QLocale locale() const; + QList locales() const; void setLocale(const QLocale &locale); + void setLocales(const QList &locale); ManagerFeatures supportedFeatures() const; -- cgit v1.2.1