diff options
Diffstat (limited to 'harmaccuweather/harmaccuweather.cpp')
-rw-r--r-- | harmaccuweather/harmaccuweather.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/harmaccuweather/harmaccuweather.cpp b/harmaccuweather/harmaccuweather.cpp index c4daeb9..e48ee13 100644 --- a/harmaccuweather/harmaccuweather.cpp +++ b/harmaccuweather/harmaccuweather.cpp @@ -131,7 +131,7 @@ QString HarmAccuWeather::body() const } } -WeatherNotification::WeatherType HarmAccuWeather::forecast() +WeatherNotification::WeatherType HarmAccuWeather::forecast() const { switch (_lastWxCode) { case 1: @@ -198,12 +198,12 @@ WeatherNotification::WeatherType HarmAccuWeather::forecast() } } -int HarmAccuWeather::temperature() +int HarmAccuWeather::temperature() const { return _lastTemp; } -WeatherNotification::Unit HarmAccuWeather::temperatureUnits() +WeatherNotification::Unit HarmAccuWeather::temperatureUnits() const { return _metric ? Celsius : Fahrenheit; } |