diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2011-10-16 04:42:30 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2011-10-16 04:42:30 +0200 |
commit | 4da9bced6a27b92d49b9fc9392946510b8519d82 (patch) | |
tree | 7a2417a932a6463e3e6f6ec4d3799e24de917306 /metawatch/metawatchdigital.h | |
parent | bde4bde8ec9d6d09874d5ae9e0ba6dc9431859b6 (diff) | |
download | sowatch-4da9bced6a27b92d49b9fc9392946510b8519d82.tar.gz sowatch-4da9bced6a27b92d49b9fc9392946510b8519d82.zip |
Initial implementation of weather
Diffstat (limited to 'metawatch/metawatchdigital.h')
-rw-r--r-- | metawatch/metawatchdigital.h | 4 |
1 files changed, 3 insertions, 1 deletions
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); |