OSDN Git Service

kde/kde-extraapps.git
9 months agokget: remove useless DESIGN file
Ivailo Monev [Sun, 27 Aug 2023 00:15:13 +0000 (03:15 +0300)]
kget: remove useless DESIGN file

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agokget: adjust to KNotification changes
Ivailo Monev [Sat, 26 Aug 2023 19:06:45 +0000 (22:06 +0300)]
kget: adjust to KNotification changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agogeneric: adjust to KNotification changes
Ivailo Monev [Fri, 25 Aug 2023 05:17:25 +0000 (08:17 +0300)]
generic: adjust to KNotification changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agokget: remove unused KPassivePopup header inclusions
Ivailo Monev [Thu, 24 Aug 2023 14:23:46 +0000 (17:23 +0300)]
kget: remove unused KPassivePopup header inclusions

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agogeneric: add X-KDE-HasTrayOption to .desktop files
Ivailo Monev [Thu, 24 Aug 2023 13:58:40 +0000 (16:58 +0300)]
generic: add X-KDE-HasTrayOption to .desktop files

note that some applications (e.g. kvkbd, kget, kmix, ktimer, etc.) use
custom status notifier

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agokdeplasma-addons: remove non-operational incommingmsg bits
Ivailo Monev [Thu, 24 Aug 2023 00:57:25 +0000 (03:57 +0300)]
kdeplasma-addons: remove non-operational incommingmsg bits

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agokvkbd: port to KStatusNotifierItem
Ivailo Monev [Wed, 23 Aug 2023 23:44:12 +0000 (02:44 +0300)]
kvkbd: port to KStatusNotifierItem

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agokget: show the main window when a new (second) instance is requested
Ivailo Monev [Tue, 22 Aug 2023 01:55:55 +0000 (08:55 +0700)]
kget: show the main window when a new (second) instance is requested

like any other KUniqueApplication instance

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agokget: remove stub org.kde.kget.main interface method
Ivailo Monev [Sat, 19 Aug 2023 23:32:35 +0000 (02:32 +0300)]
kget: remove stub org.kde.kget.main interface method

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agokget: remove unused BitSet class
Ivailo Monev [Sat, 19 Aug 2023 23:29:10 +0000 (02:29 +0300)]
kget: remove unused BitSet class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agogeneric: explicitly enable startup notification for all applications that support it
Ivailo Monev [Sat, 19 Aug 2023 21:41:30 +0000 (00:41 +0300)]
generic: explicitly enable startup notification for all applications that support it

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agopartitionmanager: adjust to KLocalizedString changes
Ivailo Monev [Sat, 19 Aug 2023 20:19:26 +0000 (23:19 +0300)]
partitionmanager: adjust to KLocalizedString changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agogeneric: preperations for kdelibs changes
Ivailo Monev [Sat, 19 Aug 2023 16:34:25 +0000 (19:34 +0300)]
generic: preperations for kdelibs changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agokdeplasma-addons: adjust calculator applet to KLocale changes
Ivailo Monev [Fri, 18 Aug 2023 16:34:42 +0000 (19:34 +0300)]
kdeplasma-addons: adjust calculator applet to KLocale changes

requires ee10c1a6c3a2037421df7b4b0f4b190aecee9ed2 from kde-workspace

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agogeneric: replace X-KDE-StartupNotify with StartupNotify
Ivailo Monev [Fri, 18 Aug 2023 02:12:33 +0000 (05:12 +0300)]
generic: replace X-KDE-StartupNotify with StartupNotify

