summaryrefslogtreecommitdiffstats
path: root/kweather/weatherservice.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-08-11 09:29:23 +0000
committerMavridis Philippe <mavridisf@gmail.com>2021-08-29 10:18:55 +0000
commit8d99f539b8a8b43877973c8cabb9c44d9da01e36 (patch)
treea843ffe4bd9f2b1a1b2924ea1c707862ccb12af4 /kweather/weatherservice.cpp
parent064a406d4e72e1f00b6027e311bc228fa7be27e0 (diff)
downloadtdetoys-8d99f539b8a8b43877973c8cabb9c44d9da01e36.tar.gz
tdetoys-8d99f539b8a8b43877973c8cabb9c44d9da01e36.zip
KWeather Konqueror sidebar revival
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 07171bc7a78a7c4d45372d8750e857d1da5d6173)
Diffstat (limited to 'kweather/weatherservice.cpp')
-rw-r--r--kweather/weatherservice.cpp5
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"