Commit Graph

371 Commits (41f2056d1b8b22e16e7042418f798ac7b02dd463)
 

Author SHA1 Message Date
TDE Gitea 41f2056d1b Reset submodule main/core/tdetoys/admin to latest HEAD 2 years ago
Michele Calgaro 0786899bce
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7c76875550)
2 years ago
Mavridis Philippe fe6de6f4bc
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>
(cherry picked from commit bc71670331)
2 years ago
TDE Gitea 6b56a1befc Merge translation files from master branch. 2 years ago
TDE Gitea 98f2adda02 Reset submodule main/core/tdetoys/admin to latest HEAD 2 years ago
TDE Gitea e84947ed53 Reset submodule main/core/tdetoys/admin to latest HEAD 2 years ago
Slávek Banko 2ce91d5b9b Translated using Weblate (Czech)
Currently translated at 100.0% (14 of 14 strings)

Translation: tdetoys/kweather - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdetoys/kweather-desktop-files/cs/
3 years ago
Lian Begett 6ab5944877 Translated using Weblate (German)
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/de/
3 years ago
Lian Begett 3cb89fb50f Translated using Weblate (German)
Currently translated at 100.0% (14 of 14 strings)

Translation: tdetoys/kweather - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdetoys/kweather-desktop-files/de/
3 years ago
Lian Begett 1c3c3c7dfd Translated using Weblate (German)
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/de/
3 years ago
Lian Begett 4d2f061959 Translated using Weblate (German)
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/de/
3 years ago
Lian Begett 07b407b8d2 Translated using Weblate (German)
Currently translated at 100.0% (2 of 2 strings)

Translation: tdetoys/kteatime - kteatime.desktop
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdetoys/kteatime-kteatimedesktop/de/
3 years ago
Lian Begett fb0a1580f2 Translated using Weblate (German)
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/de/
3 years ago
Lian Begett 6619bae85a Translated using Weblate (German)
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/de/
3 years ago
Michele Calgaro d9320c29b4
Use TDE cmake macro to set version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 4f95c4caa8
Remove obsolete setting of CMAKE_MODULE_PATH in cmake files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
stefano 0e9ebb3115 Translated using Weblate (Italian)
Currently translated at 100.0% (14 of 14 strings)

Translation: tdetoys/kweather - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdetoys/kweather-desktop-files/it/
3 years ago
TDE Gitea fa8f86828b Reset submodule main/core/tdetoys/admin to latest HEAD 3 years ago
TDE Weblate 58e959f06e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: tdetoys/kweather - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/tdetoys/kweather-desktop-files/
3 years ago
TDE Gitea 2741f9edc7 Update translation template. 3 years ago
Mavridis Philippe aaa7f2013f
WeatherLib: initialize correct icon setting
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe c9be50cc8d
KWeather: Try another icon for Service settings
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe 3ab50ccac5
Sidebar: enforce icon update after settings change
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe 621ec8bf1d
KWeather: Place Service section before Stations
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
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