Commit graph

1602 commits

Author SHA1 Message Date
Ivailo Monev
a973673c4a 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>
2023-08-11 15:52:11 +03:00
Ivailo Monev
4ee4066a24 kdeplasma-addons: adjust to KAboutData changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-10 20:12:06 +03:00
Ivailo Monev
cfacd7c404 generic: adjust to KAboutData changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-10 18:37:16 +03:00
Ivailo Monev
7af8047900 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>
2023-08-10 16:01:25 +03:00
Ivailo Monev
863be40cb0 okular: adjust to KGlobalSettings changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-09 03:59:50 +03:00
Ivailo Monev
a4e6918c7c kget: remove unused plasma-runner-kget_config.desktop file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-08 23:08:07 +03:00
Ivailo Monev
dd65c28c49 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>
2023-08-08 23:00:52 +03:00
Ivailo Monev
2ce9cedc53 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>
2023-08-08 21:29:16 +03:00
Ivailo Monev
3ea549ebbc 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>
2023-08-08 19:47:08 +03:00
Ivailo Monev
994a53cdbb 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>
2023-08-08 18:01:24 +03:00
Ivailo Monev
233adf2643 generic: adjust to KImageIO changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-08 17:58:45 +03:00
Ivailo Monev
5332a323b8 krdc: remove unused kcfg group
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-08 15:24:45 +03:00
Ivailo Monev
ae086cf0b8 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>
2023-08-08 15:12:00 +03:00
Ivailo Monev
b9106628cd 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>
2023-08-08 12:20:50 +03:00
Ivailo Monev
2b8f0ec06e generic: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-07 01:33:45 +03:00
Ivailo Monev
edbd78acd5 kmix: someone's typos
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-05 19:35:26 +03:00
Ivailo Monev
6ccb85540b 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>
2023-08-04 06:20:29 +03:00
Ivailo Monev
f4ba650074 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>
2023-08-03 07:39:54 +03:00
Ivailo Monev
e4722c9617 kdeplasma-addons: port to the new KTimeEdit class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-02 13:18:15 +03:00
Ivailo Monev
e423875071 kdeplasma-addons: adjust to Katie changes
includes seconds handling for frame applet auto-update feature

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-02 11:45:04 +03:00
Ivailo Monev
052d7bb86e kdeplasma-addons: fix regression since 87247ceaca
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>
2023-08-02 04:01:44 +03:00
Ivailo Monev
ecbdf67627 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>
2023-08-01 04:00:06 +00:00
Ivailo Monev
42d278939a thumbnailers: handle compressed PDF files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-01 03:17:10 +00:00
Ivailo Monev
6dd62d432d 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>
2023-08-01 03:00:36 +00:00
Ivailo Monev
57bb3cb166 generic: replace QVarLengthArray<T> with std::vector<T>
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-30 18:58:58 +00:00
Ivailo Monev
c9e54bd352 krfb: remove unused krfbconfig header inclusion
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-30 05:42:41 +03:00
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