see the following commit in kde-workspace repo:
f1f6ae7a3ec35e289df1f45cd47e71bd3c696fbe

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agopartitionmanager: adjust to KLocalizedString changes
Ivailo Monev [Thu, 17 Aug 2023 21:56:50 +0000 (00:56 +0300)]
partitionmanager: adjust to KLocalizedString changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agopartitionmanager: adjust to KLocalizedString changes
Ivailo Monev [Thu, 17 Aug 2023 21:36:18 +0000 (00:36 +0300)]
partitionmanager: adjust to KLocalizedString changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agoark: adjust to KLocalizedString changes
Ivailo Monev [Thu, 17 Aug 2023 20:41:32 +0000 (23:41 +0300)]
ark: adjust to KLocalizedString changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agoabout-distro: adjust to KLocalizedString changes
Ivailo Monev [Thu, 17 Aug 2023 19:22:45 +0000 (22:22 +0300)]
about-distro: adjust to KLocalizedString changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agokdeplasma-addons: implement resize method for potd wallpaper plugin
Ivailo Monev [Tue, 15 Aug 2023 23:07:12 +0000 (02:07 +0300)]
kdeplasma-addons: implement resize method for potd wallpaper plugin

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agokdeplasma-addons: use jpg as extensions for the flickr POTD provider image URL
Ivailo Monev [Tue, 15 Aug 2023 19:53:37 +0000 (22:53 +0300)]
kdeplasma-addons: use jpg as extensions for the flickr POTD provider image URL

while the URL is valid the image is jpg regardless (not png, go figure)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agokdeplasma-addons: manually delete the flickr POTD provider jobs
Ivailo Monev [Tue, 15 Aug 2023 19:28:38 +0000 (22:28 +0300)]
kdeplasma-addons: manually delete the flickr POTD provider jobs

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agokdeplasma-addons: request large images from flickr POTD provider
Ivailo Monev [Tue, 15 Aug 2023 18:11:03 +0000 (21:11 +0300)]
kdeplasma-addons: request large images from flickr POTD provider

the default is medium which is not very suitable for wallpaper on large
screen, unfortunately larger sizes can be restricted by owner apparently
making requests for larger sizes unreliable. for reference:
https://www.flickr.com/services/api/misc.urls.html

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agokdeplasma-addons: adjust default plasmaweather visibility unit
Ivailo Monev [Tue, 15 Aug 2023 13:59:21 +0000 (16:59 +0300)]
kdeplasma-addons: adjust default plasmaweather visibility unit

the new unit conversion class (KLength, replaced KUnitConversion some time
ago) does not accept "ml"

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agokdeplasma-addons: correct weatherstation "Icon" metadata entry
Ivailo Monev [Tue, 15 Aug 2023 12:54:03 +0000 (15:54 +0300)]
kdeplasma-addons: correct weatherstation "Icon" metadata entry

copy-pasta by someone?

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agogeneric: adjust to KDateTime removal
Ivailo Monev [Mon, 14 Aug 2023 20:15:36 +0000 (23:15 +0300)]
generic: adjust to KDateTime removal

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agokdeplasma-addons: unload the data engines from WeatherPopupApplet destructor
Ivailo Monev [Mon, 14 Aug 2023 12:39:48 +0000 (15:39 +0300)]
kdeplasma-addons: unload the data engines from WeatherPopupApplet destructor

because the data engines are not parented to anything the destruction
happens too late otherwise and triggers fatal message in
Plasma::DataEngineManager that it is accessed after destruction

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agokdeplasma-addons: sync BackgroundListModel copy
Ivailo Monev [Fri, 11 Aug 2023 22:04:41 +0000 (01:04 +0300)]
kdeplasma-addons: sync BackgroundListModel copy

copy of:
kde-workspace/plasma/wallpapers/image/backgroundlistmodel.cpp

with minor changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agokdeplasma-addons: correct potd wallpaper library name
Ivailo Monev [Fri, 11 Aug 2023 21:22:59 +0000 (00:22 +0300)]
kdeplasma-addons: correct potd wallpaper library name

incorrect since before the fork

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agoMerge branch 'master' of ssh://bitbucket.org/smil3y/kde-extraapps
Ivailo Monev [Fri, 11 Aug 2023 17:14:28 +0000 (20:14 +0300)]
Merge branch 'master' of ssh://bitbucket.org/smil3y/kde-extraapps

