diff options
author | Mavridis Philippe <[email protected]> | 2021-12-12 15:50:37 +0200 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2022-01-14 12:39:01 +0200 |
commit | 6668b34bc5deb36e73aa45e0457ed6740f828efd (patch) | |
tree | f2ff95858cc06d5eaad187b6750717a58a175a60 /kweather/weatherservice.h | |
parent | 67e995b6fc4da17811aefb7c8d841c9812e4eec9 (diff) | |
download | tdetoys-6668b34bc5deb36e73aa45e0457ed6740f828efd.tar.gz tdetoys-6668b34bc5deb36e73aa45e0457ed6740f828efd.zip |
Implemented icon theme option.
Changes in this commit include:
* The option itself;
* A method of updating the option right after Apply or Ok is pressed
in the settings dialog;
* A new WeatherIconPrivate class to store the methods previously
in WeatherIcons, as well as the settings;
* Improved icon name helper function in METAR parser;
* A few cleanups to the WeatherIcon class.
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'kweather/weatherservice.h')
-rw-r--r-- | kweather/weatherservice.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kweather/weatherservice.h b/kweather/weatherservice.h index dba1ac9..ae0f39b 100644 --- a/kweather/weatherservice.h +++ b/kweather/weatherservice.h @@ -90,6 +90,9 @@ class WeatherService : public TQObject, public DCOPObject void addStation(const TQString &stationID); TQStringList listStations(); TQString stationCode( const TQString &stationName ); + + void useIconTheme( bool use ); + bool usingIconTheme(); void exit(); |