From 4da9bced6a27b92d49b9fc9392946510b8519d82 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sun, 16 Oct 2011 04:42:30 +0200 Subject: Initial implementation of weather --- metawatch/metawatchdigital.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'metawatch/metawatchdigital.h') diff --git a/metawatch/metawatchdigital.h b/metawatch/metawatchdigital.h index 0754242..a528eb2 100644 --- a/metawatch/metawatchdigital.h +++ b/metawatch/metawatchdigital.h @@ -21,6 +21,7 @@ public: QString model() const; void updateNotificationCount(Notification::Type type, int count); + void updateWeather(WeatherNotification *weather); void displayIdleScreen(); void displayNotification(Notification *notification); @@ -36,7 +37,8 @@ protected: void handleWatchConnected(); void renderIdleScreen(); - void renderIdleWeather(); + void renderIdleWeather(WeatherNotification *w = 0); + QImage iconForWeather(WeatherNotification *w); void renderIdleCounts(); void renderNotification(Notification *n); -- cgit v1.2.3