#include <QtGui/QGraphicsOpacityEffect>
#include <QtGui/QGraphicsItem>
#include "opacityeffect.h"
+#include "graphicselement.h"
namespace
{
}
}
-void OpacityEffect::apply(QGraphicsItem* item)
+void OpacityEffect::apply(GraphicsElement* item)
{
- item->setGraphicsEffect(effect_);
+ item->getElement()->setGraphicsEffect(effect_);
}