Commit graph

24 commits

Author SHA1 Message Date
Ivailo Monev
4152c2b044 plasma: de-virtualize Plasma::Animation::setDuration() and make it public
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-17 21:10:35 +03:00
Ivailo Monev
935b228484 plasma: simplify animations classes
the proxy class Plasma::EasingAnimation is simply redundant, just one
more virtual function call which slows the animations

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-17 19:44:26 +03:00
Ivailo Monev
fb46cc35c9 plasma: remove redundant animations destructors
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-03 00:07:25 +03:00
Ivailo Monev
6e8feccb93 plasma: remove unused source and header files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-21 22:38:30 +03:00
Ivailo Monev
0fcbeab9fb plasma: drop JS animations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-21 21:44:37 +03:00
Ivailo Monev
0dd99c3650 plasma: remove unused animations
besides being unused grow does the same as zoom/geometry animation,
the declarative component also provides rotation animation

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-21 20:40:31 +03:00
Ivailo Monev
b0becab9c2 plasma: remove check for non-existing iconRepresentation property in widget snapshotter
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-20 21:09:08 +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
f0a1b5fb6b plasma: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-12 11:12:26 +02:00
Ivailo Monev
6fec902232 plasma: remove declaration of non-existing SlideAnimationPrivate class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-12 10:04:55 +02:00
Ivailo Monev
5933638f18 plasma: remove unused Plasma::AnimatorPrivate member and methods, also the custom easing type
the animations use either QEasingCurve or JS code (which will eventually
be converted to sub-class of QEasingCurve for performance reasons)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-12 10:00:51 +02:00
Ivailo Monev
3fca1f6504 plasma: pass the script data directly to QScriptEngine::evaluate()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-08 10:06:36 +02:00
Ivailo Monev
0aa020de88 plasma: remove duplicate animation registration
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-08 09:49:47 +02:00
Ivailo Monev
9e7a184394 plasma: remove bogus declaration of RotationAnimation::setEasingCurve()
not implemented actually

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-04 04:17:00 +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
e0cbdd94f3 plasma: remove unused and bogus water animation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-06-14 12:11:03 +03:00
Ivailo Monev
3fbc1d01f4 plasma: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-08 02:10:06 +00:00
Ivailo Monev
61333c4671 generic: namespaced Qt4/Katie build fixes
most of the changes were done trought Katie's namefsck script which
convertes forward class declarations to include directives, however
other fixes here and there were needed as well as some questionable
changes to Q_DECLARE_TYPEINFO() macro calls because they most likely
have to do the namespacing themselfs (QT_BEGIN/END_NAMESPACE, and
probably will be in Katie) meaning that some of the changes may be
temporary and reverted later.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2017-08-04 09:24:39 +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
ea7dbe6c73 plasma: remove redudant custom animation group 2015-07-21 23:12:15 +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
814163a8dc initial import 2014-11-13 01:04:59 +02:00