diff options
Diffstat (limited to 'kweather/metar_parser.h')
-rw-r--r-- | kweather/metar_parser.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/kweather/metar_parser.h b/kweather/metar_parser.h index 4f276e8..fd202d8 100644 --- a/kweather/metar_parser.h +++ b/kweather/metar_parser.h @@ -32,8 +32,6 @@ struct WeatherInfo { /** The current weather state outside */ TQString theWeather; - TQString iconName; - TQString iconPath; int clouds; float windMPH; float tempC; @@ -54,6 +52,11 @@ struct WeatherInfo TQString qsWindDirection; TQString reportLocation; bool stationNeedsMaintenance; + + /* For WeatherIcon */ + int wiCondition; + int wiStrength; + bool wiNight; }; @@ -94,7 +97,7 @@ class MetarParser void calcCurrentIcon(); void calcWindChill(); bool isNight(const TQString &stationID) const; - void saveIconNamePath( int condition, bool night, int strength = 0 ); + void saveIconData( int condition, bool night, int strength = 0 ); /* * Reset the internal WeatherInfo struct of the class so that |