Plasma
Go to the documentation of this file.
21 #ifndef PLASMA_ANIMATOR_H
22 #define PLASMA_ANIMATOR_H
24 #include <QtGui/QImage>
25 #include <QtCore/QObject>
26 #include <QtCore/QAbstractAnimation>
27 #include <QtCore/QEasingCurve>
38 class AnimatorPrivate;
91 #ifndef KDE_NO_DEPRECATED
92 static KDE_DEPRECATED
Animator *
self();
123 #ifndef KDE_NO_DEPRECATED
124 KDE_DEPRECATED Q_INVOKABLE
int animateItem(QGraphicsItem *item,
Animation anim);
135 #ifndef KDE_NO_DEPRECATED
136 KDE_DEPRECATED Q_INVOKABLE
void stopItemAnimation(
int id);
147 #ifndef KDE_NO_DEPRECATED
148 KDE_DEPRECATED Q_INVOKABLE
int moveItem(QGraphicsItem *item, Movement movement,
const QPoint &destination);
159 #ifndef KDE_NO_DEPRECATED
160 KDE_DEPRECATED Q_INVOKABLE
void stopItemMovement(
int id);
181 #ifndef KDE_NO_DEPRECATED
182 KDE_DEPRECATED Q_INVOKABLE
int customAnimation(
int frames,
int duration,
194 #ifndef KDE_NO_DEPRECATED
195 KDE_DEPRECATED Q_INVOKABLE
void stopCustomAnimation(
int id);
198 #ifndef KDE_NO_DEPRECATED
199 KDE_DEPRECATED Q_INVOKABLE
int animateElement(QGraphicsItem *obj,
Animation);
201 #ifndef KDE_NO_DEPRECATED
202 KDE_DEPRECATED Q_INVOKABLE
void stopElementAnimation(
int id);
204 #ifndef KDE_NO_DEPRECATED
205 KDE_DEPRECATED Q_INVOKABLE
void setInitialPixmap(
int id,
const QPixmap &pixmap);
207 #ifndef KDE_NO_DEPRECATED
208 KDE_DEPRECATED Q_INVOKABLE QPixmap currentPixmap(
int id);
218 #ifndef KDE_NO_DEPRECATED
219 KDE_DEPRECATED Q_INVOKABLE
bool isAnimating()
const;
230 #ifndef KDE_NO_DEPRECATED
241 #ifndef KDE_NO_DEPRECATED
242 KDE_DEPRECATED
void unregisterScrollingManager(
QGraphicsWidget *widget);
250 #ifndef KDE_NO_DEPRECATED
252 QAbstractAnimation::State oldState);
255 #ifndef KDE_NO_DEPRECATED
257 void timerEvent(QTimerEvent *event);
261 #ifndef KDE_NO_DEPRECATED
262 friend class AnimatorSingleton;
266 Q_PRIVATE_SLOT(d,
void animatedItemDestroyed(
QObject*))
267 Q_PRIVATE_SLOT(d,
void movingItemDestroyed(
QObject*))
268 Q_PRIVATE_SLOT(d,
void animatedElementDestroyed(
QObject*))
269 Q_PRIVATE_SLOT(d,
void customAnimReceiverDestroyed(
QObject*))
270 Q_PRIVATE_SLOT(d,
void scrollStateChanged(QAbstractAnimation::State,
271 QAbstractAnimation::State))
276 friend class AnimatorPrivate;
277 AnimatorPrivate *
const d;
Abstract representation of a single animation.
void customAnimationFinished(int id)
A system for applying effects to Plasma elements.
Namespace for everything in libplasma.
@ RotationStackedAnimation
void elementAnimationFinished(int id)
void movementFinished(QGraphicsItem *item)
static QScriptValue type(QScriptContext *ctx, QScriptEngine *eng)
void scrollStateChanged(QGraphicsWidget *widget, QAbstractAnimation::State newState, QAbstractAnimation::State oldState)
void animationFinished(QGraphicsItem *item, Plasma::Animator::Animation anim)
@ PixmapTransitionAnimation
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by
doxygen 1.8.20 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.