summaryrefslogtreecommitdiffstats
path: root/kweather
Commit message (Collapse)AuthorAgeFilesLines
* Replace Q_SIGNALS and Q_SLOTSMichele Calgaro2024-02-051-2/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT definesMichele Calgaro2024-01-1411-39/+39
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace various '#define' strings - part 6Michele Calgaro2023-12-212-3/+3
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace Qt with TQtMichele Calgaro2023-11-083-5/+5
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace TQ_*Focus* and TQ_Scale* definesMichele Calgaro2023-09-021-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace Q_OBJECT with TQ_OBJECTMichele Calgaro2023-07-2012-12/+12
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* KWeather: improve icon loading and other fixesMavridis Philippe2023-06-1412-202/+252
| | | | | | | | | | | | | - 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>
* WeatherLib: initialize correct icon settingMavridis Philippe2022-01-141-0/+7
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* KWeather: Try another icon for Service settingsMavridis Philippe2022-01-141-1/+1
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Sidebar: enforce icon update after settings changeMavridis Philippe2022-01-141-1/+8
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* KWeather: Place Service section before StationsMavridis Philippe2022-01-141-1/+1
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Code style improvements.Mavridis Philippe2022-01-143-8/+12
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Move useIconTheme DCOP call into kcmweatherservice.Mavridis Philippe2022-01-144-20/+18
| | | | | | | 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>
* KWeather: Split Display module in two sumbodulesMavridis Philippe2022-01-1417-346/+647
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Force all stations to update.Mavridis Philippe2022-01-141-1/+3
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* WeatherService: Added forceUpdateAll() function.Mavridis Philippe2022-01-142-2/+12
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* prefdialogfdata.ui: wording changesMavridis Philippe2022-01-141-3/+3
| | | | | | according to recommendations. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Refine kdDebug() calls according to recommendations.Mavridis Philippe2022-01-141-5/+5
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Rename getIcon(...) to saveIconNamePath(...)Mavridis Philippe2022-01-142-28/+28
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Preference dialog fixes.Mavridis Philippe2022-01-141-15/+5
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Implemented icon theme option.Mavridis Philippe2022-01-1412-100/+274
| | | | | | | | | | | | | 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>
* KWeather: Added fallbacks to "weather-snow"Mavridis Philippe2022-01-141-1/+7
| | | | | | | For themes missing the (specified by XDG) weather-snow-scattered icon. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* KWeather: Use TDEIconLoader with absolute path to load icons.Mavridis Philippe2022-01-141-3/+4
| | | | | | This provides us with free built-in SVG support. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* KWeather: improved fallback mechanism.Mavridis Philippe2022-01-143-67/+294
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* KWeather: remove clouds < 0 case.Mavridis Philippe2022-01-141-3/+0
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* KWeather: Use brackets block for better readabilityMavridis Philippe2022-01-141-0/+2
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* KWeather: Fixed commentsMavridis Philippe2022-01-141-2/+2
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* KWeather: Better icon name string handling.Mavridis Philippe2022-01-141-7/+14
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* KWeather: Fixed fallback to default iconsMavridis Philippe2022-01-141-1/+1
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* KWeather: support for weather icons from icon theme.Mavridis Philippe2022-01-142-4/+11
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* KWeather: updated icon name in DockWidget classMavridis Philippe2022-01-141-1/+1
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* KWeather: updated icon handling.Mavridis Philippe2022-01-146-41/+245
| | | | | | | | 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>
* KWeather: use glob to find and install weather iconsMavridis Philippe2022-01-141-12/+4
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Renamed KWeather icons to adhere to icon theme standards.Mavridis Philippe2022-01-1438-0/+0
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Replaced 'includehints' with 'includes' in *.ui files.Michele Calgaro2022-01-091-4/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* kweather sidebar: correctly initialize variables. This fixes issue #15.Michele Calgaro2021-11-012-2/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Remove unwanted end spaces in kweather-stations.desktop.Slávek Banko2021-09-101-2/+2
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* KWeather Sidebar: timer fixesMavridis Philippe2021-08-292-10/+8
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* KWeather Konqueror sidebar revivalMavridis Philippe2021-08-2912-200/+251
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* cmake: a couple of small fixesAlexander Golubev2021-02-271-0/+5
| | | | | | | * Fix project name * Add explicit dependencies for a custom command in kweather Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Do not list files that are part of the source code as DEPENDS.Slávek Banko2021-01-291-2/+0
| | | | | | This resolves FTBS, which may occur due to commit 07d616b7e2. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Resolve ambiguous station namesEmanoil Kotsev2021-01-271-224/+224
| | | | Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
* Generate kweather station information files during the build phaseSlávek Banko2021-01-271-1/+4
| | | | | | instead of the configuration phase. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* kweather: Improve station list processingEmanoil Kotsev2021-01-248-4063/+6484
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + 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>
* Removed code formatting modelines.Michele Calgaro2020-09-285-12/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Simplify CMake rules for desktop file translations.Slávek Banko2020-07-091-9/+6
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Desktop file translations:Slávek Banko2020-05-148-625/+28
| | | | | | | + 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>
* Add CMakeL10n rules.Slávek Banko2018-12-221-0/+3
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Add includes to UI files to resolve FTBFSSlávek Banko2018-09-212-8/+6
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* LIB_QT -> LIB_TQT conversion to align to updated admin moduleMichele Calgaro2018-09-171-3/+3
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>