Commit Graph

12 Commits (ef99089e8375ec67b60d5759fdb73c22f4157d9e)

Author SHA1 Message Date
Mavridis Philippe bc71670331
KWeather: improve icon loading and other fixes
- Fix pixelated icons (issue #19)
- Fix "network offline" state
- Add helper `bool weatherDataAvailable(TQString stationID)` DCOP function
- Fix compatibility with old DCOP function signatures
- Prevent double "Network is offline" strings in weather data.

This commit introduces some new and renamed DCOP calls. Old function signatures
are kept for compatibility, but are mraked as deprecated.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
2 years ago
Mavridis Philippe 432bc8184c
Rename getIcon(...) to saveIconNamePath(...)
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe 6668b34bc5
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 <mavridisf@gmail.com>
3 years ago
Mavridis Philippe 0e7033dd09
KWeather: updated icon handling.
The newly added class abstracts away icon names from the main code
and has the ability to fall back to "safer" icon choices so as to
ensure (if possible) icon theme consistency.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Timothy Pearson f58c83bd2a Rename additional header files to avoid conflicts with KDE4 12 years ago
Timothy Pearson 73c978ef8c Rename KLocale to enhance compatibility with KDE4 12 years ago
Timothy Pearson 3ee504ecba Rename old tq methods that no longer need a unique name 13 years ago
Timothy Pearson 4d75f93557 Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 6cdf35ab11.
13 years ago
Timothy Pearson 6cdf35ab11 Rename a number of old tq methods that are no longer tq specific 13 years ago
tpearson a1bd60b348 TQt4 port kdetoys
This enables compilation under both Qt3 and Qt4


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1238103 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson cfc42a28c3 Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1157650 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
15 years ago
toma ae2a03c294 Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
15 years ago