9 months agogeneric: remove useless AUTHORS files
Ivailo Monev [Fri, 11 Aug 2023 17:13:07 +0000 (20:13 +0300)]
generic: remove useless AUTHORS files

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agokcalc: remove redundant kde4_install_icons() macro call
Ivailo Monev [Fri, 11 Aug 2023 12:52:11 +0000 (15:52 +0300)]
kcalc: remove redundant kde4_install_icons() macro call

no icons in the directory thus nothing to install

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agokdeplasma-addons: adjust to KAboutData changes
Ivailo Monev [Thu, 10 Aug 2023 17:12:06 +0000 (20:12 +0300)]
kdeplasma-addons: adjust to KAboutData changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agogeneric: adjust to KAboutData changes
Ivailo Monev [Thu, 10 Aug 2023 15:37:16 +0000 (18:37 +0300)]
generic: adjust to KAboutData changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
9 months agogeneric: remove dead and irrelevant links references
Ivailo Monev [Thu, 10 Aug 2023 12:51:43 +0000 (15:51 +0300)]
generic: remove dead and irrelevant links references

svn repository reference? good luck getting source code from there..

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agookular: adjust to KGlobalSettings changes
Ivailo Monev [Wed, 9 Aug 2023 00:59:50 +0000 (03:59 +0300)]
okular: adjust to KGlobalSettings changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokget: remove unused plasma-runner-kget_config.desktop file
Ivailo Monev [Tue, 8 Aug 2023 20:08:07 +0000 (23:08 +0300)]
kget: remove unused plasma-runner-kget_config.desktop file

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokget: reject URLs without filename from UrlChecker
Ivailo Monev [Tue, 8 Aug 2023 19:57:49 +0000 (22:57 +0300)]
kget: reject URLs without filename from UrlChecker

this will reject URLs such as https://foobar.com/ because kget cannot
handle such even tho KIO can get the page content (without the filename
component there is no telling what kget should save the URLs as, the
destination has to completed with filename manually)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokget: use GET instead of POST method for requests
Ivailo Monev [Tue, 8 Aug 2023 18:29:16 +0000 (21:29 +0300)]
kget: use GET instead of POST method for requests

KHTTP rejects anything but GET or HEAD, see the following commit in the
kdelibs repo:
362b80c063948406c1de1d74c5e3e77dbd27a9ed

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokget: adjust to KUrl changes
Ivailo Monev [Tue, 8 Aug 2023 16:46:51 +0000 (19:46 +0300)]
kget: adjust to KUrl changes

KUrl::upUrl() does not simply remove the filename component of the URL
now, KUrl::directory() does that (as it should)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agookular: use KImageIO::typeForMime() to get the format for the image that is saved
Ivailo Monev [Tue, 8 Aug 2023 15:01:24 +0000 (18:01 +0300)]
okular: use KImageIO::typeForMime() to get the format for the image that is saved

much more reliable than assuming that the plugin to be used matches the
end of the mime type

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agogeneric: adjust to KImageIO changes
Ivailo Monev [Tue, 8 Aug 2023 14:58:45 +0000 (17:58 +0300)]
generic: adjust to KImageIO changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokrdc: remove unused kcfg group
Ivailo Monev [Tue, 8 Aug 2023 12:24:45 +0000 (15:24 +0300)]
krdc: remove unused kcfg group

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: use the package metadata to get the package name in qmlwallpapers...
Ivailo Monev [Tue, 8 Aug 2023 12:12:00 +0000 (15:12 +0300)]
kdeplasma-addons: use the package metadata to get the package name in qmlwallpapers plugin

much more reliable than chopping the path into pieces to figure out the
package name. also because KGlobal::dirs()->findDirs() returns paths with
trailing slash the previous method was returning empty string

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: create kolourpicket applet icon without QIconEngine reimplementation
Ivailo Monev [Tue, 8 Aug 2023 09:20:50 +0000 (12:20 +0300)]
kdeplasma-addons: create kolourpicket applet icon without QIconEngine reimplementation

