Commit graph

40 commits

Author SHA1 Message Date
Ivailo Monev
93c35e4c15 generic: remove build-time compat options
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-21 19:57:19 +03:00
Ivailo Monev
fbfb374b9c generic: drop scripting and tray support
after changes to multiple sub-projects (Katie, kdelibs, kde-workspace
and kde-extraapps) that finally happened, can write lots about it but I
will keep it short - by rewriting parts that were using js/qml (e.g. the
plasma applets) the desktop startup was reduced to half, also the legacy
tray thing shall be no more (anything that needs tray icon shall be a
plasma applet now) thus some applications and features will be dropped
aswell. see all repositories for the changes done

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-21 08:06:58 +03:00
Ivailo Monev
9afe0d8566 plasma: remove redundant constraints checks
whatever the constraints were attempting to filter and secure is unused now
and I bet in the past - the "Constraints" group is not a thing

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-24 21:53:02 +03:00
Ivailo Monev
9222bc71e1 plasma: remove redundant Plasma::Applet::eventFilter() reimplementation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-18 17:29:49 +03:00
Ivailo Monev
e66a124829 plasma: do not deep-copy the Plasma::Applet::action() and Plasma::Applet::addAction() arguments
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-14 12:00:06 +03:00
Ivailo Monev
a2530529a4 plasma: create key sequence objects from the key enums
create QKeySequence from string involves decoding the string (splitting it
into bits and pieces and matching it to a well known list of strings and
then create integer out of the decoded bits which is sub-optimal

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-30 20:48:43 +03:00
Ivailo Monev
da2cb4b848 plasma: do not check if the current "requires configuration" state matches from Plasma::Applet::setConfigurationRequired()
because the message overlay is used for both (error) messages and to show
configuration button (with optional message) and the overlay may have to
be recreated to override the one previously setup by
Plasma::Applet::showMessage() (e.g. when an applet is created, message is
shown and then a configuration overlay but with the internal "requries
configuration" state not changing)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-14 16:17:47 +03:00
Ivailo Monev
b7b609278b plasma: static analyzer warning fix
because the AppletHandle pointer is connected before assigning the handle
member the AppletPrivate::handleDisappeared() slot may be called with null
null handle pointer resulting in a call of member on a null pointer

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-09 15:15:42 +03:00
Ivailo Monev
e11edce0d8 plasma: convert Plasma::PluginLoader methods to static
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-03 01:26:42 +03:00
Ivailo Monev
67f0a70c9d plasma: remove unused private Plasma::PlasmoidService and Plasma::PlasmoidServiceJob classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-03 00:23:19 +03:00
Ivailo Monev
b41f9cce51 plasma: call constructors for types created on the heap
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-02 11:33:01 +03:00
Ivailo Monev
36c233341a plasma: remove unused and mapped animations
Plasma::Animator::AppearAnimation and Plasma::Animator::DisappearAnimation
are mapped to Plasma::Animator::ZoomAnimation by plasma-desktop

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-20 05:22:55 +03:00
Ivailo Monev
97372a82ef plasma: remove unused AbstractDialogManager class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-09 00:06:27 +02:00
Ivailo Monev
a8ec0ae048 plasma: remove binary compat bits
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-28 01:28:02 +02:00
Ivailo Monev
98f1b0b90a plasma: fix shortcuts
who tought using the same shortcut for multiple actions is going to work?
the single character shortcuts are very likely to conflict with other
shortcuts aswell

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-26 11:47:09 +02:00
Ivailo Monev
7dc5187778 kdecore: replace most of KRandomSequence with new KRandom::randomMax() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-26 12:58:37 +03:00
Ivailo Monev
e88c621aa2 generic: authorization reimplementation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-25 19:27:41 +03:00
Ivailo Monev
01d40bf689 plasma: drop custom categories support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-21 02:42:25 +03:00
Ivailo Monev
08f290fa8b generic: cast pointers with QObject as base class via qobject_cast<T>()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-06-01 18:06:11 +00:00
Ivailo Monev
5ba90d9136 generic: remove unused QHostInfo header inclusions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-17 04:56:04 +03:00
Ivailo Monev
581afd3caa generic: drop KIO HTTP(S) support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-16 09:12:20 +02:00
Ivailo Monev
54e591dfe4 generic: do not convert lists to sets
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-11-11 04:58:56 +02:00
Ivailo Monev
df60147c5f plasma: format and indent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-29 17:16:43 +03:00
Ivailo Monev
f952575021 plasma: remove stub event reimplementations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-29 16:45:35 +03:00
Ivailo Monev
3b19a3c320 generic: remove redundant srand()/qsrand() calls
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-19 13:08:53 +02:00
Ivailo Monev
c2df76dbbc generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-11-01 18:43:08 +00:00
Ivailo Monev
1a7f235eba plasma: remove leference to javascript scripting engine
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-08-11 23:26:59 +00:00
Ivailo Monev
aa1e226640 genric: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-01-14 00:09:35 +02:00
Ivailo Monev
dcd602e9d6 plasma: revert animations support removal 2015-10-28 08:55:23 +02:00
Ivailo Monev
f54c727f92 plasm: drop animations support
this will (most importantly) break some applets from kde-workspace
and could use a review + some cleanups (like headers inclusions,
variables declarations, etc.) but it's pretty much complete
2015-10-05 09:23:56 +03:00
Ivailo Monev
21ad0df488 generic: make changes required for building against katie 2015-08-11 05:56:07 +03:00
Ivailo Monev
16daf6233d generic: remove code for Qt4 versions older than 4.8 2015-07-15 20:41:31 +00:00
Ivailo Monev
e20b50634d plasma: remove applets publishing support
remote widgets support has been droppped with ca50f743
2015-07-10 17:43:50 +03:00
Ivailo Monev
bbea8b2acc generic: drop most of the KIOSK functionality 2015-05-19 05:23:35 +00:00
Ivailo Monev
82fc15f54b generic: use CMake moc instead of automoc4 by default
for compatibilty reasons automoc4 support is not removed but it
shall be in the future. automoc4 has not been maintained for a
while (last commit is from 2011) and the stable release is from
2009.

CMake version >= 2.8.6 provides the functionality for mocking so
I see no reason to not make use of it.
2015-02-27 07:40:26 +00:00
Ivailo Monev
842ca66a63 generic: minor corrections 2015-02-26 09:46:35 +00:00
Ivailo Monev
187981587b partitially revert 92c0cae and remove some activities related cruft 2015-01-16 02:17:28 +00:00
Ivailo Monev
edf7f4dc98 kill remote widgets leftovers with fire 2014-12-03 23:06:01 +00:00
Ivailo Monev
ca50f74371 remove remote plasma widgets support 2014-12-03 22:02:54 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00