Commit graph

2632 commits

Author SHA1 Message Date
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
Ivailo Monev
82b381e634 kcontrol: implement basic format validator for locale KCM
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-30 04:08:50 +03:00
Ivailo Monev
c9f049c347 kcontrol: do not write default values to the config from locale KCM
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-30 03:04:48 +03:00
Ivailo Monev
963b430924 libs: link widget plugins to KtUiTools component
for the reference to QCustomWidget, fixes loading of the plugins

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-29 22:54:28 +03:00
Ivailo Monev
1c79fc3857 plasma: build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-29 21:31:09 +03:00
Ivailo Monev
8cd1d22c06 kcontrol: remove unused kcfg files
note that the config group name in the kcfg files was "DesktopIcons"
while in kcontrol/kio/netpref.cpp it is empty string

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-29 20:35:26 +03:00
Ivailo Monev
ad4805e51b kuiserver: update Messages.sh script
for reference:
311ddf7016

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-29 20:31:11 +03:00
Ivailo Monev
d68e97050b keditbookmarks: use the same config group as before 1a2cc4e2ba
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-29 20:30:35 +03:00
Ivailo Monev
7c2d1f3bd0 kioslave: discard the data buffer and pixmap once text thumbnail is created
to reclaim the memory allocated

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-29 20:21:48 +03:00
Ivailo Monev
6fcf4e8224 kioslave: copyright imagecreator to me
implemented rotation (with configuration interface), updated MIME types,
etc. for reference:
fce69c3dc4

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-29 20:15:44 +03:00
Ivailo Monev
311ddf7016 kuiserver: remove unused kcfg files
kuiserver is no configurable, the notifications plasma applet (which
shows jobs progress) is tho

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-29 20:04:10 +03:00
Ivailo Monev
1a2cc4e2ba keditbookmars: use KConfig instance to save column sizes
no functional change, no reason to use kcfg files for it either

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-29 19:57:27 +03:00