OSDN Git Service

kde/kde-workspace.git
12 months agokdepasswd: save the custom image to the faces directory by default
Ivailo Monev [Sun, 6 Aug 2023 12:57:08 +0000 (15:57 +0300)]
kdepasswd: save the custom image to the faces directory by default

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: format and indent
Ivailo Monev [Sun, 6 Aug 2023 04:54:24 +0000 (07:54 +0300)]
kcontrol: format and indent

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: format and indent
Ivailo Monev [Sun, 6 Aug 2023 04:02:27 +0000 (07:02 +0300)]
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>
12 months agoplasma: partially revert f058709ed6b21f4d4e8b9116f8535ee2ece5aa99
Ivailo Monev [Sat, 5 Aug 2023 16:11:18 +0000 (19:11 +0300)]
plasma: partially revert f058709ed6b21f4d4e8b9116f8535ee2ece5aa99

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>
12 months agoplasma: create wallpaper containments for each screen by default
Ivailo Monev [Sat, 5 Aug 2023 14:21:47 +0000 (17:21 +0300)]
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
772d9ff219edf487149d669c7abaf8523e3331f2

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: adjust notifications applet to KLocale changes
Ivailo Monev [Sat, 5 Aug 2023 14:08:29 +0000 (17:08 +0300)]
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>
12 months agoplasma: someone's typos
Ivailo Monev [Sat, 5 Aug 2023 13:16:55 +0000 (16:16 +0300)]
plasma: someone's typos

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: fix setup of primary display
Ivailo Monev [Sat, 5 Aug 2023 11:54:43 +0000 (14:54 +0300)]
kcontrol: fix setup of primary display

regression since 609a72aa8458e041e5ab1bade16554e4dbded96b, brought to my
attention via:
https://github.com/fluxer/katana/issues/41

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcminit: use KGlobalSettings::isMultiHead() instead of checking for hidden config key
Ivailo Monev [Sat, 5 Aug 2023 09:26:23 +0000 (12:26 +0300)]
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>
12 months agokwin: set the tabbox preview layout size to fit the preview images size
Ivailo Monev [Sat, 5 Aug 2023 04:35:09 +0000 (07:35 +0300)]
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>
12 months agokcrash: initialize kcrashsignal variable
Ivailo Monev [Sat, 5 Aug 2023 03:09:27 +0000 (06:09 +0300)]
kcrash: initialize kcrashsignal variable

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokdesudo: remove redundant KDESu::KDESuPrivate::KCookie::KCookiePrivate class
Ivailo Monev [Fri, 4 Aug 2023 09:59:32 +0000 (12:59 +0300)]
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>
12 months agokdesudo: remove unused fake options
Ivailo Monev [Fri, 4 Aug 2023 09:53:41 +0000 (12:53 +0300)]
kdesudo: remove unused fake options

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: remove unused KRandRSystemTray::configChanged() method
Ivailo Monev [Fri, 4 Aug 2023 09:35:10 +0000 (12:35 +0300)]
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>
12 months agokcontrol: update comment in randr KCM related to startup
Ivailo Monev [Fri, 4 Aug 2023 09:14:47 +0000 (12:14 +0300)]
kcontrol: update comment in randr KCM related to startup

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agogeneric: adjust to KCrash changes
Ivailo Monev [Fri, 4 Aug 2023 07:04:29 +0000 (10:04 +0300)]
generic: adjust to KCrash changes

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

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: match the untranslated terms as fallback in runners
Ivailo Monev [Fri, 4 Aug 2023 02:42:03 +0000 (05:42 +0300)]
plasma: match the untranslated terms as fallback in runners

see the previous commit

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: match the untranslated term as fallback from bookmarks runner
Ivailo Monev [Fri, 4 Aug 2023 00:50:37 +0000 (03:50 +0300)]
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>
12 months agoplasma: bookmarks runner optimization
Ivailo Monev [Fri, 4 Aug 2023 00:37:25 +0000 (03:37 +0300)]
plasma: bookmarks runner optimization

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcrash: use persistent notifications
Ivailo Monev [Thu, 3 Aug 2023 21:42:34 +0000 (00:42 +0300)]
kcrash: use persistent notifications

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agogeneric: remove unused desktop file entries
Ivailo Monev [Thu, 3 Aug 2023 19:27:32 +0000 (22:27 +0300)]
generic: remove unused desktop file entries

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: remove references to gone runners
Ivailo Monev [Thu, 3 Aug 2023 19:12:38 +0000 (22:12 +0300)]
plasma: remove references to gone runners

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agogeneric: adjust to KCrash changes
Ivailo Monev [Thu, 3 Aug 2023 08:32:15 +0000 (11:32 +0300)]
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>
12 months agokcontrol: remove unused D-Bus interface reference
Ivailo Monev [Thu, 3 Aug 2023 01:33:47 +0000 (04:33 +0300)]
kcontrol: remove unused D-Bus interface reference

