diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-08-11 09:29:23 +0000 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-08-29 08:56:11 +0000 |
commit | 07171bc7a78a7c4d45372d8750e857d1da5d6173 (patch) | |
tree | f7b7d954ec44649c5e8131163b1831d528fa1924 /kweather/weatherservice.cpp | |
parent | 9add97c81586acc4c735d8e12ec3813c92a9edc0 (diff) | |
download | tdetoys-07171bc7a78a7c4d45372d8750e857d1da5d6173.tar.gz tdetoys-07171bc7a78a7c4d45372d8750e857d1da5d6173.zip |
KWeather Konqueror sidebar revival
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'kweather/weatherservice.cpp')
-rw-r--r-- | kweather/weatherservice.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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" |