Review Request: Condition icons for the NOAA weather ion

Amos Kariuki amoskahiga at
Thu Aug 27 07:27:46 CEST 2009

This is an automatically generated e-mail. To reply, visit:

Review request for Plasma and Shawn Starr.


Possible patch to allow the NOAA weather ion to determine the weather condition icon as defined at <>  This allows it to work with the weather-wallpaper plasmoid as well as display the condition icon in the weather plasmoid.  Categorization/mappings of condition to icon are arbitrary (as I saw fit) so feel free to point out any improvements or errors.

a) Minor issue: Seems like the interface to IonInterface::getWeatherIcon(const QMap<QString, ConditionIcons> &conditionList, const QString& condition) is a bit restrictive since it's making assumptions that the implementors of IonInterface are using a list to manage their condition icons (the submitted patch doesn't). Wouldn't it be more flexible for it to only require an IonInterface::ConditionIcons as an argument, or maybe overload it for compatibility purposes?

b) Noticed that conditions icon files for weather-scattered-storms-night and weather-scattered-storms-day are missing.  Not sure if this is a work in progress or if the corresponding ChanceThunderstormDay/Night are deprectaed; anyway, the patch includes them for now.


  trunk/KDE/kdebase/workspace/plasma/dataengines/weather/ions/ion_noaa.h 1016161 
  trunk/KDE/kdebase/workspace/plasma/dataengines/weather/ions/ion_noaa.cpp 1016161 



Tested with a number of random locations and compared them to the reported weather condition on NOAA's website.



More information about the Plasma-devel mailing list