OSDN Git Service

kde/kde-extraapps.git
10 months agoktimer: drop it
Ivailo Monev [Wed, 20 Sep 2023 12:01:41 +0000 (15:01 +0300)]
ktimer: drop it

there is plasma applet that does the same, bye!

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: fix initial speed and visibility unit setup of WeatherConfig
Ivailo Monev [Wed, 20 Sep 2023 11:14:28 +0000 (14:14 +0300)]
kdeplasma-addons: fix initial speed and visibility unit setup of WeatherConfig

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: reimplement calculator applet and move it to kde-workspace repo
Ivailo Monev [Mon, 18 Sep 2023 20:26:21 +0000 (23:26 +0300)]
kdeplasma-addons: reimplement calculator applet and move it to kde-workspace repo

because there are two applets that essentially do the same and there is
also the kcalc application one of the applets (qalculate) is dropped

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: remove borked groupingdesktop containment
Ivailo Monev [Mon, 18 Sep 2023 13:33:49 +0000 (16:33 +0300)]
kdeplasma-addons: remove borked groupingdesktop containment

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: new pexels POTD provider
Ivailo Monev [Sat, 16 Sep 2023 11:06:23 +0000 (14:06 +0300)]
kdeplasma-addons: new pexels POTD provider

requires the following commit from kdelibs:
552d89425b81d7999c08e867a98c95a673f90b4d

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: drop epod POTD provider
Ivailo Monev [Sat, 16 Sep 2023 09:43:16 +0000 (12:43 +0300)]
kdeplasma-addons: drop epod POTD provider

I fixed once, fixed it second time but now all queries that are not made
from web browser (including attempt to download via curl) fail with
access denied. bye then!

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: drop audioplayercontrol runner and nowplaying applet
Ivailo Monev [Sat, 16 Sep 2023 08:54:51 +0000 (11:54 +0300)]
kdeplasma-addons: drop audioplayercontrol runner and nowplaying applet

if the interfaces are not even introspectable (e.g. chromium) and borked
then the follwing happens - I will simply say no, show them the middle
finger and move on

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: const-ify variable in KonsoleProfilesWidget::slotProfileClicked()
Ivailo Monev [Sat, 16 Sep 2023 05:13:42 +0000 (08:13 +0300)]
kdeplasma-addons: const-ify variable in KonsoleProfilesWidget::slotProfileClicked()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: add label for when no profiles can be found, do not set preferred...
Ivailo Monev [Sat, 16 Sep 2023 04:29:40 +0000 (07:29 +0300)]
kdeplasma-addons: add label for when no profiles can be found, do not set preferred size

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: handle Plasma::FormFactor::Application in ShowDesktop::sizeHint()
Ivailo Monev [Fri, 15 Sep 2023 17:50:19 +0000 (20:50 +0300)]
kdeplasma-addons: handle Plasma::FormFactor::Application in ShowDesktop::sizeHint()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: simplify konsoleprofiles size hints management
Ivailo Monev [Fri, 15 Sep 2023 10:42:15 +0000 (13:42 +0300)]
kdeplasma-addons: simplify konsoleprofiles size hints management

see the following commit in the kde-workspace repo:
e695a67ae9d9ac5d03c4d3540a111f9133b04828

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: do not register the showdesktop applet icon as drag handle
Ivailo Monev [Fri, 15 Sep 2023 03:00:50 +0000 (06:00 +0300)]
kdeplasma-addons: do not register the showdesktop applet icon as drag handle

