summaryrefslogtreecommitdiff
path: root/metawatch/metawatchdigital.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2011-10-16 04:42:30 +0200
committerJavier S. Pedro <maemo@javispedro.com>2011-10-16 04:42:30 +0200
commit4da9bced6a27b92d49b9fc9392946510b8519d82 (patch)
tree7a2417a932a6463e3e6f6ec4d3799e24de917306 /metawatch/metawatchdigital.h
parentbde4bde8ec9d6d09874d5ae9e0ba6dc9431859b6 (diff)
downloadsowatch-4da9bced6a27b92d49b9fc9392946510b8519d82.tar.gz
sowatch-4da9bced6a27b92d49b9fc9392946510b8519d82.zip
Initial implementation of weather
Diffstat (limited to 'metawatch/metawatchdigital.h')
-rw-r--r--metawatch/metawatchdigital.h4
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);