Commit graph

21 commits

Author SHA1 Message Date
Ivailo Monev
f2f4c376a8 plasma: set the animation pointers to null after deleting the animations
just in case

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-22 12:55:48 +03:00
Ivailo Monev
ab65afa79b plasma: Plasma::ScrollWidgetPrivate::createFlickAnimations() optimization
why is it creating QString to convert it multiple times to QByteArray?

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-22 12:44:49 +03:00
Ivailo Monev
53369ab8d7 plasma: drop the feature of Plasma::ScrollWidget to move on mouse move events
does not do bounds checking like the usual moving, also requires event
filter for DnD in widgets using it to ensure events are not stolen by it

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-22 12:35:18 +03:00
Ivailo Monev
2dcb8c968a plasma: pass the focus reason when setting focus
the focus reason serves some purpose

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-22 12:06:42 +03:00
Ivailo Monev
87b428e010 plasma: remove compat Plasma::ScrollWidget::nativeWidget() method
it used to proxy some widget once I guess

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-22 12:01:59 +03:00
Ivailo Monev
76fa8e28b8 plasma: remove checks for non-existing properties in Plasma::ScrollWidget
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-17 01:47:22 +03:00
Ivailo Monev
d21869a910 plasma: remove stylesheet getters and setters
slowly but surely stylesheets feature will dissapear

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-10 04:03:03 +03:00
Ivailo Monev
cabdebd649 plasma: remove unused Plasma::TextBrowserPrivate member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-22 19:07:05 +03:00
Ivailo Monev
581fe4066a plasma: do not adjust Plasma::ScrollWidget on timer
while the compression of the scrollbars adjustment has its gain the visual
glitches that resizing on timer causes are not worth it

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-14 15:04:06 +03:00
Ivailo Monev
8656f87085 plasma: remove unused Plasma::ScrollWidgetPrivate members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-09 23:37:42 +03:00
Ivailo Monev
07de7723af plasma: replace use of QTime as timer with QElapsedTimer in Plasma::ScrollWidget
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-15 02:10:11 +03:00
Ivailo Monev
442d5e6c88 plasma: prepare for Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-09-17 02:00:27 +03: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
cfff1dd53a generic: get rid of KTextBrowser
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-08-20 16:42:02 +00: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
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
4eda1cb4f8 variables cleanup and warnings fixup 2014-11-26 03:33:09 +00:00
Ivailo Monev
c7541054ff removed deprecated plasma defines cruft 2014-11-18 01:57:57 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00