krunner is no longer responsible for ASN, for reference:
a5fa8348e392643d451209e6d228c8a8db295674

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: correct signal/slot connection in Image::createConfigurationInterface()
Ivailo Monev [Wed, 2 Aug 2023 21:43:45 +0000 (00:43 +0300)]
plasma: correct signal/slot connection in Image::createConfigurationInterface()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: set the locale of dateandtime KCM time widget to match the global KLocale...
Ivailo Monev [Wed, 2 Aug 2023 10:45:31 +0000 (13:45 +0300)]
kcontrol: set the locale of dateandtime KCM time widget to match the global KLocale instance

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: port to the new KTimeEdit class
Ivailo Monev [Wed, 2 Aug 2023 10:17:53 +0000 (13:17 +0300)]
plasma: port to the new KTimeEdit class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agogeneric: adjust to Katie changes
Ivailo Monev [Wed, 2 Aug 2023 00:19:58 +0000 (03:19 +0300)]
generic: adjust to Katie changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agogeneric: add feature information about ntpdate and rdate
Ivailo Monev [Tue, 1 Aug 2023 06:56:01 +0000 (09:56 +0300)]
generic: add feature information about ntpdate and rdate

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: use KCatalogLoader to load the libtaskmanager catalog
Ivailo Monev [Tue, 1 Aug 2023 04:27:16 +0000 (04:27 +0000)]
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>
12 months agokioslave: remove unused protocol file entries
Ivailo Monev [Mon, 31 Jul 2023 20:30:59 +0000 (20:30 +0000)]
kioslave: remove unused protocol file entries

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokdontchangethehostname: adjust to KToolInvocation changes
Ivailo Monev [Mon, 31 Jul 2023 09:24:25 +0000 (09:24 +0000)]
kdontchangethehostname: adjust to KToolInvocation changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agogeneric: drop unused oxygen style background pixmap feature
Ivailo Monev [Mon, 31 Jul 2023 08:53:14 +0000 (08:53 +0000)]
generic: drop unused oxygen style background pixmap feature

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agogeneric: replace QVarLengthArray<T> with std::vector<T> and QVector<T>
Ivailo Monev [Sun, 30 Jul 2023 18:50:02 +0000 (18:50 +0000)]
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>
12 months agokate: remove unused variable in KatePartPluginConfigPage constructor
Ivailo Monev [Sun, 30 Jul 2023 06:06:57 +0000 (09:06 +0300)]
kate: remove unused variable in KatePartPluginConfigPage constructor

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: remove unused input KCM files
Ivailo Monev [Sun, 30 Jul 2023 05:04:48 +0000 (08:04 +0300)]
kcontrol: remove unused input KCM files

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: remove display KCM
Ivailo Monev [Sun, 30 Jul 2023 04:24:41 +0000 (07:24 +0300)]
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>
12 months agokcontrol: format and indent
Ivailo Monev [Sun, 30 Jul 2023 02:08:18 +0000 (05:08 +0300)]
kcontrol: format and indent

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: implement basic format validator for locale KCM
Ivailo Monev [Sun, 30 Jul 2023 01:08:50 +0000 (04:08 +0300)]
kcontrol: implement basic format validator for locale KCM

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: do not write default values to the config from locale KCM
Ivailo Monev [Sun, 30 Jul 2023 00:04:48 +0000 (03:04 +0300)]
kcontrol: do not write default values to the config from locale KCM

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: link widget plugins to KtUiTools component
Ivailo Monev [Sat, 29 Jul 2023 19:54:28 +0000 (22:54 +0300)]
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>
12 months agoplasma: build fix
Ivailo Monev [Sat, 29 Jul 2023 18:31:09 +0000 (21:31 +0300)]
plasma: build fix

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: remove unused kcfg files
Ivailo Monev [Sat, 29 Jul 2023 17:35:22 +0000 (20:35 +0300)]
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>
12 months agokuiserver: update Messages.sh script
Ivailo Monev [Sat, 29 Jul 2023 17:31:11 +0000 (20:31 +0300)]
kuiserver: update Messages.sh script