functionally the same except that it is not bound to the QIconEngine class
and if QIconEngine changes it does not have to be adjusted

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agogeneric: adjust to Katie changes
Ivailo Monev [Sun, 6 Aug 2023 22:33:45 +0000 (01:33 +0300)]
generic: adjust to Katie changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokmix: someone's typos
Ivailo Monev [Sat, 5 Aug 2023 16:35:26 +0000 (19:35 +0300)]
kmix: someone's typos

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: match the untranslated terms as fallback in runners
Ivailo Monev [Fri, 4 Aug 2023 03:20:29 +0000 (06:20 +0300)]
kdeplasma-addons: match the untranslated terms as fallback in runners

see the following commit in kde-workspace repo:
9c2fb0b928746ec94fb56022a473de2cf81f9945

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: set the minimum time to 1sec for timer and frame applet
Ivailo Monev [Thu, 3 Aug 2023 04:39:54 +0000 (07:39 +0300)]
kdeplasma-addons: set the minimum time to 1sec for timer and frame applet

where zero time timers do not make sense, e.g. when the frame applet
slideshow should be updated (never updating the slideshow automatically
could be a feature because the frame shows arrows to switch between images
but zero time for the slideshow is not handled by the frame applet)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: port to the new KTimeEdit class
Ivailo Monev [Wed, 2 Aug 2023 10:18:15 +0000 (13:18 +0300)]
kdeplasma-addons: port to the new KTimeEdit class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: adjust to Katie changes
Ivailo Monev [Wed, 2 Aug 2023 01:11:42 +0000 (04:11 +0300)]
kdeplasma-addons: adjust to Katie changes

includes seconds handling for frame applet auto-update feature

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: fix regression since 87247ceaca9cb0cf99372df9dd9a14c3b443fe5a
Ivailo Monev [Wed, 2 Aug 2023 01:01:44 +0000 (04:01 +0300)]
kdeplasma-addons: fix regression since 87247ceaca9cb0cf99372df9dd9a14c3b443fe5a

KImageIO::pattern() returns pattern for use in QFileDialog (glob and MIME
comment included) which is not valid filter for QDirIterator

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agookular: handle negative dates in okularTime() function
Ivailo Monev [Tue, 1 Aug 2023 04:00:06 +0000 (04:00 +0000)]
okular: handle negative dates in okularTime() function

poppler::get_creation_date() and the other date-related functions are not
documented to return such but it happens

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agothumbnailers: handle compressed PDF files
Ivailo Monev [Tue, 1 Aug 2023 03:17:10 +0000 (03:17 +0000)]
thumbnailers: handle compressed PDF files

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agookular: remove application/x-wwf from poppler generator MIME types
Ivailo Monev [Tue, 1 Aug 2023 03:00:36 +0000 (03:00 +0000)]
okular: remove application/x-wwf from poppler generator MIME types

looks obsolete to me, I doubt poppler can even open it

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agogeneric: replace QVarLengthArray<T> with std::vector<T>
Ivailo Monev [Sun, 30 Jul 2023 18:58:58 +0000 (18:58 +0000)]
generic: replace QVarLengthArray<T> with std::vector<T>

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokrfb: remove unused krfbconfig header inclusion
Ivailo Monev [Sun, 30 Jul 2023 02:42:41 +0000 (05:42 +0300)]
krfb: remove unused krfbconfig header inclusion

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agogwenview: UIC warning fix
Ivailo Monev [Sat, 29 Jul 2023 21:04:19 +0000 (00:04 +0300)]
gwenview: UIC warning fix

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokget: do not set layout for the error widget of new transfer dialog
Ivailo Monev [Fri, 28 Jul 2023 13:57:39 +0000 (16:57 +0300)]
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>
10 months agokget: correct base class of KMessageWidget in newtransferwidget UI file
Ivailo Monev [Fri, 28 Jul 2023 13:49:25 +0000 (16:49 +0300)]
kget: correct base class of KMessageWidget in newtransferwidget UI file

