summaryrefslogtreecommitdiffstats
path: root/kweather/weatherservice.cpp
diff options
context:
space:
mode:
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"