Plasma
Go to the documentation of this file.
21 #ifndef PLASMA_ANIMATIONDRIVER_H
22 #define PLASMA_ANIMATIONDRIVER_H
24 #include <QtCore/QObject>
25 #include <QtGui/QRegion>
26 #include <QtGui/QPixmap>
28 #include <kgenericfactory.h>
38 class AnimationDriverPrivate;
60 virtual QPixmap elementAppear(qreal progress,
const QPixmap &pixmap);
61 virtual QPixmap elementDisappear(qreal progress,
const QPixmap &pixmap);
64 virtual void itemAppear(qreal progress, QGraphicsItem *item);
65 virtual void itemDisappear(qreal progress, QGraphicsItem *item);
66 virtual void itemActivated(qreal progress, QGraphicsItem *item);
69 virtual void itemSlideIn(qreal progress, QGraphicsItem *item,
70 const QPoint &start,
const QPoint &destination);
71 virtual void itemSlideOut(qreal progress, QGraphicsItem *item,
72 const QPoint &start,
const QPoint &destination);
75 AnimationDriverPrivate *
const d;
80 #define K_EXPORT_PLASMA_ANIMATOR(libname, classname) \
81 K_PLUGIN_FACTORY(factory, registerPlugin<classname>();) \
82 K_EXPORT_PLUGIN(factory("plasma_animator_" #libname)) \
83 K_EXPORT_PLUGIN_VERSION(PLASMA_VERSION)
85 #endif // multiple inclusion guard
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:32 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.