Commit Graph

347 Commits (46095a976686cefcaecebe29aeda1d7537e25d98)
 

Author SHA1 Message Date
Mavridis Philippe 46095a9766
Code style improvements.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe 56e84d9ab2
Move useIconTheme DCOP call into kcmweatherservice.
This is where it belongs, and thus it can be used by both
the applet and sidebar.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe b1d0b204e1
KWeather: Split Display module in two sumbodules
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe 257301adc0
Force all stations to update.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe c0d50863df
WeatherService: Added forceUpdateAll() function.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe 2dc62c135e
prefdialogfdata.ui: wording changes
according to recommendations.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe 6a9693ddcd
Refine kdDebug() calls according to recommendations.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe 432bc8184c
Rename getIcon(...) to saveIconNamePath(...)
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe 2eeaa5f49b
Preference dialog fixes.
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 67e995b6fc
KWeather: Added fallbacks to "weather-snow"
For themes missing the (specified by XDG) weather-snow-scattered
icon.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe 037b7019e8
KWeather: Use TDEIconLoader with absolute path to load icons.
This provides us with free built-in SVG support.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe d2b868dfa4
KWeather: improved fallback mechanism.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe 0256788f8e
KWeather: remove clouds < 0 case.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe 6e43236a75
KWeather: Use brackets block for better readability
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe d14d3ab2fd
KWeather: Fixed comments
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe df744f540c
KWeather: Better icon name string handling.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe a21cf7acf6
KWeather: Fixed fallback to default icons
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe bee2b453da
KWeather: support for weather icons from icon theme.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe 76aebc5aa6
KWeather: updated icon name in DockWidget 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
Mavridis Philippe 5fea80f569
KWeather: use glob to find and install weather icons
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe fb148c218f
Renamed KWeather icons to adhere to icon theme standards.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Michele Calgaro 1a7cc700b1
Replaced 'includehints' with 'includes' in *.ui files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Slávek Banko e04edde308
Raise the minimum required version of CMake to 3.1 in CMakeL10n rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko f1a2db037b
Raise the minimum required version of CMake to 3.1.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Michele Calgaro 949893d7e4
kweather sidebar: correctly initialize variables. This fixes issue #15.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 1c542ac6cc Translated using Weblate (Italian)
Currently translated at 100.0% (11 of 11 strings)

Translation: tdetoys/kweather - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdetoys/kweather-desktop-files/it/
3 years ago
Slávek Banko 93f97fe140
Remove unwanted end spaces in kweather-stations.desktop.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko d5a88db108 Translated using Weblate (Czech)
Currently translated at 100.0% (285 of 285 strings)

Translation: tdetoys/kweather - stations
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdetoys/kweather-stations/cs/
4 years ago
Slávek Banko e8c63c17a6 Translated using Weblate (Czech)
Currently translated at 100.0% (5 of 5 strings)

Translation: tdetoys/kworldclock - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdetoys/kworldclock-desktop-files/cs/
4 years ago
Slávek Banko b30225fb4e Translated using Weblate (Czech)
Currently translated at 100.0% (4 of 4 strings)

Translation: tdetoys/ktux - ktux.desktop
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdetoys/ktux-ktuxdesktop/cs/
4 years ago
Slávek Banko ceae552a09 Translated using Weblate (Czech)
Currently translated at 100.0% (2 of 2 strings)

Translation: tdetoys/kodo - kodo.desktop
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdetoys/kodo-kododesktop/cs/
4 years ago
Slávek Banko 874b4e098d Translated using Weblate (Czech)
Currently translated at 100.0% (2 of 2 strings)

Translation: tdetoys/kfifteenapplet - kfifteenapplet.desktop
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdetoys/kfifteenapplet-kfifteenappletdesktop/cs/
4 years ago
Slávek Banko 14b5e54d39 Translated using Weblate (Czech)
Currently translated at 100.0% (2 of 2 strings)

Translation: tdetoys/amor - amor.desktop
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdetoys/amor-amordesktop/cs/
4 years ago
Slávek Banko a8f31c41e1 Translated using Weblate (Czech)
Currently translated at 100.0% (11 of 11 strings)

Translation: tdetoys/kweather - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdetoys/kweather-desktop-files/cs/
4 years ago
TDE Weblate e4ef241287 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: TDE/tdetoys
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tde/tdetoys/
4 years ago
TDE Gitea 2c76c3ec75 Update translation template. 4 years ago
Mavridis Philippe 47ea2b84cd
KWeather Sidebar: timer fixes
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
4 years ago
Mavridis Philippe 07171bc7a7
KWeather Konqueror sidebar revival
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
4 years ago
TDE Weblate 9add97c815 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: TDE/tdetoys
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tde/tdetoys/
4 years ago
TDE Gitea 7c9b7470d8 Update translation template. 4 years ago
Slávek Banko 32e43f1fe9
Remove cmake submodule since it has now been replaced by cmake-trinity dependency.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
TDE Gitea fbbc702474 Reset submodule main/core/tdetoys/cmake to latest HEAD 4 years ago
Michele Calgaro b5f99daf6f Translated using Weblate (Italian)
Currently translated at 100.0% (285 of 285 strings)

Translation: tdetoys/kweather - stations
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdetoys/kweather-stations/it/
4 years ago
TDE Gitea bfb6e64fce Reset submodule main/core/tdetoys/cmake to latest HEAD 4 years ago
TDE Gitea 4c185dd7c2 Reset submodule main/core/tdetoys/admin to latest HEAD 4 years ago
Alexander Golubev d949147662 cmake: a couple of small fixes
* Fix project name
* Add explicit dependencies for a custom command in kweather

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
4 years ago
Slávek Banko 3a63db1399
Do not list files that are part of the source code as DEPENDS.
This resolves FTBS, which may occur due to commit 07d616b7e2.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
TDE Gitea e7d9d1ae6a Reset submodule main/core/tdetoys/cmake to latest HEAD 4 years ago