Commit graph

2643 commits

Author SHA1 Message Date
Ivailo Monev
7a3db6fd57 kioslave: enable cursorthumbnail by default
because cursors are technically images and the thumbnails creation is cheap
(even tho the result is not cached, cursors are small images)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-08 15:31:44 +03:00
Ivailo Monev
ef33eaf427 kcontrol: remove bogus icons KCM bits
animating icons was never a KIconLoader thing, animated icons however (such
as "process-working", which is many icons packed into one) are supported.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-08 13:20:44 +03:00
Ivailo Monev
0f0e886656 kcontrol: format and indent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-08 13:07:37 +03:00
Ivailo Monev
1023a46c82 kate: const-ify variables in KateProjectWorker::loadFilesEntry()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-07 23:03:27 +03:00
Ivailo Monev
f254c44f7d Revert "plasma: use QColor::name() in Pager::updatePagerStyle()"
This reverts commit 3bb3d55a72.
2023-08-07 22:29:20 +03:00
Ivailo Monev
fa797f7dcd plasma: do not deep-copy the QMimeData formats in DeclarativeMimeData constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-07 22:14:56 +03:00
Ivailo Monev
3bb3d55a72 plasma: use QColor::name() in Pager::updatePagerStyle()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-07 22:13:19 +03:00
Ivailo Monev
d02e8c10af generic: log backtrace when applications that are automatically restarted crash
previously the KCrash::AutoRestart flag was overriding all other flags -
that is no longer the case

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-07 21:32:05 +03:00
Ivailo Monev
e214347bbf kate: add qFmod to cpp syntax data
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-07 13:48:04 +03:00
Ivailo Monev
dbfb4586ec generic: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-07 01:33:34 +03:00
Ivailo Monev
af98b78b2a kdesudo: disable session management
kdesudo does not support session restoration

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-06 16:06:34 +03:00
Ivailo Monev
a02c21aa91 kdepasswd: save the custom image to the faces directory by default
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-06 15:57:08 +03:00
Ivailo Monev
f415017e21 kcontrol: format and indent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-06 07:54:24 +03:00
Ivailo Monev
332a0287b6 kcontrol: format and indent
there is a copy of the table and the function at:
kde-extraapps/kvkbd/src/keysymconvert.cpp

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-06 07:02:27 +03:00
Ivailo Monev
44970b29d8 plasma: partially revert f058709ed6
the systemtray applet automatically adds the applets that have
configuration entry in plasma-desktoprc but the applets configuration is
not saved by the systemtray applet

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-05 19:11:18 +03:00
Ivailo Monev
f058709ed6 plasma: create wallpaper containments for each screen by default
for reference:
https://github.com/fluxer/katana/issues/41

note that the config affects only new configurations (the config is
copied to the user config directory once layout is saved), also a logout
may be required when a screen is removed (that includes setting up extra
monitor to be copy of the primary display)

