Commit graph

1776 commits

Author SHA1 Message Date
Ivailo Monev
e8d9b56498 gwenview: UIC warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-30 00:04:19 +03:00
Ivailo Monev
868e406cca kget: do not set layout for the error widget of new transfer dialog
it sets and updates its layout, fixes the error widget in general

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-28 16:57:39 +03:00
Ivailo Monev
8f34ebb5ff kget: correct base class of KMessageWidget in newtransferwidget UI file
incorrect since before the fork

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-28 16:49:25 +03:00
Ivailo Monev
f1b2130343 generic: adjust to KLocale changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-26 09:56:25 +03:00
Ivailo Monev
94a4442bd9 gwenview: port to the new KCalendarWidget class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-23 05:52:25 +03:00
Ivailo Monev
81d53fe5a3 kdeplasma-addons: adjust to time zone classes changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-22 04:41:11 +03:00
Ivailo Monev
cb04718ceb generic: adjust to KDateTime changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-21 07:50:30 +03:00
Ivailo Monev
3b29973e71 okular: include now required header in testingutils source file
fixes testing build

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-21 07:43:25 +03:00
Ivailo Monev
1636f17034 kmix: replace KProcess with QProcess
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-21 02:34:53 +03:00
Ivailo Monev
1663b4a7a5 kdeplasma-addons: set the icon of the weather configuration search button
in case the button text is not shown for some reason, also visually
indicating what the button will do

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-17 20:46:11 +03:00
Ivailo Monev
b76f1024c1 kdeplasma-addons: expand the kolourpicker applet color button
to use most of the applet area and make it a bigger drag-n-drop target

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-17 20:39:12 +03:00
Ivailo Monev
8bc68f81c9 kdeplasma-addons: implement drag for kolourpicker applet
now with color dragging!

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-17 20:23:46 +03:00
Ivailo Monev
a7d2cad4a8 kdeplasma-addons: adjust the size of the kolourpicker color button icon based on the button size
otherwise if the applet is resized to, say, 100x100 the icon would be still
16x16 - very small for applet with a 100x100 size

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-17 08:30:43 +03:00
Ivailo Monev
ac1690f9d0 kdeplasma-addons: implement drop for kolourpicker applet
color can be now drag-n-dropped from kcolorchooser for example, dragging
the color that kolourpicker has picked may be implemented in the future

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-17 08:09:15 +03:00
Ivailo Monev
7ca60a87c1 kdeplasma-addons: remove redundant X11 check
side note: X11 library contains the implementation of functions declared
in the Xutil header

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-17 05:52:57 +03:00
Ivailo Monev
6a60591ff2 kdeplasma-addons: use KMessageWidget instead of KMessageBox for the weather configuration error
also not emitting the configValueChanged() signal while searching to not
trigger changes on the weather applet side while that is happening (after
search the source will be changed after selecting location item)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-17 03:33:04 +03:00
Ivailo Monev
38b89a77ad kdeplasma-addons: rework location widget behaviour
by not using the location widget to display error and by not setting the
line edit widget text behind the back of KComboBox a lot of quirks are
fixed

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-17 02:43:48 +03:00
Ivailo Monev
039629b6db kcalc: change the buttons palette instead of using style sheet
plus something to fix (or improve) - when a color is dropped onto
buttons the color is changed but does not persist trough kcalc restart
regardless if custom button color is set or not

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-17 02:08:44 +03:00
Ivailo Monev
94dfed3125 kget: remove borked and disabled panelbar applet
kget usually sits in the tray (on the panel), ready to be clicked

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-17 01:23:44 +03:00
Ivailo Monev
b4c1ff1847 filelight: always use qSin() and qCos() for calculations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-16 20:02:29 +03:00
Ivailo Monev
9eb152aae6 kdeplasma-addons: change the weather location widget index only if the pre-location index is found
when a source is set is not added as item to the location widget (see
WeatherConfig::setSource())

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-16 19:34:58 +03:00
Ivailo Monev
8558ee30fe kdeplasma-addons: use the plasma theme wallpaper as default for weather wallpaper
none of the referenced wallpapers is installed or maintained by Katana

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-16 04:04:25 +03:00
Ivailo Monev
6a6038b3f5 kdeplasma-addons: adjust weather wallpaper to recent changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-16 03:34:54 +03:00
Ivailo Monev
e4b67f8165 kdeplasma-addons: add the default and validated sources to the weather location widget
for reference:
https://github.com/fluxer/katana/issues/26

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-16 03:13:25 +03:00
Ivailo Monev
d42137e272 kdeplasma-addons: emit all valid sources from WeatherLocation
so that all default and validated sources can (potentially, eventually) be
shown in the configuration location widget

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-16 02:26:21 +03:00
Ivailo Monev
573b7e2fa8 kdeplasma-addons: rework weather configuration to validate via specifiec ion
because different applets use data that is provided by different ion, for
example wettercom provides forecast while noaa provides wind conditions.