for reference:
311ddf7016f21a988fffcc906fbe216e8756f512

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokeditbookmarks: use the same config group as before 1a2cc4e2baca53022b14c06dba6dbe00d...
Ivailo Monev [Sat, 29 Jul 2023 17:30:35 +0000 (20:30 +0300)]
keditbookmarks: use the same config group as before 1a2cc4e2baca53022b14c06dba6dbe00d47ec700

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokioslave: discard the data buffer and pixmap once text thumbnail is created
Ivailo Monev [Sat, 29 Jul 2023 17:21:48 +0000 (20:21 +0300)]
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>
12 months agokioslave: copyright imagecreator to me
Ivailo Monev [Sat, 29 Jul 2023 17:15:44 +0000 (20:15 +0300)]
kioslave: copyright imagecreator to me

implemented rotation (with configuration interface), updated MIME types,
etc. for reference:
fce69c3dc4a806d11fdee7289b88f193242569d1

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokuiserver: remove unused kcfg files
Ivailo Monev [Sat, 29 Jul 2023 17:03:43 +0000 (20:03 +0300)]
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>
12 months agokeditbookmars: use KConfig instance to save column sizes
Ivailo Monev [Sat, 29 Jul 2023 16:56:45 +0000 (19:56 +0300)]
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>
12 months agolibs: drop the automatic update feature of Plasma::Calendar
Ivailo Monev [Sat, 29 Jul 2023 09:12:30 +0000 (12:12 +0300)]
libs: drop the automatic update feature of Plasma::Calendar

only Plasma::ClockApplet uses the Plasma::Calendar class and it disables
automatic updates (because the date comes from data engine). also due to
7819796c556a94ad57ef9a126cab072e247658bd the date is updated once a second
which was updating the currently selected date thus interfering with date
selection every second so the check that was removed in
d7d63a156bc0b49bbc27b80b5e38ced429470127 had to be brought back

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: remove redundant plasma-desktop shell config
Ivailo Monev [Sat, 29 Jul 2023 08:27:27 +0000 (11:27 +0300)]
plasma: remove redundant plasma-desktop shell config

the default Plasma::Theme font is already set to QApplication::font() by
Plasma::Theme itself, it has configuration option for it too which is to
read the font setting from the application "General" config group. for
reference:
kdelibs/plasma/theme.cpp

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokstyles: remove unused AnimationSteps config option
Ivailo Monev [Sat, 29 Jul 2023 08:17:45 +0000 (11:17 +0300)]
kstyles: remove unused AnimationSteps config option

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoklipper: remove unused dummy config option
Ivailo Monev [Sat, 29 Jul 2023 08:11:05 +0000 (11:11 +0300)]
klipper: remove unused dummy config option

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokdepasswd: remove unused and private PtyProcess::m_Command member
Ivailo Monev [Sat, 29 Jul 2023 08:08:26 +0000 (11:08 +0300)]
kdepasswd: remove unused and private PtyProcess::m_Command member

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokdepasswd: format and indent
Ivailo Monev [Sat, 29 Jul 2023 08:05:35 +0000 (11:05 +0300)]
kdepasswd: format and indent

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokdepasswd: remove unused config options
Ivailo Monev [Sat, 29 Jul 2023 07:36:43 +0000 (10:36 +0300)]
kdepasswd: remove unused config options

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokwin: remove useless comment in KWin::Options::updateSettings()
Ivailo Monev [Sat, 29 Jul 2023 07:11:21 +0000 (10:11 +0300)]
kwin: remove useless comment in KWin::Options::updateSettings()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agosolid-device-automounter: format and indent
Ivailo Monev [Sat, 29 Jul 2023 06:46:56 +0000 (09:46 +0300)]
solid-device-automounter: format and indent

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokfind: remove non-operational bits
Ivailo Monev [Sat, 29 Jul 2023 00:18:44 +0000 (03:18 +0300)]
kfind: remove non-operational bits

see the following commit in kdelibs repo:
a2e6cb8a18dcdab4dea6ef42ea16cfb9c776e171

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokate: remove unused header inclusion
Ivailo Monev [Sat, 29 Jul 2023 00:03:54 +0000 (03:03 +0300)]
kate: remove unused header inclusion

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: point to the QDateTime documentation from locale KCM
Ivailo Monev [Fri, 28 Jul 2023 21:52:57 +0000 (00:52 +0300)]
kcontrol: point to the QDateTime documentation from locale KCM

