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/timedatesettings/timezonefiltermodel.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/timedatesettings/timezonefiltermodel.h') diff --git a/src/timedatesettings/timezonefiltermodel.h b/src/timedatesettings/timezonefiltermodel.h index 2b4ec2b..ead5eb0 100644 --- a/src/timedatesettings/timezonefiltermodel.h +++ b/src/timedatesettings/timezonefiltermodel.h @@ -55,8 +55,10 @@ public: QString filter() const; void setFilter(const QString& aFilter); Q_INVOKABLE QVariant itemFromRow(const int row) const; + Q_INVOKABLE int indexForTimezone(const QString &timezone) const; Q_SIGNALS: void filterChanged(); + void selectedIndexChanged(); private: QString m_filter; -- cgit v1.2.3