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
Michele Calgaro
949893d7e4
kweather sidebar: correctly initialize variables. This fixes issue #15 .
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.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>
3 years ago
Mavridis Philippe
47ea2b84cd
KWeather Sidebar: timer fixes
...
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe
07171bc7a7
KWeather Konqueror sidebar revival
...
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 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
Emanoil Kotsev
21e74c70c6
Resolve ambiguous station names
...
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
4 years ago
Slávek Banko
07d616b7e2
Generate kweather station information files during the build phase
...
instead of the configuration phase.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Emanoil Kotsev
f48efce561
kweather: Improve station list processing
...
+ Add a README file with information about the processing stations
+ Automatically generate stations.dat and weather_stations.desktop
from data/nsd_cccc.txt before cmake checks
+ File downloaded from https://tgftp.nws.noaa.gov/data/nsd_cccc.txt
+ Clean up weather_stations.desktop.in and moved relevant information
to data/station_names.txt
+ Added GG to EU and NU, PE to Canada
+ Mapped most of African countries to AF region
+ Mapped few other countries to their regions
+ Algeria is not in the ME region
+ Christmas Islands code is CX
+ Added Greenland to Atlantic
+ Added some more states to Oceania
+ Added some more states to Cenetral and South Americas
+ Antarctica as new region
+ Renamed Australiasia to Australia and Oceania
+ Region abbreviations in alphabetic order
+ Removed Atlantic and Mexico regions and added North America
+ Mapped most of the outstanding stations in Canada and elsewhere
+ J Leslie Turriff provided information on the stations in Canada
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Modify the generation of weather_stations.desktop so that it is possible
to merge translations into a generated file.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Michele Calgaro
dfde73733d
Removed code formatting modelines.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko
3da95bc474
Simplify CMake rules for desktop file translations.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko
094853ca31
Desktop file translations:
...
+ Creation of POT template for desktop files added to CMakeL10n rules.
+ Added creation of translated desktop files during build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko
fdabfa4682
Add CMakeL10n rules.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
617593fd18
Add includes to UI files to resolve FTBFS
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Michele Calgaro
2446775247
LIB_QT -> LIB_TQT conversion to align to updated admin module
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko
8aedce54f4
KWeather: Add current date to the log entries
...
This relates to bug 2728
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Timothy Pearson
eb7b432f04
Update METAR URL
8 years ago
Timothy Pearson
8464a54022
Fix invalid headers in PNG files and optimize for size
8 years ago
Timothy Pearson
fab9cc48e7
Fix remaining missing semicolons at end of Keywords strings
10 years ago
Timothy Pearson
6774c44e38
Revert "Fix remaining missing semicolons at end of Keywords strings"
...
This reverts commit 995d497ce0
.
10 years ago
Timothy Pearson
995d497ce0
Fix remaining missing semicolons at end of Keywords strings
10 years ago
Timothy Pearson
6debe117a2
Fix missing semicolons at end of Keywords strings
10 years ago
Timothy Pearson
e02ecc366e
Fix ServiceTypes, ExcludeServiceTypes, and DocPath desktop file entries to match XDG specifications
10 years ago
Timothy Pearson
e14abb7d3c
Fix Keywords separators to match XDG desktop specifications
10 years ago
Darrell Anderson
024479c9f8
Fix unintended rename.
11 years ago
Darrell Anderson
3f805bcf62
Fix unintended renaming
11 years ago
Slávek Banko
e24c833060
Additional k => tde renaming and fixes
11 years ago
Timothy Pearson
f58c83bd2a
Rename additional header files to avoid conflicts with KDE4
12 years ago
Timothy Pearson
a002e0879f
Rename common header files for consistency with class renaming
12 years ago
Timothy Pearson
999cb9aee8
Rename KAbout to avoid conflicts with KDE4
12 years ago
Timothy Pearson
0d7d755554
Rename KCmd to avoid conflicts with KDE4
12 years ago