on a side note noaa uses mostly station names rather than city names so
expect applects that default to noaa ion to require configuration by
default in most cases

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-16 01:44:44 +03:00
Ivailo Monev
94848a3941 kget: do not attempt actions that require network when the KNetworkManager status is unknown
see the following commit kde-workspace repo:
66ad0076b14393b3fe84cc056e329086f2a2b996

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 23:28:44 +03:00
Ivailo Monev
c6604da779 kdeplasma-addons: search for location when return is pressed while the weather location widget has focus
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 20:56:10 +03:00
Ivailo Monev
173699edc7 kdeplasma-addons: fill the weather configuration locations widgets with default (valid) locations
for reference:
https://github.com/fluxer/katana/issues/26

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 20:38:39 +03:00
Ivailo Monev
c52c3b15a8 kdeplasma-addons: sort the geo data by accuracy in WeatherLocation::dataUpdated()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 12:21:53 +03:00
Ivailo Monev
002bf61331 kdeplasma-addons: stop emitting the finished signal of WeatherLocation once a valid source is found
how valid the source is is entirely different thing, more than one
weather source can match a given location (look for "multiple" in the ions
and think why it is a thing)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 11:18:37 +03:00
Ivailo Monev
7bb0c86cf6 kdeplasma-addons: parent the weather validator to the weather location finder
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 11:07:37 +03:00
Ivailo Monev
7f129d6c3e kdeplasma-addons: attempt to validate all locations
out of 4 geolocation data engine providers 3 provide data for the city,
requires the following commit from kde-workspace:
d28608da5bb8b874cad1c6a9b50a5b9bfb358317

for reference:
https://github.com/fluxer/katana/issues/26

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 09:34:45 +03:00
Ivailo Monev
80fa18c5e3 kget: drop mmsthreads transfer plugin
see 702d9b67aaa6ee2d79934c1ab3de2d8d7718c89c in kdelibs

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 02:20:22 +03:00
Ivailo Monev
ceaacbb460 generic: adjust to KUniqueApplication changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-13 18:24:25 +03:00
Ivailo Monev
3edb2cc356 kdeplasma-addons: fix plasmaweather busy timer races
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-12 12:42:53 +03:00
Ivailo Monev
cd3321bf6f kdeplasma-addons: remove unused WeatherConfig::getNewStuff() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-12 12:40:36 +03:00
Ivailo Monev
d68c32f163 kdeplasma-addons: remove unused dict applet bits
because the previous dict data engine source became not a thing the dict
data engine was reimplemented and now supports only english (en)
dictionary, also qstardict is not a valid data engine

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-12 06:51:21 +03:00
Ivailo Monev
353a6dbf0c kdeplasma-addons: drop broken dictionary runner
and the fix is that easy

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-11 06:37:14 +03:00
Ivailo Monev
9b90a8609f kdeplasma-addons: rework the dictionary runner
requires the following commit from kde-workspace:
6cfe505af4ede2843d7faa3d302e09cb171d823d

and because the runner is running in its own thread it is still not
thread-safe, that's something to fix

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-11 04:51:30 +03:00
Ivailo Monev
698d7f49c7 generic: use Solid::PowerManagement for power management
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-09 18:24:04 +03:00
Ivailo Monev
db8a6a3842 generic: do not install kcfg files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-09 05:53:59 +03:00
Ivailo Monev
3cbd1dc700 kget: port to the new knetworkmanager library
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-08 08:54:23 +03:00
Ivailo Monev
d834d633d5 kdeplasma-addons: LCD::Private::checkIfDirty() optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-08 03:20:41 +03:00
Ivailo Monev
2e0739b8f6 kdeplasma-addons: QPainter runtime warning fix
if the LCD widget size is null (QSize(0,0)) then nothing will be painted
even if it is dirty, so it shall remain dirty until the LCD widget size
is not null

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-08 03:17:18 +03:00
Ivailo Monev
4e802a2250 kdeplasma: remove redundant dict applet style sheet override
Plasma::TextBrowser palette is already set and updated internally, the
dictionary data engine does not add links too (unless the example or
definition itself contains such)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-08 01:58:30 +03:00
Ivailo Monev
e9f147de3d kdeplasma-addons: fix dict applet theme synchronization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-08 01:43:11 +03:00
Ivailo Monev
f0935b19ec gwenview: remove now redundant KExiv2Property checks
see 3521d07234beab1822bc7e30f5bdf451a5cebc3c in kdelibs repo

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-07 23:39:34 +03:00
Ivailo Monev
65248f8b71 kget: fix possible miscalculation of elapsed time due to clock jumps
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-07 22:44:40 +03:00
Ivailo Monev
4698f77414 gwenview: apply style sheet override selectively
because KUrlRequested creates a KFileDialog parented to it, inheriting the
style sheet for example

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-07 22:16:34 +03:00