summaryrefslogtreecommitdiff
path: root/meecastweather/meecastweather.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'meecastweather/meecastweather.cpp')
-rw-r--r--meecastweather/meecastweather.cpp6
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;
}