From 3895b8504f65346a1de19aa1ceb9570175337283 Mon Sep 17 00:00:00 2001 From: Juho Annunen Date: Wed, 11 Oct 2017 13:30:52 +0300 Subject: Update API and settings UI Implemented new UI design for Settings and minor changes to API Task-number: QTBUG-63091 Change-Id: Id72e20b53bc33ca0a3068d1e9b664fc5836a1cda Reviewed-by: Kari Oikarinen Reviewed-by: Teemu Holappa --- src/localesettings/localefiltermodel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/localesettings/localefiltermodel.h') diff --git a/src/localesettings/localefiltermodel.h b/src/localesettings/localefiltermodel.h index 3e768ea..1ddcb9c 100644 --- a/src/localesettings/localefiltermodel.h +++ b/src/localesettings/localefiltermodel.h @@ -45,6 +45,7 @@ public: QString filter() const; void setFilter(const QString& aFilter); Q_INVOKABLE QVariant itemFromRow(const int row) const; + Q_INVOKABLE int indexForCountry(const QString &country) const; Q_SIGNALS: void filterChanged(); private: -- cgit v1.2.3