OSDN Git Service

kdeplasma-addons: rework weather configuration to validate via specifiec ion
authorIvailo Monev <xakepa10@gmail.com>
Sat, 15 Jul 2023 22:44:44 +0000 (01:44 +0300)
committerIvailo Monev <xakepa10@gmail.com>
Sat, 15 Jul 2023 22:44:44 +0000 (01:44 +0300)
commit573b7e2fa8b574b63f1acaf36cebfb4f16b1615c
treeabd0d3a430700d3f4fa901e15d49b25f54562d5a
parent94848a39414f09e0ff684e3b86ec48cc0cf51f35
kdeplasma-addons: rework weather configuration to validate via specifiec ion

because different applets use data that is provided by different ion, for
example wettercom provides forecast while noaa provides wind conditions.

on a side note noaa uses mostly station names rather than city names so
expect applects that default to noaa ion to require configuration by
default in most cases

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
kdeplasma-addons/applets/weather/weatherapplet.cpp
kdeplasma-addons/applets/weatherstation/weatherstation.cpp
kdeplasma-addons/libs/plasmaweather/weatherconfig.cpp
kdeplasma-addons/libs/plasmaweather/weatherconfig.h
kdeplasma-addons/libs/plasmaweather/weatherlocation.cpp
kdeplasma-addons/libs/plasmaweather/weatherlocation.h
kdeplasma-addons/libs/plasmaweather/weatherpopupapplet.cpp
kdeplasma-addons/libs/plasmaweather/weatherpopupapplet.h
kdeplasma-addons/libs/plasmaweather/weathervalidator.cpp
kdeplasma-addons/libs/plasmaweather/weathervalidator.h
kdeplasma-addons/wallpapers/weather/weatherwallpaper.cpp