summaryrefslogtreecommitdiffstats
path: root/src/gui/effects/qgraphicseffect.cpp
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-08-18 13:28:09 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-08-20 16:59:01 (GMT)
commit1ffed52434741aa31b1549a931f6b446b2aaabd0 (patch)
tree3b30ddb20e3d8b851f08c93028fcb1386ac28b9e /src/gui/effects/qgraphicseffect.cpp
parent181c9774791b6f581598389337f9af0fa4658e6a (diff)
downloadQt-1ffed52434741aa31b1549a931f6b446b2aaabd0.zip
Qt-1ffed52434741aa31b1549a931f6b446b2aaabd0.tar.gz
Qt-1ffed52434741aa31b1549a931f6b446b2aaabd0.tar.bz2
Add support for graphics effects on QWidget.
Diffstat (limited to 'src/gui/effects/qgraphicseffect.cpp')
-rw-r--r--src/gui/effects/qgraphicseffect.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/effects/qgraphicseffect.cpp b/src/gui/effects/qgraphicseffect.cpp
index c6f2871..3d363f1 100644
--- a/src/gui/effects/qgraphicseffect.cpp
+++ b/src/gui/effects/qgraphicseffect.cpp
@@ -97,6 +97,7 @@
#include <QtGui/qimage.h>
#include <QtGui/qpainter.h>
#include <QtCore/qrect.h>
+#include <QtCore/qdebug.h>
QT_BEGIN_NAMESPACE
@@ -122,6 +123,11 @@ const QGraphicsItem *QGraphicsEffectSource::graphicsItem() const
return d_func()->graphicsItem();
}
+const QWidget *QGraphicsEffectSource::widget() const
+{
+ return d_func()->widget();
+}
+
const QStyleOption *QGraphicsEffectSource::styleOption() const
{
return d_func()->styleOption();