and it is that simple - RTFM!

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: adjust expected data in KSignalPlotter tests
Ivailo Monev [Fri, 28 Jul 2023 11:39:12 +0000 (14:39 +0300)]
libs: adjust expected data in KSignalPlotter tests

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokwin: fix test failure in case locale is not the default
Ivailo Monev [Fri, 28 Jul 2023 11:03:41 +0000 (14:03 +0300)]
kwin: fix test failure in case locale is not the default

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: adjust to KLocale changes
Ivailo Monev [Fri, 28 Jul 2023 10:02:14 +0000 (13:02 +0300)]
plasma: adjust to KLocale changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: replace the seconds option with time format
Ivailo Monev [Thu, 27 Jul 2023 21:11:05 +0000 (00:11 +0300)]
plasma: replace the seconds option with time format

this essentially extends the digital clock options to 3 formats which are
also configurable instead of using a hardcoded format (the old
implementation), that ofcourse means an update has to be done every
second (or even milisecond) because the format is unknown to the digital
clock applet

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: do not use assignment for KConfig object in locale KCM
Ivailo Monev [Thu, 27 Jul 2023 21:08:23 +0000 (00:08 +0300)]
kcontrol: do not use assignment for KConfig object in locale KCM

triggers delete of KConfig object

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: filter "C" language in locale KCM
Ivailo Monev [Thu, 27 Jul 2023 05:02:56 +0000 (08:02 +0300)]
kcontrol: filter "C" language in locale KCM

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: sort languages by the displayed text in locale KCM
Ivailo Monev [Thu, 27 Jul 2023 04:58:13 +0000 (07:58 +0300)]
kcontrol: sort languages by the displayed text in locale KCM

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: add TODO for locale KCM
Ivailo Monev [Thu, 27 Jul 2023 00:08:50 +0000 (03:08 +0300)]
kcontrol: add TODO for locale KCM

one of the things the previous implemented was not doing, can be done
via QValidator-derived class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: align locale KCM date and time labels such that the width matches
Ivailo Monev [Wed, 26 Jul 2023 23:57:02 +0000 (02:57 +0300)]
kcontrol: align locale KCM date and time labels such that the width matches

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: change the measurement system on locale KCM language change
Ivailo Monev [Wed, 26 Jul 2023 22:07:39 +0000 (01:07 +0300)]
kcontrol: change the measurement system on locale KCM language change

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: time and datetime format interface for locale KCM
Ivailo Monev [Wed, 26 Jul 2023 22:00:36 +0000 (01:00 +0300)]
kcontrol: time and datetime format interface for locale KCM

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

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: propagate focus event from Plasma::ClockApplet
Ivailo Monev [Mon, 24 Jul 2023 17:53:52 +0000 (20:53 +0300)]
libs: propagate focus event from Plasma::ClockApplet

goes like this:
Plasma::ClockApplet -> Plasma::Calendar -> Plasma::CalendarWidget -> ...

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: update the current date of Plasma::Calendar from Plasma::Calendar::setDate()
Ivailo Monev [Mon, 24 Jul 2023 17:32:32 +0000 (20:32 +0300)]
libs: update the current date of Plasma::Calendar from Plasma::Calendar::setDate()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: do not set the minimum size of Plasma::Calendar
Ivailo Monev [Mon, 24 Jul 2023 06:18:20 +0000 (09:18 +0300)]
plasma: do not set the minimum size of Plasma::Calendar

already done by Plasma::Calendar itself

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: do not setup the clock applet as passive popup
Ivailo Monev [Mon, 24 Jul 2023 05:53:54 +0000 (08:53 +0300)]
libs: do not setup the clock applet as passive popup

two reasons for that - one is that no other applet does that (e.g. battery
and device applets dissapear once focus is lost) and second being that
passive popups are documented as non-focus stealing applets but the
calendar widget accepts key and mouse events (for various reasons) thus
stealing the focus to process key and mouse events is abosolutely ok

also the minium and preferred size are set by Plasma::Calendar

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: convert krdb to standalone program
Ivailo Monev [Mon, 24 Jul 2023 05:02:30 +0000 (08:02 +0300)]
kcontrol: convert krdb to standalone program

fixes some race-conditions, for reference:
9ed7286504817aa451f544bf7f388d0eaab1af34

also the exit() call in case of failure to open the temporary file would
exit the program calling runRdb() (systemsettings for example) with
status 0 (normal, when an error ocurred), that is no longer the case

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: adjust the minimum and preferred size of Plasma::Calendar widget
Ivailo Monev [Sun, 23 Jul 2023 21:46:18 +0000 (00:46 +0300)]
libs: adjust the minimum and preferred size of Plasma::Calendar widget