incorrect since before the fork

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agogeneric: adjust to KLocale changes
Ivailo Monev [Wed, 26 Jul 2023 06:56:25 +0000 (09:56 +0300)]
generic: adjust to KLocale changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agogwenview: port to the new KCalendarWidget class
Ivailo Monev [Sun, 23 Jul 2023 02:52:25 +0000 (05:52 +0300)]
gwenview: port to the new KCalendarWidget class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: adjust to time zone classes changes
Ivailo Monev [Sat, 22 Jul 2023 01:41:11 +0000 (04:41 +0300)]
kdeplasma-addons: adjust to time zone classes changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agogeneric: adjust to KDateTime changes
Ivailo Monev [Fri, 21 Jul 2023 04:50:30 +0000 (07:50 +0300)]
generic: adjust to KDateTime changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agookular: include now required header in testingutils source file
Ivailo Monev [Fri, 21 Jul 2023 04:43:25 +0000 (07:43 +0300)]
okular: include now required header in testingutils source file

fixes testing build

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokmix: replace KProcess with QProcess
Ivailo Monev [Thu, 20 Jul 2023 23:34:53 +0000 (02:34 +0300)]
kmix: replace KProcess with QProcess

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: set the icon of the weather configuration search button
Ivailo Monev [Mon, 17 Jul 2023 17:46:11 +0000 (20:46 +0300)]
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>
10 months agokdeplasma-addons: expand the kolourpicker applet color button
Ivailo Monev [Mon, 17 Jul 2023 17:39:12 +0000 (20:39 +0300)]
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>
10 months agokdeplasma-addons: implement drag for kolourpicker applet
Ivailo Monev [Mon, 17 Jul 2023 17:23:46 +0000 (20:23 +0300)]
kdeplasma-addons: implement drag for kolourpicker applet

now with color dragging!

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: adjust the size of the kolourpicker color button icon based on...
Ivailo Monev [Mon, 17 Jul 2023 05:30:43 +0000 (08:30 +0300)]
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>
10 months agokdeplasma-addons: implement drop for kolourpicker applet
Ivailo Monev [Mon, 17 Jul 2023 05:09:15 +0000 (08:09 +0300)]
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>
10 months agokdeplasma-addons: remove redundant X11 check
Ivailo Monev [Mon, 17 Jul 2023 02:52:55 +0000 (05:52 +0300)]
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>
10 months agokdeplasma-addons: use KMessageWidget instead of KMessageBox for the weather configura...
Ivailo Monev [Mon, 17 Jul 2023 00:33:04 +0000 (03:33 +0300)]
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>
10 months agokdeplasma-addons: rework location widget behaviour
Ivailo Monev [Sun, 16 Jul 2023 23:43:48 +0000 (02:43 +0300)]
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>
10 months agokcalc: change the buttons palette instead of using style sheet
Ivailo Monev [Sun, 16 Jul 2023 23:05:25 +0000 (02:05 +0300)]
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>
10 months agokget: remove borked and disabled panelbar applet
Ivailo Monev [Sun, 16 Jul 2023 22:23:08 +0000 (01:23 +0300)]
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>
10 months agofilelight: always use qSin() and qCos() for calculations
Ivailo Monev [Sun, 16 Jul 2023 17:02:29 +0000 (20:02 +0300)]
filelight: always use qSin() and qCos() for calculations

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: change the weather location widget index only if the pre-location...
Ivailo Monev [Sun, 16 Jul 2023 16:34:58 +0000 (19:34 +0300)]
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>
10 months agokdeplasma-addons: use the plasma theme wallpaper as default for weather wallpaper
Ivailo Monev [Sun, 16 Jul 2023 01:01:53 +0000 (04:01 +0300)]
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>
10 months agokdeplasma-addons: adjust weather wallpaper to recent changes
Ivailo Monev [Sun, 16 Jul 2023 00:34:54 +0000 (03:34 +0300)]
kdeplasma-addons: adjust weather wallpaper to recent changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: add the default and validated sources to the weather location widget
Ivailo Monev [Sun, 16 Jul 2023 00:12:53 +0000 (03:12 +0300)]
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>
10 months agokdeplasma-addons: emit all valid sources from WeatherLocation
Ivailo Monev [Sat, 15 Jul 2023 23:26:21 +0000 (02:26 +0300)]
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>
10 months agokdeplasma-addons: rework weather configuration to validate via specifiec ion
Ivailo Monev [Sat, 15 Jul 2023 22:44:44 +0000 (01:44 +0300)]
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>
10 months agokget: do not attempt actions that require network when the KNetworkManager status...
Ivailo Monev [Sat, 15 Jul 2023 20:28:44 +0000 (23:28 +0300)]
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>
10 months agokdeplasma-addons: search for location when return is pressed while the weather locati...
Ivailo Monev [Sat, 15 Jul 2023 17:56:10 +0000 (20:56 +0300)]
kdeplasma-addons: search for location when return is pressed while the weather location widget has focus

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: fill the weather configuration locations widgets with default ...
Ivailo Monev [Sat, 15 Jul 2023 17:38:39 +0000 (20:38 +0300)]
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>
10 months agokdeplasma-addons: sort the geo data by accuracy in WeatherLocation::dataUpdated()
Ivailo Monev [Sat, 15 Jul 2023 09:21:53 +0000 (12:21 +0300)]
kdeplasma-addons: sort the geo data by accuracy in WeatherLocation::dataUpdated()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: stop emitting the finished signal of WeatherLocation once a valid...
Ivailo Monev [Sat, 15 Jul 2023 08:18:37 +0000 (11:18 +0300)]
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>
10 months agokdeplasma-addons: parent the weather validator to the weather location finder
Ivailo Monev [Sat, 15 Jul 2023 07:43:00 +0000 (10:43 +0300)]
kdeplasma-addons: parent the weather validator to the weather location finder

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: attempt to validate all locations
Ivailo Monev [Sat, 15 Jul 2023 06:34:45 +0000 (09:34 +0300)]
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>
10 months agokget: drop mmsthreads transfer plugin
Ivailo Monev [Fri, 14 Jul 2023 23:20:11 +0000 (02:20 +0300)]
kget: drop mmsthreads transfer plugin