the feature to minimize on drag can be implemented by sub-classing
Plasma::IconWidget but I dont need that kind of feature and it was borked

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: format and indent
Ivailo Monev [Fri, 15 Sep 2023 02:46:56 +0000 (05:46 +0300)]
kdeplasma-addons: format and indent

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: set konsoleprofiles applet preferred size based on form factor
Ivailo Monev [Fri, 15 Sep 2023 02:21:16 +0000 (05:21 +0300)]
kdeplasma-addons: set konsoleprofiles applet preferred size based on form factor

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: reimplement konsoleprofiles applet
Ivailo Monev [Thu, 14 Sep 2023 16:29:53 +0000 (19:29 +0300)]
kdeplasma-addons: reimplement konsoleprofiles applet

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agokdeplasma-addons: remove redundant Plasma::WidgetExplorer forward-declaration
Ivailo Monev [Sun, 10 Sep 2023 01:41:55 +0000 (04:41 +0300)]
kdeplasma-addons: remove redundant Plasma::WidgetExplorer forward-declaration

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
10 months agogwenview: adjust to solid actions changes
Ivailo Monev [Fri, 8 Sep 2023 16:28:21 +0000 (19:28 +0300)]
gwenview: adjust to solid actions changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokvkbd: port to the new KKeyboardLayout class
Ivailo Monev [Tue, 5 Sep 2023 15:35:15 +0000 (18:35 +0300)]
kvkbd: port to the new KKeyboardLayout class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokdeplasma-addons: remove declaration of non-existing BackgroundListModel::removeBackg...
Ivailo Monev [Fri, 1 Sep 2023 21:06:23 +0000 (00:06 +0300)]
kdeplasma-addons: remove declaration of non-existing BackgroundListModel::removeBackground() method

fixes loading of the weather wallpaper plugin when symbols are not lazily
binded

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokdeplasma-addons: remove old taskmanagerrc config support bits
Ivailo Monev [Fri, 1 Sep 2023 19:53:56 +0000 (22:53 +0300)]
kdeplasma-addons: remove old taskmanagerrc config support bits

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokmix: correct icon for KDED module
Ivailo Monev [Thu, 31 Aug 2023 20:44:21 +0000 (23:44 +0300)]
kmix: correct icon for KDED module

incorrect since before the fork

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokemu: adjust to kded changes
Ivailo Monev [Thu, 31 Aug 2023 20:43:45 +0000 (23:43 +0300)]
kemu: adjust to kded changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokdeplasma-addons: do not suspend startup from virus wallpaper
Ivailo Monev [Thu, 31 Aug 2023 16:51:02 +0000 (19:51 +0300)]
kdeplasma-addons: do not suspend startup from virus wallpaper

done by plasma-desktop itself, see:
kde-workspace/plasma/shells/plasma-desktop/plasmaapp.cpp

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: adjust to kparts changes
Ivailo Monev [Thu, 31 Aug 2023 02:02:50 +0000 (05:02 +0300)]
generic: adjust to kparts changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: adjust to kparts changes
Ivailo Monev [Thu, 31 Aug 2023 01:27:42 +0000 (04:27 +0300)]
generic: adjust to kparts changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agoksnapshot: use the same pixmap size as KPixmapWidget for the drag
Ivailo Monev [Wed, 30 Aug 2023 19:17:35 +0000 (22:17 +0300)]
ksnapshot: use the same pixmap size as KPixmapWidget for the drag

because the preview pixmap size depends on the size of ksnapshot itself
it may be very big and the drag pixmap itself may be big covering way too
much screen space if not down-scaled to a reasonable size

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokdeplasma-addons: pass the data size to QString constructor in ApodProvider::Private...
Ivailo Monev [Wed, 30 Aug 2023 18:49:01 +0000 (21:49 +0300)]
kdeplasma-addons: pass the data size to QString constructor in ApodProvider::Private::pageRequestFinished() and EpodProvider::Private::pageRequestFinished()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: create key sequence objects from the key enums
Ivailo Monev [Wed, 30 Aug 2023 17:56:41 +0000 (20:56 +0300)]
generic: create key sequence objects from the key enums

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agogeneric: replace QLabel with the new KPixmapWidget class
Ivailo Monev [Wed, 30 Aug 2023 13:42:48 +0000 (16:42 +0300)]
generic: replace QLabel with the new KPixmapWidget class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 months agokdeplasma-addons: remove now redundant version check
Ivailo Monev [Mon, 28 Aug 2023 18:03:25 +0000 (21:03 +0300)]
kdeplasma-addons: remove now redundant version check

the minimum Katie version is 4.14.0 now, see the following commit in the
kdelibs repo:
e7823a048493a1fbbcc93c5f71d4a39622eb6b55

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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

11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>