both to fit default configuration, font size not taken into account but it
was so before. resizing the widget is an option (the plasma applets and the
calendar that pops from the date on the panel are resizeble)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: UIC warning fix
Ivailo Monev [Sun, 23 Jul 2023 20:32:24 +0000 (23:32 +0300)]
kcontrol: UIC warning fix

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agol10n: adjust to KLocale and KCalendarSystem changes
Ivailo Monev [Sun, 23 Jul 2023 19:36:04 +0000 (22:36 +0300)]
l10n: adjust to KLocale and KCalendarSystem changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: remove declaration of now non-existing Plasma::Calendar::manualDateChange(...
Ivailo Monev [Sun, 23 Jul 2023 18:07:29 +0000 (21:07 +0300)]
libs: remove declaration of now non-existing Plasma::Calendar::manualDateChange() slot

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: beep when an attempt is made to set the Plasma::Calendar date to invalid
Ivailo Monev [Sun, 23 Jul 2023 17:14:28 +0000 (20:14 +0300)]
libs: beep when an attempt is made to set the Plasma::Calendar date to invalid

like KDatePicker did

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: do not handle key events in Plasma::Calendar
Ivailo Monev [Sun, 23 Jul 2023 16:40:04 +0000 (19:40 +0300)]
libs: do not handle key events in Plasma::Calendar

QCalendarWidget already does handle some, including date input via number
keys (Qt::Key_0 to Qt::Key_9)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: do not grab and ugrab the keyboard from the calendar focus change events
Ivailo Monev [Sun, 23 Jul 2023 15:40:32 +0000 (18:40 +0300)]
libs: do not grab and ugrab the keyboard from the calendar focus change events

QCalendardWidget (and consequently KCalendarWidget) focus policy is set to
Qt::StrongFocus by default

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: remove inclusion of now gone kdatepicker header
Ivailo Monev [Sun, 23 Jul 2023 08:48:54 +0000 (11:48 +0300)]
kcontrol: remove inclusion of now gone kdatepicker header

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: port to the new calendar widget classes
Ivailo Monev [Sun, 23 Jul 2023 08:36:30 +0000 (11:36 +0300)]
libs: port to the new calendar widget classes

slick:
https://ibb.co/Vg1TyM2

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: remove holiday events support leftovers
Ivailo Monev [Sun, 23 Jul 2023 05:23:37 +0000 (08:23 +0300)]
libs: remove holiday events support leftovers

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agogeneric: adjust to KLocale changes
Ivailo Monev [Sun, 23 Jul 2023 04:54:40 +0000 (07:54 +0300)]
generic: adjust to KLocale changes

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

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: replace use of KLocalizedDate with more direct calls
Ivailo Monev [Sun, 23 Jul 2023 00:33:20 +0000 (03:33 +0300)]
plasma: replace use of KLocalizedDate with more direct calls

KLocalizedDate is wrapper around KCalendarSystem and does the same
essentially, also the plasma clock applets do it the way it is done now

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: someone's typo
Ivailo Monev [Sat, 22 Jul 2023 23:22:44 +0000 (02:22 +0300)]
plasma: someone's typo

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: adjust to time zone classes changes
Ivailo Monev [Sat, 22 Jul 2023 01:37:43 +0000 (04:37 +0300)]
plasma: adjust to time zone classes changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: simplify group modification date formatting
Ivailo Monev [Fri, 21 Jul 2023 04:48:37 +0000 (07:48 +0300)]
dolphin: simplify group modification date formatting

also more consistent by using the common KGlobal::formatDateTime() way of
formatting such date and time

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agogeneric: adjust to KDateTime changes
Ivailo Monev [Fri, 21 Jul 2023 03:19:28 +0000 (06:19 +0300)]
generic: adjust to KDateTime changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodrkonqi: replace KProcess with QProcess
Ivailo Monev [Thu, 20 Jul 2023 23:59:30 +0000 (02:59 +0300)]
drkonqi: replace KProcess with QProcess

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokstart: replace KProcess with QProcess
Ivailo Monev [Thu, 20 Jul 2023 23:51:44 +0000 (02:51 +0300)]
kstart: replace KProcess with QProcess

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: better hack to show only the relevant media player options
Ivailo Monev [Thu, 20 Jul 2023 23:46:17 +0000 (02:46 +0300)]
kcontrol: better hack to show only the relevant media player options

in the case of kmix - it is not the systemsettings application but has to
show all media players options

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: remove unused KonqOperations slot and non-operational signal
Ivailo Monev [Thu, 20 Jul 2023 20:09:45 +0000 (23:09 +0300)]
libs: remove unused KonqOperations slot and non-operational signal

the signal is never emitted

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