diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-05-06 23:13:37 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-05-06 23:13:37 +0200 |
commit | ae37832316d905889c82706b351b3c037c9e1ab6 (patch) | |
tree | d90c4a18729937b782f557e170cf95d4ef38f031 /meecastweather/meecastweather.cpp | |
parent | d83093df7602aa2896de71292b47948540c22a44 (diff) | |
download | sowatch-ae37832316d905889c82706b351b3c037c9e1ab6.tar.gz sowatch-ae37832316d905889c82706b351b3c037c9e1ab6.zip |
prepare for weather qml notifications
Diffstat (limited to 'meecastweather/meecastweather.cpp')
-rw-r--r-- | meecastweather/meecastweather.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meecastweather/meecastweather.cpp b/meecastweather/meecastweather.cpp index fa62ab7..47df334 100644 --- a/meecastweather/meecastweather.cpp +++ b/meecastweather/meecastweather.cpp @@ -52,7 +52,7 @@ QString MeeCastWeather::body() const return _lastText; } -WeatherNotification::WeatherType MeeCastWeather::forecast() +WeatherNotification::WeatherType MeeCastWeather::forecast() const { switch (_lastCode) { // Day versions @@ -125,12 +125,12 @@ WeatherNotification::WeatherType MeeCastWeather::forecast() } } -int MeeCastWeather::temperature() +int MeeCastWeather::temperature() const { return _lastTemp; } -WeatherNotification::Unit MeeCastWeather::temperatureUnits() +WeatherNotification::Unit MeeCastWeather::temperatureUnits() const { return _tempUnit; } |