X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Feffect.h;h=f06b424f611d15af1566f110d824420e4b4d4df0;hb=a1c4b0cdd446bc9ed331f17fa7d6e69cfa02d45d;hp=929680fbb12c89ac12bb1b70e6ed6968cd4447e0;hpb=aaf84071b059f825501eb99dc820c0ab71b4e8b2;p=jspeed diff --git a/src/effect.h b/src/effect.h index 929680f..f06b424 100644 --- a/src/effect.h +++ b/src/effect.h @@ -20,7 +20,7 @@ #define EFFECT_H class QString; -class QGraphicsItem; +class GraphicsElement; class Effect { @@ -34,7 +34,7 @@ public: Effect(); static Effect* getEffect(QString const& name); virtual bool setAttribute(QString const& name, QString const& value) = 0; - virtual void apply(QGraphicsItem* item) = 0; + virtual void apply(GraphicsElement* item) = 0; protected: int getAttribute(QString const& name, QString const& value, const AttributeDetails details[], int count, qreal& realValue);