Commit graph

3616 commits

Author SHA1 Message Date
Ivailo Monev
c3577155e8 plasma: implement thermal monitor for system-monitor applet
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-01 19:40:38 +03:00
Ivailo Monev
7e5f65d2c2 plasma: use custom class for partitions monitoring in system-monitor applet
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-01 18:58:22 +03:00
Ivailo Monev
dc3db08420 plasma: implement multiple network interfaces and disk monitor for system-monitor applet
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-01 18:36:40 +03:00
Ivailo Monev
58d130e535 plasma: frame system-monitor plotters
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-01 15:45:06 +03:00
Ivailo Monev
17627cd1ac plasma: implement network monitor for system-monitor applet
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-01 15:22:04 +03:00
Ivailo Monev
94c44c9b51 plasma: reimplement system-monitor applet
what is wrong with the old applet implementation? it uses two
dataengines which by itself is a huge performance penalty. the current
applet implementation is minimal - shows only the system CPU load and
that is about it but I intend to expand upon that

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-01 14:30:49 +03:00
Ivailo Monev
5a9481f9ec kgreeter: use the correct method to get the font from QFontDialog
QFontDialog::font() returns the widget font

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-31 19:42:25 +03:00
Ivailo Monev
71359006ac generic: replace KFontDialog and KFontChooser with QFontDialog
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-31 19:17:51 +03:00
Ivailo Monev
8353b43b36 konsole: partial fix for some command line options
QCoreApplication::quit() stops event loops, it does not call ::exit() and
as the application (konsole application) instance is constructed there is
no even loop to quit (someone derped there, see the TODO too)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-31 08:33:38 +03:00
Ivailo Monev
95f7fc2cd4 generic: replace KFontComboBox with QFontComboBox
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-31 01:10:40 +02:00
Ivailo Monev
ff715bee6b generic: adjust to solid changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-30 05:39:37 +02:00
Ivailo Monev
e61b0b20f7 kcontrol: adjust kio KCM to kdelibs changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-29 15:45:17 +02:00
Ivailo Monev
d86f77ad00 kcontrol: adjust kio KCM to kdelibs changes
for proxy settings there can be KCM that sets klauncher variables for
proxy preferences, has yet to be decided tho

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-29 10:01:30 +02:00
Ivailo Monev
649c7b8876 kcontrol: drop inhibition feature of randr module
screen inhibition based on monitor name and lid button presence sounds like
someone wanted X11 DPMS (which is automatic nowdays) on his laptop to me

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-29 05:43:06 +02:00
Ivailo Monev
57d9753f70 kdialog: do not set contents margins for the calendar widget from Widgets::calendar()
otherwise it looks a bit weird

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-29 05:26:36 +02:00
Ivailo Monev
30d5561f98 dolphin: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-28 11:03:34 +02:00
Ivailo Monev
4f2a08c1c9 generic: adjust to kdelibs changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-24 01:21:45 +02:00
Ivailo Monev
ccab491278 kurifilter-plugins: drop some search providers
no interest in them

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-22 14:31:06 +02:00
Ivailo Monev
7985700ad3 kwin: remove non-operational kcmkwincompositing bits
m_showConfirmDialog is always false, no idea why
KWinCompositingConfig::showConfirmDialog() was virtual

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-22 11:42:17 +02:00
Ivailo Monev
b46a7dfc01 libs: drop unused KWindowListMenu class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-22 09:18:11 +02:00
Ivailo Monev
27b83e2023 libs: drop unused and redundant bits
if the reboot/poweroff is not interactive it may silently fail

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-22 09:15:46 +02:00
Ivailo Monev
cb4b132a2f libs: remove unused constant
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-22 08:03:21 +02:00
Ivailo Monev
a0e8127b07 kioslave: remove redundant line in camera protocol file
true by default

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-22 08:03:12 +02:00
Ivailo Monev
94c7aaeda0 kioslave: create application instance from the main function of camera slave
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-21 05:37:01 +02:00
Ivailo Monev
a79eb8a60b plasma: check if the sleep states are supported before adding match for them from powerdevil runner
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-21 01:46:48 +02:00
Ivailo Monev
d348b6f3a9 plasma: calculate the shortest powerdevil runner command from the untranslated strings too
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-21 01:38:22 +02:00
Ivailo Monev
8792c478c4 plasma: format and indent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-21 01:36:25 +02:00
Ivailo Monev
b00a7eed2c kcontrol: deal with FIXMEs in access KCM
KDialog::marginHint() is kinda deprecated right now, the margin depends on
the style hints anyway which KDialog::marginHint() is a shortcut for

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-21 01:29:58 +02:00
Ivailo Monev
209a35f8df kstart: port the window state bits
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-21 01:11:08 +02:00
Ivailo Monev
404cf81603 generic: adjust to KIO changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-20 08:46:03 +02:00
Ivailo Monev
a18ead4b58 dolphin: hide the view container message widget used directory loading starts
under some conditions it can happen that error occurs but it happens before
the directory loading completion signal is emitted and it is as if the
message is not shown, a typical case was when connecting to remote host
fails

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-20 08:45:19 +02:00
Ivailo Monev
ef0bcb0ee5 plasma: do not assume the MIME type of the jobs destination URL in notifications applet
it may be a temporary file job and the destination in that case is a URL
pointing to file in /tmp (or other directory for such files)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-20 01:14:01 +02:00
Ivailo Monev
e051efd5bf startkde: update sycoca database
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-19 01:10:11 +02:00
Ivailo Monev
72b9dd528d generic: make use of the new solid processor feature
requires the following commit from kdelibs:
9a33d048baab0cf05f670b6afa773f3e2c315413

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-17 06:04:12 +02:00
Ivailo Monev
8134f72962 kioslave: reimplement the sftp slave and move it to kdelibs
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-17 00:51:34 +02:00
Ivailo Monev
59ebe94c6e qguiplatformplugin_kde: adjust to KFileDialog changes
the changes date back to 2015, see the following commit in kdelibs repo:
21ad0df4885be0723a6cc3e513939f9834f53183

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-16 08:24:45 +02:00
Ivailo Monev
9d5cc8fed6 generic: remove redundant Q_OS_UNIX definition checks
always defined now

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-15 09:23:17 +02:00
Ivailo Monev
96f645afe4 generic: prepare for Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-15 09:05:41 +02:00
Ivailo Monev
738490954b kstyles: prepare for Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-15 07:35:15 +02:00
Ivailo Monev
5c1b5a284f generic: remove konqueror leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-15 05:02:56 +02:00
Ivailo Monev
bbdada22fd kcontrol: fix spellchecking KCM reset and defaults actions
and because I rewrote everything underneath the KCM (which happened last
year) copyright goes to me

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-15 00:46:27 +02:00
Ivailo Monev
94fc697139 knotify: fix KCM reset
things get complicated when one method (KCMNotification::load()) is used
for more than one thing (load and reset)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-15 00:17:00 +02:00
Ivailo Monev
7797c5d302 kcontrol: do not call kClearDebugConfig() and do not send D-Bus message from kdebug KCM
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-14 21:36:22 +02:00
Ivailo Monev
3a8a39a896 plasma: update systemtray applet arrow when its layout orientation changes
for the case when the panel is moved from one screen edge to other for
example

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-14 06:22:48 +02:00
Ivailo Monev
8cb2c3f556 plasma: enable configuration interface icon for mixer and weather applets in their handle
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-14 06:05:15 +02:00
Ivailo Monev
1bc77d7777 plasma: set the aspect ration mode of keyboard applet to Plasma::AspectRatioMode::ConstrainedSquare
because no size at all is set, otherwise it should be set to
Plasma::AspectRatioMode::KeepAspectRatio and the size set to something like
128x128

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-14 05:49:00 +02:00
Ivailo Monev
a2a41e4e5d kfreespace: default to 1/10 of the total space
credits to Benjamin Grant for making me do it, fallback is still 1 GB and
the configuration interface remains the same but the default should fit
more cases now

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-03 06:02:36 +02:00
Ivailo Monev
e40d992f82 plasma: reference the alternative geoplugin domain
http://www.geoplugin.net/json.gp is accessible but http://www.geoplugin.net/
is not, great..

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-01-27 02:44:56 +02:00
Ivailo Monev
027a9881cd kwin: replace hard-coded default with method call
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-11-05 11:16:44 +02:00
Ivailo Monev
a49fd23243 kwin: remove fullscreen hack
there never was a way to enable it (not via gui anyway) meaning the bits
are doing nothing (other than slow down kwin that is)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-11-05 02:40:38 +02:00