see 702d9b67aaa6ee2d79934c1ab3de2d8d7718c89c in kdelibs

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agogeneric: adjust to KUniqueApplication changes
Ivailo Monev [Thu, 13 Jul 2023 14:42:02 +0000 (17:42 +0300)]
generic: adjust to KUniqueApplication changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: fix plasmaweather busy timer races
Ivailo Monev [Wed, 12 Jul 2023 09:42:53 +0000 (12:42 +0300)]
kdeplasma-addons: fix plasmaweather busy timer races

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: remove unused WeatherConfig::getNewStuff() method
Ivailo Monev [Wed, 12 Jul 2023 09:40:36 +0000 (12:40 +0300)]
kdeplasma-addons: remove unused WeatherConfig::getNewStuff() method

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: remove unused dict applet bits
Ivailo Monev [Wed, 12 Jul 2023 03:47:49 +0000 (06:47 +0300)]
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>
10 months agokdeplasma-addons: drop broken dictionary runner
Ivailo Monev [Tue, 11 Jul 2023 03:37:10 +0000 (06:37 +0300)]
kdeplasma-addons: drop broken dictionary runner

and the fix is that easy

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: rework the dictionary runner
Ivailo Monev [Tue, 11 Jul 2023 01:51:27 +0000 (04:51 +0300)]
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>
10 months agogeneric: use Solid::PowerManagement for power management
Ivailo Monev [Sun, 9 Jul 2023 15:24:04 +0000 (18:24 +0300)]
generic: use Solid::PowerManagement for power management

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: do not install kcfg files
Ivailo Monev [Sun, 9 Jul 2023 02:53:59 +0000 (05:53 +0300)]
generic: do not install kcfg files

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokget: port to the new knetworkmanager library
Ivailo Monev [Sat, 8 Jul 2023 05:54:23 +0000 (08:54 +0300)]
kget: port to the new knetworkmanager library

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>