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>
38class 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) \
81K_PLUGIN_FACTORY(factory, registerPlugin<classname>();) \
82K_EXPORT_PLUGIN(factory("plasma_animator_" #libname)) \
83K_EXPORT_PLUGIN_VERSION(PLASMA_VERSION)
Namespace for everything in libplasma.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by
doxygen 1.9.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.