as for why it is done - a image and panel containment was created by the
default layout script (00-defaultLayout.js) which is no longer since
772d9ff219

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-05 17:41:18 +03:00
Ivailo Monev
6bff25a7b0 plasma: adjust notifications applet to KLocale changes
KLocale::formatDuration() does pretty much the same as what
KLocale::prettyFormatDuration() used to do

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-05 17:08:29 +03:00
Ivailo Monev
fb3c9c7b28 plasma: someone's typos
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-05 16:16:55 +03:00
Ivailo Monev
8930bbdf67 kcontrol: fix setup of primary display
regression since 609a72aa84, brought to my
attention via:
https://github.com/fluxer/katana/issues/41

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-05 14:54:43 +03:00
Ivailo Monev
77d1beda87 kcminit: use KGlobalSettings::isMultiHead() instead of checking for hidden config key
as the comment says - there is no interface for it, there isn't one for
what KGlobalSettings::isMultiHead() checks for but it checks for
environment variable. now the klauncher KDE_MULTIHEAD environment variable
will match the global envionment variable

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-05 12:26:23 +03:00
Ivailo Monev
8558409838 kwin: set the tabbox preview layout size to fit the preview images size
so that there is a empty space at the bottom of the preview, same as the
empty space at the top

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-05 07:35:09 +03:00
Ivailo Monev
16d1437b10 kcrash: initialize kcrashsignal variable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-05 06:09:27 +03:00
Ivailo Monev
0eae2deaa0 kdesudo: remove redundant KDESu::KDESuPrivate::KCookie::KCookiePrivate class
private class in a private namespace does not need a d pointer for compat

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-04 12:59:32 +03:00
Ivailo Monev
96928dcb22 kdesudo: remove unused fake options
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-04 12:53:41 +03:00
Ivailo Monev
f3924d3849 kcontrol: remove unused KRandRSystemTray::configChanged() method
not only unused but next to useless - it is about a configuration change
and the common way for that to happen is doing it from the randr KCM
which is a "I know what I am doing, I don't need popup for that" kind of
situtation

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-04 12:35:12 +03:00
Ivailo Monev
2d4a5db5d8 kcontrol: update comment in randr KCM related to startup
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-04 12:14:47 +03:00
Ivailo Monev
e16e97bb10 generic: adjust to KCrash changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-04 10:04:29 +03:00
Ivailo Monev
b9d801db49 generic: adjust to kBacktrace() function changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-04 08:25:12 +03:00
Ivailo Monev
9c2fb0b928 plasma: match the untranslated terms as fallback in runners
see the previous commit

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-04 05:42:16 +03:00
Ivailo Monev
4275b7f7fc plasma: match the untranslated term as fallback from bookmarks runner
many plasma runner have this issue - when locale is changed to something
other than the default the trigger term has to be in translated form (e.g.
"отметки") because the original untranslated term is not matched (e.g.
"bookmarks") and it is as if the runners are not working

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-04 03:50:37 +03:00
Ivailo Monev
4adc6890bf plasma: bookmarks runner optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-04 03:37:25 +03:00
Ivailo Monev
686f99c9c3 kcrash: use persistent notifications
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-04 00:42:34 +03:00
Ivailo Monev
522f9f2631 generic: remove unused desktop file entries
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-03 22:27:32 +03:00
Ivailo Monev
75f49a2b11 plasma: remove references to gone runners
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-03 22:12:38 +03:00
Ivailo Monev
1aa221bd26 generic: adjust to KCrash changes
on a side note generating backtrace via drkonqi was not working on some
systems where traces are disabled by default (for security reasons) and
it required not only to install debug packages or build for debugging
purposes but also to setup the system so that backtrace can be generated
to get something out of it

where that is no the case on Linux there is usually a core dump in the
system log anyway thus the only thing a program related to crashes has
to do is to notify about it and (when possible) automatically file some
information (with the option to disable that)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-03 11:38:19 +03:00
Ivailo Monev
0dd7a6a674 kcontrol: remove unused D-Bus interface reference
krunner is no longer responsible for ASN, for reference:
a5fa8348e3

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-03 04:33:47 +03:00
Ivailo Monev
39d8ed30e9 plasma: correct signal/slot connection in Image::createConfigurationInterface()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-03 00:43:45 +03:00
Ivailo Monev
d366c90af0 kcontrol: set the locale of dateandtime KCM time widget to match the global KLocale instance
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-02 13:45:31 +03:00
Ivailo Monev
e7f5ac777a plasma: port to the new KTimeEdit class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-02 13:17:53 +03:00
Ivailo Monev
ba855fc4d2 generic: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-02 11:45:37 +03:00
Ivailo Monev
0ff5ee8e13 generic: add feature information about ntpdate and rdate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-01 09:56:01 +03:00
Ivailo Monev
e43145dcf3 libs: use KCatalogLoader to load the libtaskmanager catalog
event tho TaskManager::TaskManager is singleton manually removing the
catalog can result in empty strings (catalogs are no longer reference
counted)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-01 04:27:16 +00:00
Ivailo Monev
3111ee9ad8 kioslave: remove unused protocol file entries
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-31 20:30:59 +00:00
Ivailo Monev
19456820f8 kdontchangethehostname: adjust to KToolInvocation changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-31 09:24:25 +00:00
Ivailo Monev
4a613cc1ab generic: drop unused oxygen style background pixmap feature
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-31 08:54:54 +00:00
Ivailo Monev
19b46a1c46 generic: replace QVarLengthArray<T> with std::vector<T> and QVector<T>
std::vector<T> for when the data does not have to be shared (e.g. POD
types) and there is no Q_DECLARE_TYPEINFO() involved, QVector<T> for when
data should be shared

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-30 18:50:02 +00:00
Ivailo Monev
6354b9e473 kate: remove unused variable in KatePartPluginConfigPage constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-30 09:06:57 +03:00
Ivailo Monev
06d3f2cbf7 kcontrol: remove unused input KCM files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-30 08:04:48 +03:00
Ivailo Monev
f1bf8ab528 kcontrol: remove display KCM
it is essentially container for other modules and all but the randr
module are not valid (not maintained as part of Katana)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-30 07:26:09 +03:00
Ivailo Monev
59cf40558d kcontrol: format and indent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-30 05:08:18 +03:00