|
|
@ -150,7 +150,7 @@ TQPixmap WeatherService::icon(const TQString &stationID)
|
|
|
|
return kapp->iconLoader()->loadIcon(
|
|
|
|
return kapp->iconLoader()->loadIcon(
|
|
|
|
iconFileName(stationID),
|
|
|
|
iconFileName(stationID),
|
|
|
|
TDEIcon::Desktop
|
|
|
|
TDEIcon::Desktop
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
TQString WeatherService::currentIconString(const TQString &stationID)
|
|
|
|
TQString WeatherService::currentIconString(const TQString &stationID)
|
|
|
@ -165,7 +165,7 @@ TQString WeatherService::iconFileName(const TQString &stationID)
|
|
|
|
|
|
|
|
|
|
|
|
void WeatherService::useIconTheme(bool use)
|
|
|
|
void WeatherService::useIconTheme(bool use)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
kdDebug() << "[!!!] received signal to set useIconTheme to " << use << endl;
|
|
|
|
kdDebug(12006) << "Received signal to set useIconTheme to " << use << endl;
|
|
|
|
WeatherIconPrivate::instance()->useIconTheme(use);
|
|
|
|
WeatherIconPrivate::instance()->useIconTheme(use);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -214,7 +214,7 @@ void WeatherService::removeStation(const TQString &stationID)
|
|
|
|
m_weatherLib->remove(stationID);
|
|
|
|
m_weatherLib->remove(stationID);
|
|
|
|
saveSettings();
|
|
|
|
saveSettings();
|
|
|
|
emit stationRemoved(stationID);
|
|
|
|
emit stationRemoved(stationID);
|
|
|
|
kdDebug() << "KWeatherService: station removed: " << stationID << endl;
|
|
|
|
kdDebug(12006) << "Station removed: " << stationID << endl;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void WeatherService::addStation(const TQString &stationID)
|
|
|
|
void WeatherService::addStation(const TQString &stationID)
|
|
|
@ -222,7 +222,7 @@ void WeatherService::addStation(const TQString &stationID)
|
|
|
|
m_weatherLib->update(stationID);
|
|
|
|
m_weatherLib->update(stationID);
|
|
|
|
saveSettings();
|
|
|
|
saveSettings();
|
|
|
|
emit stationAdded(stationID);
|
|
|
|
emit stationAdded(stationID);
|
|
|
|
kdDebug() << "KWeatherService: station added: " << stationID << endl;
|
|
|
|
kdDebug(12006) << "Station added: " << stationID << endl;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void WeatherService::exit()
|
|
|
|
void WeatherService::exit()
|
|
|
|