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 08:56:11 +0000
commit07171bc7a78a7c4d45372d8750e857d1da5d6173 (patch)
treef7b7d954ec44649c5e8131163b1831d528fa1924 /kweather/weatherservice.cpp
parent9add97c81586acc4c735d8e12ec3813c92a9edc0 (diff)
downloadtdetoys-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.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"