summaryrefslogtreecommitdiffstats
path: root/kweather/weatherservice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kweather/weatherservice.cpp')
-rw-r--r--kweather/weatherservice.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/kweather/weatherservice.cpp b/kweather/weatherservice.cpp
index 556a015..966216b 100644
--- a/kweather/weatherservice.cpp
+++ b/kweather/weatherservice.cpp
@@ -73,13 +73,22 @@ void WeatherService::updated(const TQString &stationID)
void WeatherService::updateAll()
{
- kdDebug(12006) << "Sending for all" << endl;
+ kdDebug(12006) << "Sending update for all" << endl;
TQStringList stations = m_weatherLib->stations();
TQStringList::ConstIterator end(stations.end());
for ( TQStringList::ConstIterator it = stations.begin(); it != end; ++it ) {
update(*it);
- }
+ }
+}
+void WeatherService::forceUpdateAll()
+{
+ kdDebug(12006) << "Sending forceUpdate for all" << endl;
+ TQStringList stations = m_weatherLib->stations();
+ TQStringList::ConstIterator end(stations.end());
+ for ( TQStringList::ConstIterator it = stations.begin(); it != end; ++it ) {
+ forceUpdate(*it);
+ }
}
void WeatherService::updating(const TQString &stationID)