From 07171bc7a78a7c4d45372d8750e857d1da5d6173 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Wed, 11 Aug 2021 09:29:23 +0000 Subject: KWeather Konqueror sidebar revival Signed-off-by: Mavridis Philippe --- kweather/weatherservice.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'kweather/weatherservice.cpp') diff --git a/kweather/weatherservice.cpp b/kweather/weatherservice.cpp index 60ad1b2..9bf3561 100644 --- a/kweather/weatherservice.cpp +++ b/kweather/weatherservice.cpp @@ -192,12 +192,16 @@ void WeatherService::removeStation(const TQString &stationID) { m_weatherLib->remove(stationID); saveSettings(); + emit stationRemoved(stationID); + kdDebug() << "KWeatherService: station removed: " << stationID << endl; } void WeatherService::addStation(const TQString &stationID) { m_weatherLib->update(stationID); saveSettings(); + emit stationAdded(stationID); + kdDebug() << "KWeatherService: station added: " << stationID << endl; } void WeatherService::exit() @@ -339,5 +343,4 @@ TQString WeatherService::civilTwilightEnd(const TQString &stationID) } - #include "weatherservice.moc" -- cgit v1.2.1