Revision 840238

Go back to digest for 3rd August 2008

Features in KDE Base

Teemu Rytilahti committed changes in /trunk/playground/base/plasma/applets/weather_station:

* Convert to use WeatherFormula::Units provided by the ions, currently only ported ion is ion_willab.
-- This allows us to convert between different units more easily as there's no need to guess which kind of unit format the ion is using.

* Introduced getUnitString() to get a string for WeatherFormula::Units, this could be moved to WeatherFormula namespace and let the applet developers to parse that data as wanted.
-- This is used to decide which frames to show from the SVG file.

Now it is possible for user to select wanted unit from the config and it will be automatically converted to the same format.

File Changes

Modified 2 files
  • /trunk/playground/base/plasma/applets/weather_station
  •   /weatherstation.cpp
  •   /weatherstation.h
2 files changed in total